<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>验收单管理-修改验收单</title>
    <link rel="stylesheet" type="text/css" href="/css/external/fileUploadBase.css">
    <style>
        .btn-info:active,
        .btn-info:focus {
            background-color: #fff;
        }

        li.notcompanyli:hover {
            color: #333 !important;
        }

        .base-extend .newTabAddUpdateBox td.enter .viewDetailWord {
            width: 0.75rem;
            text-align: center;
            top: 0.1rem;
            color: #333 !important;
            cursor: default;
            font-style: normal;
        }

        .base-extend .newTabAddUpdateBox td.enter .prevDetailWord {
            width: 0.85rem;
            text-align: center;
            top: 0.1rem;
            color: #333 !important;
            cursor: default;
            font-style: normal;
        }

        .error option, select.error {
            color: #333 !important;
        }

        input::-webkit-outer-spin-button,
        input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            appearance: none;
            margin: 0;
        }
        .chooseGoodsTable td {
            border-left: 1px solid #E8F0F3;
            border-top: 1px solid #E8F0F3;
            padding: 0.1rem;
            text-align: left;
            background-color: #F0F9FC;
            font-size: 0.12rem;
            color: #333;
            min-height: 0.34rem;
            word-break: break-all;
            position: relative;
        }
        .emptyData {
            float: right;
            cursor: pointer;
            color: #169bd5;
            line-height: 30px;
            margin-left: 5px;
        }
    </style>
</head>
<body>
<div class="base-extend">
    <div class="modal fade businessDialog" id="myModal-chooseGoods" data-backdrop="static">
        <div class="modal-dialog" style="width:10.5rem;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">
                    <span aria-hidden="true" style="font-size:0.18rem">×</span><span class="sr-only">关闭</span>
                </button>
                <span class="modal-title">选择货物</span>
            </div>
            <div class="modal-content" style="max-height:4.7rem;overflow-y:auto;overflow-x:hidden;">
                <div class="listBackBox" style="padding-top:0;">
                    <div class="projectTableBox" id="formForProjectListBox" style="margin:0;">
                        <div class="customerMarketingList formForProjectList col-xs-12 businessTable"
                             style="left:0;padding:0.1rem 0.2rem 0 0.2rem;" tipword="">
                            <p class="detailContentBox-title">可选货物<span style="color: red;font-size: 12px">【说明：货物来源为采购合同，如无可选，请变更采购合同后再做验收】</span></p>
                            <table id="chooseGoodsList" class="tablebox" style="width: 100%;"></table>
                            <div id="chooseGoodsListPage" class="tablepagebox"></div>

                            <p class="detailContentBox-title" style="margin-top: 20px;display: none">已选货物</p>
                            <table class="chooseGoodsTable" style="width: 100%!important;display: none">
                                <tr>
                                    <td width="5%">
                                        <span style="color: #656565;font-weight: 700">编号</span>
                                    </td>
                                    <td width="14%">
                                        <span style="color: #656565;font-weight: 700">名称</span>
                                    </td>
                                    <td width="14%">
                                        <span style="color: #656565;font-weight: 700">厂家</span>
                                    </td>
                                    <td width="14%">
                                        <span style="color: #656565;font-weight: 700">型号</span>
                                    </td>
                                    <td width="13%">
                                        <span style="color: #656565;font-weight: 700">单位</span>
                                    </td>
                                    <td width="13%">
                                        <span style="color: #656565;font-weight: 700">数量</span>
                                    </td>
                                    <td width="13%">
                                        <span style="color: #656565;font-weight: 700">销售单价</span>
                                    </td>
                                    <td width="10%">
                                        <span style="color: #656565;font-weight: 700">操作</span>
                                    </td>
                                </tr>
                                <tbody class="choosedGoodsList">

                                </tbody>
                            </table>

                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button class="btn btn-default btn-white btn-info colorbtn chooseSure" style='margin-bottom:0;'>确定
                </button>
                <button class="btn btn-default btn-white btn-info" data-dismiss="modal" style='margin-bottom:0;'>取消
                </button>
            </div>
        </div>
    </div>

    <ol class="breadcrumb">
        <i class="icon-chevron-sign-left newBackBtn"></i>
        <li>验收单管理</li>
        <li>修改验收单</li>
    </ol>
    <div class="detailContentBox">
        <p class="detailContentBox-title">修改验收单</p>
        <form class="form-horizontal" id="entryForm" autocomplete="off">
            <input type="hidden" name="basicId" th:value="${acceptanceBasicInfo?.id}">
            <input type="hidden" name="taskId" th:value="${taskId}">
            <div class="newTabAddUpdateBox">
                <div class="row">
                    <table>
                        <tr>
                            <td colspan="4">
                                <span class="detailContentBox-tabletitle">下游验收信息</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">供应商名称</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="supplierNameName"  th:value="${acceptanceBasicInfo?.supplier?.enterpriseName}" readonly class="form-control">
                                <input type="hidden" name="supplierName"  th:value="${acceptanceBasicInfo?.supplierId}" readonly class="form-control">
                                <!-- <select name="supplierName" type="hidden" class="form-control" >
                                    <option th:each="supplier,supplierStat:${suppliers}" th:value="${supplier?.id}"
                                            th:text="${supplier?.enterpriseName}"
                                            th:selected="${billBasicInformation?.supplierId==supplier?.id}"></option>
                                </select> -->
                            </td>
