<!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;
        }
        .chooseGoodsTable2 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;
        }
        .emptyGoods {
            float: right;
            cursor: pointer;
            color: #169bd5;
            line-height: 30px;
            margin-left: 5px;
        }
        .calcMoney {
            margin-right: 10px;
        }
    </style>
</head>
<body>
<div class="base-extend">
    <div class="modal fade businessDialog" id="myModal-chooseGoods" data-backdrop="static">
        <div class="modal-dialog" style="width:12.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">可选货物</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="9%">
                                        <span style="color: #656565;font-weight: 700">验收日期</span>
                                    </td>
                                    <td width="11%">
                                        <span style="color: #656565;font-weight: 700">供应商</span>
                                    </td>
                                    <td width="9%">
                                        <span style="color: #656565;font-weight: 700">名称</span>
                                    </td>
                                    <td width="11%">
                                        <span style="color: #656565;font-weight: 700">厂家</span>
                                    </td>
                                    <td width="11%">
                                        <span style="color: #656565;font-weight: 700">型号</span>
                                    </td>
                                    <td width="10%">
                                        <span style="color: #656565;font-weight: 700">单位</span>
                                    </td>
                                    <td width="10%">
                                        <span style="color: #656565;font-weight: 700">数量</span>
                                    </td>
                                    <td width="10%">
                                        <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>

    <!-- <div class="modal fade businessDialog" id="myModal-chooseGoods2" data-backdrop="static">
        <div class="modal-dialog" style="width:12.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="formForProjectListBox2" 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">可选货物</p>
                            <table id="chooseGoodsList2" class="tablebox" style="width: 100%;"></table>
                            <div id="chooseGoodsListPage2" class="tablepagebox"></div>

                            <p class="detailContentBox-title" style="margin-top: 20px;display: none">已选货物</p>
                            <table class="chooseGoodsTable2" style="width: 100%!important;display: none">
                                <tr>
                                    <td width="5%">
                                        <span style="color: #656565;font-weight: 700">编号</span>
                                    </td>
                                    <td width="9%">
                                        <span style="color: #656565;font-weight: 700">验收日期</span>
                                    </td>
                                    <td width="11%">
                                        <span style="color: #656565;font-weight: 700">供应商</span>
                                    </td>
                                    <td width="9%">
                                        <span style="color: #656565;font-weight: 700">名称</span>
                                    </td>
                                    <td width="11%">
                                        <span style="color: #656565;font-weight: 700">厂家</span>
                                    </td>
                                    <td width="11%">
                                        <span style="color: #656565;font-weight: 700">型号</span>
                                    </td>
                                    <td width="10%">
                                        <span style="color: #656565;font-weight: 700">单位</span>
                                    </td>
                                    <td width="10%">
                                        <span style="color: #656565;font-weight: 700">数量</span>
                                    </td>
                                    <td width="10%">
                                        <span style="color: #656565;font-weight: 700">销售单价</span>
                                    </td>
                                    <td width="10%">
                                        <span style="color: #656565;font-weight: 700">操作</span>
                                    </td>
                                </tr>
                                <tbody class="choosedGoodsList2">

                                </tbody>
                            </table>

                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button class="btn btn-default btn-white btn-info colorbtn chooseSure2" 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="${businessBasicInfoId}">
            <input type="hidden" name="businessNumber" th:value="${billBasicInformation?.businessNumber}">
            <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">
                                <select name="supplierName" class="form-control">
                                    <option th:each="supplier,supplierStat:${suppliers}" th:value="${supplier?.id}" th:text="${supplier?.enterpriseName}"></option>
                                </select>
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">核心企业名称</span>：
                            </td>
                            <td width="35%" class="enter">
                                <select name="enterpriseName" class="form-control">
                                    <option th:each="supplier,supplierStat:${acceptanceBasicInfo?.suppliers}" th:value="${supplier?.id}" th:text="${supplier?.enterpriseName}"></option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">业务名称</span>：
                            </td>
                            <!-- <td width="35%" class="enter">
                                <select name="businessName" class="form-control">
                                    <option ></option>
                                </select>
                            </td> -->
                            <td width="35%" class="enter">
                                <ul class="allBusinessName" style="display:none;"></ul>
                                <input type="text" readOnly name="businessName" id="businessName" class="form-control">
                                <div class="entCustomerListBox busListBox" style="position:absolute !important;z-index:999;background-color: #fff;border: 1px solid #ccc;box-shadow: 0px 0px 2px 2px rgba(62, 192, 230,0.3);display:none;">
                                    <input type="text" class="form-control" style="margin:0.05rem auto;width:97%;border-color: #5AC4FC;box-shadow: inset 0 1px 1px rgba(90,196,252,.075), 0 0 8px rgba(90,196,252,.6);" placeholder="可输入关键词查询">
                                    <button class="btn btn-info btn-white colorbtn searchBus" style="position:absolute;right:0;top:0.05rem;height:0.34rem;width:0.3rem;text-align:center;padding-left:0;padding-right:0;">查</button>
                                    <ul style="overflow:auto;"></ul>
                                </div>
                                <input type="hidden" id="businessNameId">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">业务编号</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="hidden" name="businessNoId" >
                                <input type="text" readonly name="businessNo" class="form-control">
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">贸易平台</span>：
                            </td>
                            <td colspan="3" class="enter">
                                <input type="hidden" readonly name="tradingPlatformId" >
                                <input type="text" readonly name="platformName" th:value="${acceptanceBasicInfo?.platform}" class="form-control">
                            </td>
                        </tr>
                        <tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">结算日期</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text"  th:value="${billBasicInformation?.settlementDate}" name="settlementDate" class="form-control">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">结算金额</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" readonly th:value="${billBasicInformation?.settlementAmount}" name="settlementAmount" class="form-control">
                                </td>
                            </tr>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">经办人(供应商)</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text"  th:value="${billBasicInformation?.operatorSupplier}" name="operatorSupplier" class="form-control">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">经办人(核心企业)</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="operatorEnterprise" th:value="${billBasicInformation?.operatorEnterprise}"  class="form-control">
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="row">
                    <table class="goodsTable">
                        <tr>
                            <td colspan="15">
                                <span class="detailContentBox-tabletitle">下游结算货物信息</span>
                                <!-- <div class="emptyGoods emptyData">清空</div> -->
                                <span id="chooseButton" class="colorbtn btn" style="float: right;">
                                    选择货物
                                </span>
                                <div class="emptyGoods calcMoney">一键计算质保金</div>
                            </td>
                        </tr>
                        <tr>
                            <td width="5%">
                                <span>序号</span>
                            </td>
                            <td width="7%">
                                <span>验收单号</span>
                            </td>
                            <td width="7%">
                                <span>验收日期</span>
                            </td>
                            <td width="6%">
                                <span>名称</span>
                            </td>
                            <td width="6%">
                                <span>厂家</span>
                            </td>
                            <td width="7%">
                                <span>型号</span>
                            </td>
                            <td width="5%">
                                <span>单位</span>
                            </td>
                            <td width="7%">
                                <span>数量</span>
                            </td>
                            <td width="10%">
                                <span>销售单价</span>
                            </td>
                            <td width="7%">
                                <span>销售总价 </span>
                            </td>
                            <td width="7%">
                                <span>销售质保金</span>
                            </td>
                            <td width="7%">
                                <span>采购单价</span>
                            </td>
                            <td width="7%">
                                <span>采购总价</span>
                            </td>
                            <td width="7%">
                                <span>采购质保金 </span>
                            </td>
                            <td width="7%">
                                <span>操作</span>
                            </td>
                        </tr>
                        <tr class="goodsListTbody" style="display: none">
                            <td width="5%" style="background-color:#fff;">
                                <span>1</span>
                            </td>
                            <td width="7%" style="background-color:#fff;">

                            </td>
                            <td width="7%" style="background-color:#fff;">

                            </td>
                            <td width="6%" style="background-color:#fff;">

                            </td>
                            <td width="6%" style="background-color:#fff;">

                            </td>
                            <td width="7%" style="background-color:#fff;">

                            </td>
                            <td width="5%" style="background-color:#fff;">

                            </td>
                            <td width="7%" style="background-color:#fff;">

                            </td>
                            <td width="10%" style="background-color:#fff;" class="enter">
                                <input type="text" class="form-control validInput  salePrice" oninput="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
                                <span class="error" style="display:none;">请填写销售单价</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly class="form-control validInput amountInput totalSalePrice" >
                                <span class="error" style="display:none;">请填写销售总价</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly class="form-control  amountInput salesGuaranteeMoney" >
                                <span class="error" style="display:none;">请填写销售质保金</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly class="form-control validInput amountInput purchasePrice">
                                <span class="error" style="display:none;">请填写采购单价</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly class="form-control validInput amountInput totalPurchasePrice" >
                                <span class="error" style="display:none;">请填写采购总价</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" readonly class="form-control  amountInput purchaseGuaranteeMoney" >
                                <span class="error" style="display:none;">请填写采购质保金</span>
                            </td>
                            <td width="7%" style="background-color:#fff;">
                                <span class="negativeInformationReduce">删除</span>
                            </td>
                        </tr>
                        <tbody class="goodsListTable">
                        <tr class="goodsListTbody goodsListTbodyBack"
                            th:each="goods,goodsStat:${billBasicInformation?.billGoodsInformations}">
                            <td width="5%" style="background-color:#fff;">
                                <span th:text="${goodsStat.count}"></span>
                            </td>
                            <td width="7%" style="background-color:#fff;" th:text="${goods?.acceptanceDate}">
                            </td>
                            <td width="7%" style="background-color:#fff;" th:text="${goods?.goodsFactory}">
                            </td>
                            <td width="6%" style="background-color:#fff;" th:text="${goods?.goodsName}">
                            </td>
                            <td width="6%" style="background-color:#fff;" th:text="${goods?.goodsFactory}">
                            </td>
                            <td width="7%" style="background-color:#fff;" th:text="${goods?.goodsType}">
                            </td>
                            <td width="5%" style="background-color:#fff;" th:text="${goods?.goodsUnit}">
                            </td>
                            <td width="7%" style="background-color:#fff;" th:text="${goods?.goodsNum}">
                            </td>
                            <td width="10%" style="background-color:#fff;" class="enter">
                                <input type="text" class="form-control validInput salePrice"
                                       oninput="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"
                                       th:value="${#numbers.formatDecimal(goods?.salePrice,1,2)}">
                                <span class="error" style="display:none;">请填写销售单价</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" class="form-control validInput amountInput totalSalePrice" readonly
                                       th:value="${#numbers.formatDecimal(goods?.totalSalePrice,1,2)}">
                                <span class="error" style="display:none;">请填写销售总价</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" class="form-control  amountInput salesGuaranteeMoney" readonly
                                       th:value="${#numbers.formatDecimal(goods?.salesGuaranteeMoney,1,2)}">
                                <span class="error" style="display:none;">请填写销售质保金</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" class="form-control validInput amountInput purchasePrice" readonly
                                       th:value="${#numbers.formatDecimal(goods?.purchasePrice,1,2)}">
                                <span class="error" style="display:none;">请填写采购单价</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" class="form-control validInput amountInput totalPurchasePrice" readonly
                                       th:value="${#numbers.formatDecimal(goods?.totalPurchasePrice,1,2)}">
                                <span class="error" style="display:none;">请填写采购总价</span>
                            </td>
                            <td width="7%" style="background-color:#fff;" class="enter">
                                <input type="text" class="form-control  amountInput purchaseGuaranteeMoney" readonly
                                       th:value="${#numbers.formatDecimal(goods?.purchaseGuaranteeMoney,1,2)}">
                                <span class="error" style="display:none;">请填写采购质保金</span>
                            </td>
                            <td width="7%" style="background-color:#fff;">
                                <span class="negativeInformationReduce">删除</span>
                            </td>
                        </tr>
                        </tbody>
                        <tbody>
                        <tr>
                            <td colspan="15" style="background-color: #fff">
                                总数量合计：&nbsp;<span class="totalNum"></span>&nbsp;&nbsp;&nbsp;&nbsp;销售总价合计：<span
                                    class="totalPrice"></span></span>&nbsp;&nbsp;&nbsp;&nbsp;采购总价合计：<span
                                    class="totalPurchase"></span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>

                <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" readonly name="settlementStartDate" class="form-control"
                                       th:value="${billBasicInformation?.settlementStartDate}">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">结束日期</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" readonly  name="settlementEndDate" class="form-control"
                                       th:value="${billBasicInformation?.settlementEndDate}">
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="row">
                    <table class="paymentTable">
                        <tr>
                            <td colspan="4">
                                <span class="detailContentBox-tabletitle">回款计划</span>
                                <span id="paymentAddLine" class="colorbtn btn" style="float: right;">
                                    添加
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td width="12%">
                                <span>编号</span>
                            </td>
                            <td width="35%">
                                <span>回款日期</span>
                            </td>
                            <td width="40%">
                                <span>回款金额</span>
                            </td>
                            <td width="13%">
                                <span>操作</span>
                            </td>
                        </tr>
                        <tbody>
                        <tr class="paymentListTbody">
                            <td width="12%" style="background-color:#fff;">
                                <span>1</span>
                            </td>
                            <td width="35%" style="background-color:#fff;" class="enter">
                                <input type="text" name="paybackDate" readonly
                                       class="form-control paybackDate validInput">
                                <span class="error" style="display:none;font-size:0.12rem;">请选择回款日期</span>
                            </td>
                            <td width="40%" style="background-color:#fff;" class="enter">
                                <input type="text" name="paybackAmount"
                                       class="form-control paybackAmount amountInput validInput">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入回款金额</span>
                            </td>
                            <td width="13%" style="background-color:#fff;">
                                <!-- <span class="negativeInformationPlus">+添加</span> -->
                                <span class="negativeInformationReduce">-删除</span>
                            </td>
                        </tr>
                        <tr class="paymentListTbody paymentListTbodyBack"
                            th:each="paymentTerm,paymentTermStat:${billBasicInformation?.settlementRepaymentPlans}">
                            <td width="12%" style="background-color:#fff;">
                                <span th:text="${paymentTermStat.count}"></span>
                            </td>
                            <td width="35%" style="background-color:#fff;" class="enter">
                                <input type="text" name="paybackDate" readonly
                                       class="form-control paybackDate" th:value="${paymentTerm.repaymentDate}">
                                <span class="error" style="display:none;font-size:0.12rem;">请选择回款日期</span>
                            </td>
                            <td width="40%" style="background-color:#fff;" class="enter">
                                <input type="text" name="paybackAmount"
                                       class="form-control paybackAmount amountInput validInput"
                                       th:value="${#numbers.formatDecimal(paymentTerm.repaymentAmount,1,2)}">
                                <span class="error" style="display:none;font-size:0.12rem;">请输入回款金额</span>
                            </td>
                            <td width="13%" style="background-color:#fff;">
                                <!-- <span class="negativeInformationPlus">+添加</span> -->
                                <span class="negativeInformationReduce">-删除</span>
                            </td>
                        </tr>
                        </tbody>
                        <tbody>
                        <tr>
                            <td colspan="4" style="background-color: #fff">
                                合计：&nbsp;<span class="totalPayback"></span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>

                <!-- <div class="row">
                    <table class="goodsTable2">
                        <tr>
                            <td colspan="10">
                                <span class="detailContentBox-tabletitle">资金占用费</span>
                                <span id="chooseButton2" class="colorbtn btn" style="float: right;">
                                    选择货物
                                </span>

                            </td>
                        </tr>
                        <tr>
                            <td width="6%">
                                <span>编号</span>
                            </td>
                            <td width="11%">
                                <span>验收日期</span>
                            </td>
                            <td width="11%">
                                <span>供应商</span>
                            </td>
                            <td width="11%">
                                <span>名称</span>
                            </td>
                            <td width="11%">
                                <span>厂家</span>
                            </td>
                            <td width="11%">
                                <span>型号</span>
                            </td>
                            <td width="11%">
                                <span>单位</span>
                            </td>
                            <td width="11%">
                                <span>数量</span>
                            </td>
                            <td width="11%">
                                <span>资金占用费</span>
                            </td>
                            <td width="6%">
                                <span>操作</span>
                            </td>
                        </tr>
                        <tr class="goodsListTbody2" style="display: none">
                            <td width="6%" style="background-color:#fff;">
                                <span>1</span>
                            </td>
                            <td width="11%" style="background-color:#fff;">
                            </td>
                            <td width="11%" style="background-color:#fff;">
                            </td>
                            <td width="11%" style="background-color:#fff;">
                            </td>
                            <td width="11%" style="background-color:#fff;">
                            </td>
                            <td width="11%" style="background-color:#fff;">
                            </td>
                            <td width="11%" style="background-color:#fff;">
                            </td>
                            <td width="11%" style="background-color:#fff;">
                            </td>
                            <td width="11%" style="background-color:#fff;">
                                <input type="text" class="form-control validInput amountInput billCapitalOccupationFee">
                                <span class="error" style="display:none;">请填写资金占用费</span>
                            </td>
                            <td width="6%" style="background-color:#fff;">
                                <span class="negativeInformationReduce">-删除</span>
                            </td>
                        </tr>
                        <tbody class="goodsListTable2">
                        <tr class="goodsListTbody2 goodsListTbodyBack2"
                            th:each="goods,goodsStat:${billBasicInformation?.billCapitalOccupationFees}">
                            <td width="6%" style="background-color:#fff;">
                                <span th:text="${goodsStat.count}"></span>
                            </td>
                            <td width="11%" style="background-color:#fff;" th:text="${goods?.acceptanceDate}">
                            </td>
                            <td width="11%" style="background-color:#fff;" th:text="${goods?.goodsFactory}">
                            </td>
                            <td width="11%" style="background-color:#fff;" th:text="${goods?.goodsName}">
                            </td>
                            <td width="11%" style="background-color:#fff;" th:text="${goods?.goodsFactory}">
                            </td>
                            <td width="11%" style="background-color:#fff;" th:text="${goods?.goodsUnit}">
                            </td>
                            <td width="11%" style="background-color:#fff;" th:text="${goods?.goodsUnit}">
                            </td>
                            <td width="11%" style="background-color:#fff;" th:text="${goods?.goodsNum}">
                            </td>
                            <td width="11%" style="background-color:#fff;" class="enter">
                                <input type="text" class="form-control validInput amountInput billCapitalOccupationFee"
                                       th:value="${goods?.billCapitalOccupationFee}">
                                <span class="error" style="display:none;">请填写资金占用费</span>
                            </td>
                            <td width="6%" style="background-color:#fff;">
                                <span class="negativeInformationReduce">-删除</span>
                            </td>
                        </tr>
                        </tbody>
                        <tbody>
                        <tr>
                            <td colspan="10" style="background-color: #fff">
                                合计：&nbsp;<span class="totalFee"></span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div> -->

                <!-- <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="hidden" name="platformId" th:value="${billBasicInformation?.platform?.id}">
                                <input type="text" readonly name="companyName"
                                       th:value="${billBasicInformation?.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="managerName" th:value="${billBasicInformation?.managerName}"
                                       class="form-control">
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="">结算单号</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" readonly name="billInformationNumber" class="form-control"
                                       th:value="${billBasicInformation?.billInformationNumber}">
                            </td>
                            <td width="15%">
                                <span class="required_fileds_star">结算时间</span>：
                            </td>
                            <td width="35%" class="enter">
                                <input type="text" name="settlementDate" readonly class="form-control"
                                       th:value="${billBasicInformation?.settlementDate}">
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="required_fileds_star">结算金额</span>：
                            </td>
                            <td colspan="3" class="enter">
                                <input type="text" name="settlementAmount" readonly class="form-control amountInput"
                                       th:value="${billBasicInformation?.settlementAmount}">
                            </td>
                        </tr>
                    </table>
                </div> -->

                <div class="row file">
                    <table class="fileInfoListBox">
                        <tr>
                            <td colspan="3">
                                <span class="detailContentBox-tabletitle">下游结算清单附件</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">
                                <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 netPrice">
                    <table class="fileInfoListBox">
                        <tr>
                            <td colspan="3">
                                <span class="detailContentBox-tabletitle">上传网价附件</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span >网价附件</span>：
                            </td>
                            <td class="enter addFileList">
                               <input type="file" name="file" 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 additional">
                    <table class="fileInfoListBox">
                        <tr>
                            <td colspan="4">
                                <span class="detailContentBox-tabletitle">补充说明</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="">补充说明</span>：
                            </td>
                            <td colspan="3" class="enter">
                                <input type="text" name="additionalRemarks" maxlength="500" class="form-control">
                            </td>
                        </tr>
                        <tr>
                            <td width="15%">
                                <span class="">补充说明附件</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>
                            </td>
                            <td width="13%" class="choiceFile" style="text-align:center;">
                                +上传附件
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="row yk_addNewMsg">
                    <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/settleManage/entry.js"></script>
</html>