<!--                            <td width="35%" class="enter">-->
<!--                                <select name="supplierName" class="form-control" readonly>-->
<!--                                    <option th:each="supplier,supplierStat:${suppliers}" th:value="${supplier?.id}"-->
<!--                                            th:text="${supplier?.enterpriseName}"-->
<!--                                            th:selected="${acceptanceBasicInfo?.supplierId==supplier?.id}"></option>-->
<!--                                </select>-->
<!--                            </td>-->
                            <td width="15%">
                                <span class="required_fileds_star">核心企业名称</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" th:value="${acceptanceBasicInfo?.customer?.enterpriseName}" readonly class="form-control">
                                <input type="hidden" name="enterpriseName" readonly th:value="${acceptanceBasicInfo.enterpriseCustomerInfoId}">
                                <input type="hidden" name="enterpriseNameHidden" readonly th:value="${acceptanceBasicInfo.enterpriseCustomerInfoId}">
                                <!-- <select name="enterpriseName" class="form-control" style="display: none;">
                                </select> -->
                            </td>
<!--                            <td width="35%" class="enter">-->
<!--                                <input type="hidden" name="enterpriseNameHidden" readonly th:value="${acceptanceBasicInfo.enterpriseCustomerInfoId}">-->
<!--                                <select name="enterpriseName" class="form-control">-->
<!--                                </select>-->
<!--                            </td>-->

                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">业务名称</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" th:value="${acceptanceBasicInfo?.businessName}" readonly class="form-control">
                                <input type="hidden" name="businessName" readonly th:value="${acceptanceBasicInfo.businessName}">
                                <!-- <input type="hidden" name="enterpriseNameHidden" readonly th:value="${acceptanceBasicInfo.enterpriseCustomerInfoId}"> -->
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">业务编号</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" th:value="${acceptanceBasicInfo?.businessNumber}" readonly class="form-control">
                                <input type="hidden" name="businessNo" readonly th:value="${acceptanceBasicInfo?.businessNumber}">
                                <input type="hidden" name="businessNoHidden" readonly th:value="${acceptanceBasicInfo?.businessNumber}">
                                <!-- <select name="businessNo" class="form-control" style="display: none;">

                                </select> -->
                            </td>
<!--                            <td width="35%" class="enter">-->
<!--                                <input type="hidden" name="businessNoHidden" readonly th:value="${acceptanceBasicInfo?.businessNumber}">-->
<!--                                <select name="businessNo" class="form-control">-->

<!--                                </select>-->
<!--                            </td>-->

                        </tr>
                        <tr>
                             <td width="15%">
                                <span class="required_fileds_star">贸易平台</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="hidden" readonly name="tradingPlatformId"  th:value="${acceptanceBasicInfo?.platform.id}" >
                                <input type="text" readonly name="platformName" th:value="${acceptanceBasicInfo?.platform.platformName}" class="form-control">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">预估结算日期</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="expectedSettlementDate" th:value="${#calendars.format(acceptanceBasicInfo?.expectedSettlementDate,'yyyy-MM-dd') }" class="form-control">
                            </td>
                        </tr>
                        <!-- <tr>
                            <td width="15%">
                                <span class="required_fileds_star">验收经办人(供应商)</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text"  th:value="${acceptanceBasicInfo?.checkOperatorSupplier}" name="checkOperatorSupplier" class="form-control">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">验收经办人(核心企业)</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="checkOperatorEnterprise"   th:value="${acceptanceBasicInfo?.checkOperatorEnterprise}"  class="form-control">
                            </td>
                        </tr> -->
                        <!-- th:checked="${signConfirm?.electronicSign} == true" -->
                        <!-- <tr>
                            <td width="15%">
                                <span class="required_fileds_star">收货单位名称</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="receivingUnit" class="form-control"
                                       th:value="${acceptanceBasicInfo?.receivingUnit}">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">经办人姓名</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="managerName" class="form-control"
                                       th:value="${acceptanceBasicInfo?.managerName}">
                            </td>
                        </tr> -->
                        <!-- <tr>
                            <td width="15%">
                                <span class="required_fileds_star">验收日期</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="acceptanceDate" readonly class="form-control"
                                       th:value="${#calendars.format(acceptanceBasicInfo?.acceptanceDate,'yyyy-MM-dd')}">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">预估结算日期</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="expectedSettlementDate" readonly class="form-control"
                                       th:value="${#calendars.format(acceptanceBasicInfo?.expectedSettlementDate,'yyyy-MM-dd')}">
                            </td>
                        </tr> -->
                    </table>
                </div>

                <div class="row">
                    <table>
                        <tr>
                            <td colspan="2">
                                <span class="detailContentBox-tabletitle">签署确认</span>
                            </td>
                        </tr>
                        <tr class="">
                            <td width="15%">
                                <span class="required_fileds_star">签署确认</span>：
                            </td>
                            <td class="enter hasradio">
                                <label>
                                    <input type="radio" class="radios" value="1" name="sign" th:checked="${acceptanceBasicInfo?.signConfirm == 1}">
                                    <span>是</span>
                                </label>
                                <label>
                                    <input type="radio" class="radios" value="0" name="sign" th:checked="${acceptanceBasicInfo?.signConfirm == 0}">
                                    <span>否</span>
                                </label>
                            </td>
                        </tr>
                        <tr class="hide specification">
                            <td width="15%">
                                <span class="approvalCommentTitle">特别说明</span>：
                            </td>
                            <td width="85%" class="enter">
                                <textarea type="text" class="form-control" maxlength="500" name="approvalComment"></textarea>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="row">
                    <table class="personalTable">
                        <tr>
                            <td colspan="4">
                                <span class="detailContentBox-tabletitle">人员信息</span>
                                <span id="personalAdd" class="colorbtn btn" style="float: right;margin-right: 5px;display: none;">添加</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="20%">
                                <span class="required_fileds_star">验收人（核心企业）变更</span>：
                            </td>
                            <td class="enter hasradio" colspan="4">
                                <label>
                                    <input type="radio" class="radios" value="1" name="operator" th:checked="${acceptanceBasicInfo?.changePerson == 1}">
                                    <span>是</span>
                                </label>
                                <label>
                                    <input type="radio" class="radios" value="0" name="operator" th:checked="${acceptanceBasicInfo?.changePerson == 0}">
                                    <span>否</span>
                                </label>
                            </td>
                        </tr>
                        <tr>
                            <td width="25%">
                                <span>类型</span>
                            </td>
                            <td width="25%">
                                <span>姓名</span>
                            </td>
                            <!-- <td width="20%">
                                <span>证件类型</span>
                            </td>
                            <td width="20%">
                                <span>证件号码</span>
                            </td> -->
                            <td width="25%">
                                <span>联系方式</span>
                            </td>
                            <td width="25%">
                                <span>操作</span>
                            </td>
                        </tr>
                        <tr class="personalListTbody" style="display: none ;">
                            <td style="background-color:#fff;">
                                <!-- <input type="text" name="type" class="form-control type"  style="background-color:#fff;" readonly> -->
                                <select class="form-control type validInput" name="type" placeholder="请选择类型">
                                    <option value="">请选择</option>
                                    <option value="验收经办人（供应商）">验收经办人（供应商）</option>
                                    <option value="验收经办人（核心企业）">验收经办人（核心企业）</option>
                                </select>
                                <span class="error" style="display:none;font-size:0.12rem;">请选择类型</span>
                            </td>
                            <td style="background-color:#fff;" class="enter">
                                <input type="text" name="name" maxlength="500" class="form-control name">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入姓名</span>
                            </td>
                            <!-- <td width="20%" style="background-color:#fff;">
                                <input type="text" name="cardType" class="form-control cardType" style="background-color:#fff;" readonly>
                                <span class="error" style="display:none;font-size:0.12rem;">请选择证件类型</span>
                            </td>
                            <td width="25%" style="background-color:#fff;" class="enter">
                                <input type="text" name="socialCreditCode" maxlength="500" class="form-control socialCreditCode">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入证件号码</span>
                            </td> -->
                            <td style="background-color:#fff;" class="enter">
                                <input type="text" name="mobile" maxlength="500" class="form-control mobile">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入联系方式</span>
                            </td>
                            <td width="25%" style="background-color:#fff;" class="eTrandHide">
                                <span class="negativeInformationReduce" style="margin-right: 1.5rem;">删除</span>
                                <input type="radio" name="radio" value="0" class="radios hide">
                            </td>
                        </tr>
                        <tbody class="personalListTable">
                            <tr class="personalListTbody personalListTbodyBack" th:signer="${acceptanceBasicInfo?.signer}" th:each="personal,personals:${acceptanceBasicInfo?.acceptancePersonInfos}">
                                <td style="background-color:#fff;" class="enter">
                                    <!-- <input type="text" readonly name="type" maxlength="50"  class="form-control type" th:value="${personal?.type}"> -->
                                    <select class="form-control type" name="type" placeholder="请选择类型">
                                        <option value="">请选择</option>
                                        <option value="验收经办人（供应商）" th:selected="${personal?.type == '验收经办人（供应商）'}">验收经办人（供应商）</option>
                                        <option value="验收经办人（核心企业）" th:selected="${personal?.type == '验收经办人（核心企业）'}">验收经办人（核心企业）</option>
                                    </select>
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入类型</span>
                                </td>
                                <td style="background-color:#fff;" class="enter">
                                    <input type="text" name="name" maxlength="50"  class="form-control name"  th:value="${personal?.name}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入姓名</span>
                                </td>
                                <!-- <td width="13%" style="background-color:#fff;" class="enter">
                                    <input type="text" readonly name="cardType" maxlength="50"  class="form-control cardType" th:value="${personal?.cardType}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入证件类型</span>
                                </td>
                                <td width="10%" style="background-color:#fff;" class="enter">
                                    <input type="text" name="socialCreditCode" maxlength="50"  class="form-control socialCreditCode"  th:value="${personal?.socialCreditCode}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入证件号码</span>
                                </td> -->
                                <td style="background-color:#fff;" class="enter">
                                    <input type="text" name="mobile" maxlength="50"  class="form-control mobile" th:value="${personal?.mobile}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入联系方式</span>
                                </td>
                                <td width="25%" style="background-color:#fff;" class="eTrandHide">
                                    <span class="negativeInformationReduce" style="margin-right: 1.5rem;">删除</span>
                                    <input type="radio" name="radio" value="0" class="radios hide" th:id="${personal?.id}">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="row">
                    <table>
                        <tr>
                            <td colspan="2">
                                <span class="detailContentBox-tabletitle">合作平台</span>
                            </td>
                        </tr>
                        <tr class="">
                            <td width="15%">
                                <span class="required_fileds_star">是否为钢小二</span>：
                            </td>
                            <td class="enter hasradio">
                                <label>
                                    <input type="radio" class="radios" value="1" name="steelWaiter" th:checked="${acceptanceBasicInfo?.steelWaiter == 1}" >
                                    <span>是</span>
                                </label>
                                <label>
                                    <input type="radio" class="radios" value="0" name="steelWaiter" th:checked="${acceptanceBasicInfo?.steelWaiter == 0}">
                                    <span>否</span>
                                </label>
                            </td>
                        </tr>
                        <tr class="steelWaiterChange hide">
                            <td width="15%">
                                <span class="required_fileds_star">销售单号</span>：
                            </td>
                            <td class="enter">
                                <div class="sellBillNumberList" style="display:none"
                                    th:each="item,items:${acceptanceBasicInfo?.sellBillNumber}">
                                    <input type="text" class="originalId" th:value="${item}">
                                </div>
                                <div class="selectDemo" style="width: 100%;"></div>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="row hide cargoInformation">
                    <table class="goodsTable">
                        <tr>
                            <td colspan="10">
                                <span class="detailContentBox-tabletitle">业务相关货物信息</span>
                                <div class="emptyData">清空</div>
                                <div  style="float: right;">
                                    <input type="file" name="file" class="fileGoodsInput" style="display:none">
                                    <div id="downstreamGoodsTem" class="colorbtn btn" style="margin-left: 5px">
                                        模板导入
                                    </div>
                                </div>
                                <div  style="float: right;">
                                    <div id="downloadFileTemp" class="colorbtn btn">
                                        下载模板
                                    </div>
                                </div>
                                <div  style="float: right;margin-right: 5px ">
                                    <div id="downloadFoods" class="colorbtn btn" >
                                        下载货物
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td width="5%">
                                <span>序号</span>
                            </td>
                            <td width="10%">
                                <span>名称</span>
                            </td>
                            <td width="10%">
                                <span>材质</span>
                            </td>
                            <td width="13%">
                                <span>型号</span>
                            </td>
                            <td width="10%">
                                <span>厂家</span>
                            </td>
                            <td width="10%">
                                <span>单位</span>
                            </td>
                            <td width="7%">
                                <span>数量</span>
                            </td>
                            <td width="10%">
                                <span>销售单价</span>
                            </td>
                            <td width="15%">
                                <span>验收日期</span>
                            </td>
                            <td width="10%">
                                <span>操作</span>
                            </td>
                        </tr>
                        <tr class="goodsListTbody" style="display: none;">
                            <td width="5%" style="background-color:#fff;">
                                <span>1</span>
                            </td>
                            <td width="10%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly name="goodsName" maxlength="50"  class="form-control goodsName">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入名称</span>
                            </td>
                            <td width="10%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly name="goodsMaterial" maxlength="50"  class="form-control goodsMaterial">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入材质</span>
                            </td>
                            <td width="13%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly name="goodsType" maxlength="50"  class="form-control goodsType">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入型号</span>
                            </td>
                            <td width="10%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly name="goodsFactory" maxlength="50"  class="form-control goodsFactory">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入厂家</span>
                            </td>

                            <td width="10%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly name="goodsUnit" maxlength="50"  class="form-control goodsUnit">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入单位</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly name="goodsQuantity"  class="form-control goodsQuantity">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入数量</span>
                            </td>
                            <td width="10%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly name="salesPrice"  class="form-control salesPrice">
                                <!-- <span class="error" style="display:none;font-size:0.12rem;">请输入销售单价</span> -->
                            </td>
                            <td width="15%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly name="acceptanceDate"  class="form-control acceptanceDate">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入验收日期</span>
                            </td>
                            <td width="10%" style="background-color:#fff;">
                                <span class="negativeInformationReduce">-删除</span>
                            </td>
                        </tr>
                        <tbody class="goodsListTable">
                            <tr class="goodsListTbody goodsListTbodyBack"
                                th:each="goods,goodsStat:${acceptanceBasicInfo?.acceptanceGoodInfos}">
                                <td width="5%" style="background-color:#fff;">
                                    <span th:text="${goodsStat.count}"></span>
                                </td>
                                <td width="10%" style="background-color:#fff;" class="enter">
                                    <input type="text" readonly name="goodsName" maxlength="50"  class="form-control goodsName"
                                        th:value="${goods?.goodsName}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入名称</span>
                                </td>
                                <td width="10%" style="background-color:#fff;" class="enter">
                                    <input type="text" readonly name="goodsMaterial" maxlength="50"  class="form-control goodsMaterial"  th:value="${goods?.goodsMaterial}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入材质</span>
                                </td>
                                <td width="13%" style="background-color:#fff;" class="enter">
                                    <input type="text" readonly name="goodsType" maxlength="50"  class="form-control goodsType" th:value="${goods?.goodsType}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入型号</span>
                                </td>
                                <td width="10%" style="background-color:#fff;" class="enter">
                                    <input type="text" readonly name="goodsFactory" maxlength="50"  class="form-control goodsFactory"
                                        th:value="${goods?.goodsFactory}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入厂家</span>
                                </td>
                                <td width="10%" style="background-color:#fff;" class="enter">
                                    <input type="text" readonly name="goodsUnit" maxlength="50"  class="form-control goodsUnit"
                                        th:value="${goods?.goodsUnit}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入单位</span>
                                </td>
                                <td width="7%" style="background-color:#fff;" class="enter">
                                    <input type="number" readonly name="goodsNum" class="form-control goodsNum"
                                        th:value="${goods?.goodsQuantity}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入数量</span>
                                </td>
                                <td width="10%" style="background-color:#fff;" class="enter">
                                    <input type="number" readonly name="salesPrice" class="form-control salesPrice"
                                        th:value="${#numbers.formatDecimal(goods?.salesPrice,1,2)}">
                                    <!-- <span class="error" style="display:none;font-size:0.12rem;">请输入销售单价</span> -->
                                </td>
                                <td width="15%" style="background-color:#fff;" class="enter">
                                    <input type="text" readonly name="acceptanceDate" th:value=" ${#calendars.format(goods?.acceptanceDate,'yyyy-MM-dd')}"  class="form-control acceptanceDate">
                                    <span class="error" style="display:none;font-size:0.12rem;" >请输入验收日期</span>
                                </td>
                                <td width="10%" style="background-color:#fff;">
                                    <span class="negativeInformationReduce">-删除</span>
                                </td>
                            </tr>
                        </tbody>
                        <tr>
                            <td style="background-color:#fff;" colspan="10">
                                数量合计:
                                <span class="totalNum"></span>
                                销售总价合计：
                                <span class="totalPrice"></span>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="row fileStorage">
                    <!-- 附件信息回显 -->
                    <div class="fileInfoListOriginal" style="display:none"
                         th:each="file,files:${acceptanceBasicInfo?.fileStorage}">
                        <input type="text" class="originalId" th:value="${file?.id}">
                        <input type="text" class="originalUrl" th:value="${file?.path}">
                        <input type="text" class="originalType" th:value="${file?.fileType}">
                        <input type="text" class="originalName" th:value="${file?.originalName}">
                        <input type="text" class="originalSize" th:value="${file?.size}">
                    </div>
                    <table class="fileInfoListBox">
                        <tr>
                            <td colspan="3">
                                <span class="detailContentBox-tabletitle">下游验收单文件(文件格式限定：图片（jpg，png，jpeg，bmp）、PDF、EXCEL)</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">验收单附件</span>：
                            </td>
                            <td class="enter addFileList">
                                <input type="file" name="file" class="fileinput" multiple style="display:none" accept="image/bmp,image/png,image/jpeg,image/jpg,application/pdf,xls, .xlsx, .excel">
                                <div class="uploaderFile">
                                    <div class="fileContent">
                                        <span class="spanHolder">上传附件</span>
                                    </div>
                                </div>
                                <span class="error" style="display:none;">请上传合同原文件</span>
                            </td>
                            <td width="13%" class="choiceFile" style="text-align:center;">
                                +上传附件
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="row supplementFiles">
                    <div class="fileInfoListOriginal" style="display:none"
                         th:each="file,files:${acceptanceBasicInfo?.supplementFiles}">
                        <input type="text" class="originalId" th:value="${file?.id}">
                        <input type="text" class="originalUrl" th:value="${file?.path}">
                        <input type="text" class="originalType" th:value="${file?.fileType}">
                        <input type="text" class="originalName" th:value="${file?.originalName}">
                        <input type="text" class="originalSize" th:value="${file?.size}">
                    </div>
                    <table class="fileInfoListBox">
                        <tr>
                            <td colspan="4">
                                <span class="detailContentBox-tabletitle">补充说明</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="explanation">补充说明</span>：
                            </td>
                            <td colspan="3" class="enter">
                                <input type="text" name="additionalRemarks" class="form-control" maxlength="500"
                                       th:value="${acceptanceBasicInfo?.additionalRemarks}">
                                <span class="error" style="display:none;">请输入补充说明</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="explanationFile">补充说明附件</span>：
                            </td>
                            <td colspan="2" class="enter addFileList">
                                <input type="file" name="additional" class="fileinput" multiple style="display:none">
                                <div class="uploaderFile">
                                    <div class="fileContent">
                                        <span class="spanHolder">上传附件</span>
                                    </div>
                                </div>
                                <span class="error" style="display:none;">请上传补充说明附件</span>
                            </td>
                            <td width="13%" class="choiceFile" style="text-align:center;">
                                +上传附件
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="row yk_addNewMsg downLoad hide">
                    <button class="btn btn-white btn-info colorbtn downLoadFile">
                        预览上游验收单
                    </button>
                </div>
            </div>
            <div class="yk_addBtns yk_addNewMsg newTabAddUpdateBtnBox">
                <button class="btn btn-white btn-info colorbtn submitTemSave">暂存</button>
                <button class="btn btn-white btn-info colorbtn submitBusiness">提交</button>
                <button class="btn btn-white btn-info btn-cancel">关闭</button>
            </div>
        </form>
    </div>
</div>
</body>
<script src="/js/acceptanceManage/update.js"></script>
<script src="/js/acceptanceManage/xm-select.js"></script>
</html>
