<!DOCTYPE html>
<html>
<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;
        }
        .changeBtn{
            color:#53c3fe;
            cursor:pointer;
        }
        input::-webkit-outer-spin-button,
        input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            appearance: none;
            margin: 0;
        }

    </style>
</head>
<body>
<div class="base-extend">
    <ol class="breadcrumb">
        <li>采购合同管理</li>
        <li>合同审核</li>
    </ol>

    <div class="detailContentBox">
        <div class="businessNavigation">
            <ul></ul>
        </div>
        <!-- 查看历史消息部分 -->
        <div class="projectManagementTop">
            <div class="newTabAddUpdateBox" style="border:none;"></div>
        </div>

        <div class="projectManagementBottom">
            <p class="detailContentBox-title">合同审核</p>
            <form class="form-horizontal businessClass-form" id="contractReview-form">
                <input type="hidden" name="taskId" th:value="${taskId}">
                <input type="hidden" name="businessKey" th:value="${businessKey}">

                <div class="newTabAddUpdateBox">
                    <div class="row validBox">
                        <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="contractName" class="form-control" readonly
                                           th:value="${PurchContractApprovalVo?.purchContractBasicInfo?.contractName}">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">合同编号</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" name="contractNumber" class="form-control" readonly
                                           th:value="${PurchContractApprovalVo?.purchContractBasicInfo?.contractNumber }">
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">工程量类别</span>：
                                </td>
                                <td colspan="3" class="enter">
                                    <select name="projectAmountCategory" class="form-control" tag:option="purchProjectAmountCategory"
                                            th:value="${PurchContractApprovalVo?.purchContractReplenishInfo?.projectAmountCategoryDic?.id}"></select>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">货物单价结算方式</span>：
                                </td>
                                <td colspan="3" class="enter">
                                    <textarea class="form-control" maxlength="200" style="resize:none;padding:0.05rem;padding-left:0.1rem !important;" rows="3" name="goodsPriceSettleMethod"
                                              th:text="${PurchContractApprovalVo?.purchContractReplenishInfo?.goodsPriceSettleMethod}"></textarea>
                                </td>
                            </tr>
                        </table>
                    </div>

                    <!-- <div class="row validBox">
                        <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" maxlength="50" name="priceComment" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractVatInfo?.priceComment}">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">税率</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="number" min="0" name="taxRate" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractVatInfo?.taxRate }">
                                    <i class="viewDetailWord">%</i>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">发票类型</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" maxlength="50" name="receiptType" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractVatInfo?.receiptType }">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">开票周期</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" maxlength="50" name="openCycle" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractVatInfo?.openCycle }">
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">发票开户行</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" maxlength="50" name="openBank" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractVatInfo?.openBank }">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">发票账号</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text"  maxlength="50" name="receiptAccount" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractVatInfo?.receiptAccount }">
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">发票备注</span>：
                                </td>
                                <td colspan="3" class="enter">
                                    <textarea class="form-control" maxlength="500" style="resize:none;padding:0.05rem;padding-left:0.1rem !important;" rows="3" name="receiptRemark"
                                              th:text="${PurchContractApprovalVo?.purchContractVatInfo?.receiptRemark}"></textarea>
                                </td>
                            </tr>
                        </table>
                    </div> -->

                    <div class="row validBox">
                        <table>
                            <tr>
                                <td colspan="4">
                                    <span class="detailContentBox-tabletitle">质量与验收</span>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">验收标准</span>：
                                </td>
                                <td colspan="3" class="enter">
                                    <textarea class="form-control" maxlength="500" style="resize:none;padding:0.05rem;padding-left:0.1rem !important;" rows="3" name="acceptCriteria"
                                              th:text="${PurchContractApprovalVo?.purchContractQualityAccept?.acceptCriteria}"></textarea>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">质量标准</span>：
                                </td>
                                <td colspan="3" class="enter">
                                    <textarea class="form-control" maxlength="500" style="resize:none;padding:0.05rem;padding-left:0.1rem !important;" rows="3" name="qualityCriteria"
                                              th:text="${PurchContractApprovalVo?.purchContractQualityAccept?.qualityCriteria}"></textarea>
                                </td>
                            </tr>
                        </table>
                    </div>

                    <!-- <div class="row validBox">
                        <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="settleMethod" class="form-control" >
                                        <option value="">请选择</option>
                                        <option value="A" th:selected="${PurchContractApprovalVo?.purchContractSettlePayment?.settleMethod=='A'}">A</option>
                                        <option value="B" th:selected="${PurchContractApprovalVo?.purchContractSettlePayment?.settleMethod=='B'}">B</option>
                                        <option value="C" th:selected="${PurchContractApprovalVo?.purchContractSettlePayment?.settleMethod=='C'}">C</option>
                                    </select>
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">付款方式</span>：
                                </td>
                                <td width="35" class="enter">
                                    <select name="paymentMethod" class="form-control" >
                                        <option value="">请选择</option>
                                        <option value="A" th:selected="${PurchContractApprovalVo?.purchContractSettlePayment?.paymentMethod=='A'}">A</option>
                                        <option value="B" th:selected="${PurchContractApprovalVo?.purchContractSettlePayment?.paymentMethod=='B'}">B</option>
                                        <option value="C" th:selected="${PurchContractApprovalVo?.purchContractSettlePayment?.paymentMethod=='C'}">C</option>
                                    </select>
                                </td>
                            </tr>
                        </table>
                    </div> -->

                    <div class="row validBox">
                        <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" maxlength="50" name="deliverSite" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractDeliverClause?.deliverSite }">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">交货方式</span>：
                                </td>
                                <td width="35" class="enter">
                                    <input type="text" maxlength="50" name="deliverMethod" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractDeliverClause?.deliverMethod }">
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">交货日期</span>：
                                </td>
                                <td width="35" class="enter">
                                    <input type="text" name="deliverDate" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractDeliverClause?.deliverDate}">
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">运费及保险费</span>：
                                </td>
                                <td width="35" class="enter">
                                    <input type="text" maxlength="50" name="transportPremium" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractDeliverClause?.transportPremium }">
                                </td>
                            </tr>
                        </table>
                    </div>

                    <!-- <div class="row validBox">
                        <table class="xufangTable">
                            <tr>
                                <td colspan="10">
                                    <span class="detailContentBox-tabletitle">需方收货人</span>
                                    <span id="addXufang" class="colorbtn btn" style="float: right;margin-right: 5px">
                                    添加
                                </span>
                                </td>
                            </tr>
                            <tr>
                                <td width="10%">
                                    <span>编号</span>
                                </td>
                                <td width="20%">
                                    <span>姓名</span>
                                </td>
                                <td width="25%">
                                    <span>身份证号</span>
                                </td>
                                <td width="30%">
                                    <span>联系方式</span>
                                </td>
                                <td width="15%">
                                    <span>操作</span>
                                </td>
                            </tr>
                            <tr class="xufangListTbody" style="display: none">
                                <td width="10%" style="background-color:#fff;">
                                    <span>1</span>
                                </td>
                                <td width="20%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput">
                                    <span class="error" style="display:none;">请填写姓名</span>
                                </td>
                                <td width="25%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput">
                                    <span class="error" style="display:none;">请填写身份证号</span>
                                </td>
                                <td width="30%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput">
                                    <span class="error" style="display:none;">请填写联系方式</span>
                                </td>
                                <td width="15%" style="background-color:#fff;">
                                    <span class="negativeInformationPlus">+添加</span>
                                    <span class="negativeInformationReduce">-删除</span>
                                </td>
                            </tr>
                            <tbody class="xufangListTable">
                            <tr class="xufangListTbody xufangListTbodyBack"
                                th:each="goods,goodsStat:${PurchContractApprovalVo?.purchContractBuyerReceiver}">
                                <td width="10%" style="background-color:#fff;">
                                    <span th:text="${goodsStat.count}"></span>
                                </td>
                                <td width="20%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput" th:value="${goods?.name}">
                                    <span class="error" style="display:none;">请填写姓名</span>
                                </td>
                                <td width="25%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput" th:value="${goods?.certno}">
                                    <span class="error" style="display:none;">请填写身份证号</span>
                                </td>
                                <td width="30%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput" th:value="${goods?.contact}">
                                    <span class="error" style="display:none;">请填写联系方式</span>
                                </td>
                                <td width="15%" style="background-color:#fff;">
                                                                   <span class="negativeInformationPlus">+添加</span>
                                    <span class="negativeInformationReduce">-删除</span>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div> -->

                    <!-- <div class="row validBox">
                        <table class="supplierTable">
                            <tr>
                                <td colspan="10">
                                    <span class="detailContentBox-tabletitle">供应商发货人</span>
                                    <span id="addSupplier" class="colorbtn btn" style="float: right;margin-right: 5px">
                                    添加
                                </span>
                                </td>
                            </tr>
                            <tr>
                                <td width="10%">
                                    <span>编号</span>
                                </td>
                                <td width="20%">
                                    <span>姓名</span>
                                </td>
                                <td width="25%">
                                    <span>身份证号</span>
                                </td>
                                <td width="30%">
                                    <span>联系方式</span>
                                </td>
                                <td width="15%">
                                    <span>操作</span>
                                </td>
                            </tr>
                            <tr class="supplierListTbody" style="display: none">
                                <td width="10%" style="background-color:#fff;">
                                    <span>1</span>
                                </td>
                                <td width="20%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput">
                                    <span class="error" style="display:none;">请填写姓名</span>
                                </td>
                                <td width="25%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput">
                                    <span class="error" style="display:none;">请填写身份证号</span>
                                </td>
                                <td width="30%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput">
                                    <span class="error" style="display:none;">请填写联系方式</span>
                                </td>
                                <td width="15%" style="background-color:#fff;">
                                    <span class="negativeInformationPlus">+添加</span>
                                    <span class="negativeInformationReduce">-删除</span>
                                </td>
                            </tr>
                            <tbody class="supplierListTable">
                            <tr class="supplierListTbody supplierListTbodyBack" th:each="goods,goodsStat:${PurchContractApprovalVo?.purchContractSellerSender}">
                                <td width="10%" style="background-color:#fff;">
                                    <span th:text="${goodsStat.count}"></span>
                                </td>
                                <td width="20%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput" th:value="${goods?.name}">
                                    <span class="error" style="display:none;">请填写姓名</span>
                                </td>
                                <td width="25%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput" th:value="${goods?.certno}">
                                    <span class="error" style="display:none;">请填写身份证号</span>
                                </td>
                                <td width="30%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="50" class="form-control validInput" th:value="${goods?.contact}">
                                    <span class="error" style="display:none;">请填写联系方式</span>
                                </td>
                                <td width="15%" style="background-color:#fff;">
                                     <span class="negativeInformationPlus">+添加</span>
                                    <span class="negativeInformationReduce">-删除</span>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div> -->

                    <!-- <div class="row validBox">
                        <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="85%" class="enter">
                                    <input type="number" min="0" name="penaltyRate" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractSellerBlame?.penaltyRate }">
                                    <i class="viewDetailWord">%</i>
                                </td>
                            </tr>
                        </table>
                    </div> -->

                    <!-- <div class="row validBox">
                        <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="number" min="0" name="contractCompensateRate" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractPunishClause?.contractCompensateRate }">
                                    <i class="viewDetailWord">%</i>
                                </td>
                                <td width="15%">
                                    <span class="required_fileds_star">合同违约金比例</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="number" min="0" name="contractPenaltyRate" class="form-control"
                                           th:value="${PurchContractApprovalVo?.purchContractPunishClause?.contractPenaltyRate }">
                                    <i class="viewDetailWord">%</i>
                                </td>
                            </tr>
                        </table>
                    </div> -->

                    <div class="row validBox">
                        <table class="otherTable">
                            <tr>
                                <td colspan="10">
                                    <span class="detailContentBox-tabletitle">其他条款</span>
                                    <span id="addOther" class="colorbtn btn" style="float: right;margin-right: 5px">
                                    添加
                                </span>
                                </td>
                            </tr>
                            <tr>
                                <td width="10%">
                                    <span>编号</span>
                                </td>
                                <td width="75%">
                                    <span>其他条件</span>
                                </td>
                                <td width="15%">
                                    <span>操作</span>
                                </td>
                            </tr>
                            <tr class="otherListTbody" style="display: none">
                                <td width="10%" style="background-color:#fff;">
                                    <span>1</span>
                                </td>
                                <td width="75%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="500" class="form-control validInput">
                                    <span class="error" style="display:none;">请填写其他条件</span>
                                </td>
                                <td width="15%" style="background-color:#fff;">
                                    <span class="negativeInformationReduce">-删除</span>
                                </td>
                            </tr>
                            <tbody class="otherListTable">
                            <tr class="otherListTbody otherListTbodyBack" th:each="goods,goodsStat:${PurchContractApprovalVo?.purchContractOtherClause}">
                                <td width="10%" style="background-color:#fff;">
                                    <span th:text="${goodsStat.count}"></span>
                                </td>
                                <td width="75%" style="background-color:#fff;" class="enter">
                                    <input type="text" maxlength="500" class="form-control validInput" th:value="${goods?.paymentCondition}">
                                    <span class="error" style="display:none;">请填写其他条件</span>
                                </td>
                                <td width="15%" style="background-color:#fff;">
                                    <!-- <span class="negativeInformationPlus">+添加</span> -->
                                    <span class="negativeInformationReduce">-删除</span>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>

                    <div class="row">
                        <table>
                            <tr>
                                <td colspan="4">
                                    <span class="detailContentBox-tabletitle">审批结论</span>
                                    <span class="colorbtn createProcurementContract btn" style="float: right;margin-right: 5px; display: none;">
                                       生成采购合同文件
                                    </span>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">审批结论</span>：
                                </td>
                                <td width="35%" class="enter hasradio approvalConclusionTd">
                                    <label>
                                        <input type="radio" class="radios" value="pass" name="approvalConclusion" th:checked="${PurchContractApprovalVo?.purchContractApproval?.approvalConclusion} == pass">
                                        <span>通过</span>
                                    </label>
                                    <!-- <label th:if="${!changeable}">
                                        <input type="radio" class="radios" value="veto" name="approvalConclusion">
                                        <span>否决</span>
                                    </label> -->
                                    <label>
                                        <input type="radio" class="radios" value="back" name="approvalConclusion" th:checked="${PurchContractApprovalVo?.purchContractApproval?.approvalConclusion} == back">
                                        <span>驳回</span>
                                    </label>
                                </td>
                                <td width="15%" class="validBox">
                                    <span class="required_fileds_star">合同签署方式</span>：
                                </td>
                                <td width="35%" class="enter hasradio validBox">
                                    <label>
                                        <input type="radio" class="radios" value="1" name="signMode" th:checked="${PurchContractApprovalVo?.purchContractApproval?.signMode}== 1">
                                        <span>线上电子签</span>
                                    </label>
                                    <label>
                                        <input type="radio" class="radios" value="0" name="signMode" th:checked="${PurchContractApprovalVo?.purchContractApproval?.signMode} == 0">
                                        <span>线下签署</span>
                                    </label>
                                </td>
                            </tr>
                            <tr class="signModeChange">
                                <td width="15%">
                                    <span>贸易平台</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <input type="text" readonly class="form-control" th:value="${PurchContractApprovalVo?.platform?.platformName}">
                                </td>
                                <td width="25%" class="enter hasradio">
                                    <span style="margin-left: 10px">认证状态：</span>
                                    <span th:text="${PurchContractApprovalVo?.platform?.authStatus} == 1 ? '已认证' : '未认证' "></span>
                                </td>
                                <td width="25%" class="enter hasradio">
                                    <span style="margin-left: 10px">自动签署状态：</span>
                                    <span th:text="${PurchContractApprovalVo?.platform?.autoSignStatus} == true ? '已签署' : '未签署' "></span>
                                </td>
                            </tr>
                            <tr class="signModeChange procurementContract">
                                <td width="15%">
                                    <span class="">采购合同文件</span>：
                                </td>
                                <td colspan="3" class="enter">
                                    <div class="procurementContractFileStorage" th:each="fileStorage,fileStorages:${PurchContractApprovalVo?.purchContractApproval?.fileStorage}" style="display:none">
                                        <input type="text" class="originalId"   th:value="${fileStorage?.id}">
                                        <input type="text" class="originalUrl"  th:value="${fileStorage?.path}">
                                        <input type="text" class="originalType" th:value="${fileStorage?.fileType}">
                                        <input type="text" class="originalName" th:value="${fileStorage?.originalName}">
                                        <input type="text" class="originalSize" th:value="${fileStorage?.size}">
                                    </div>
                                    <div class="fileListBox">
                                        <div class="uploaderFile" style="display: flex; align-items: center;">
                                            <div style="margin: 0 20px;">
                                                <input type="checkbox"  th:useContractStatus="${PurchContractApprovalVo?.purchContractApproval?.useContract}" class="radios" name="useContract" value="1">
                                            </div>
                                            <div class="fileContent" style="flex: 1">
                                                <!-- <span class="spanHolder">上传附件</span> -->
                                            </div>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr class="signModeChange">
                                <td width="15%">
                                    <span class="required_fileds_star">上传合同文件</span>：
                                </td>
                                <td colspan="3" class="enter hasradio">
                                    <label>
                                        <input type="radio" class="radios" value="1" name="purchContractApprovalUpload" th:checked="${PurchContractApprovalVo?.purchContractApproval?.upload} == 1">
                                        <span>是</span>
                                    </label>
                                    <label>
                                        <input type="radio" class="radios" value="0" name="purchContractApprovalUpload" th:checked="${PurchContractApprovalVo?.purchContractApproval?.upload} == 0">
                                        <span>否</span>
                                    </label>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="approvalCommentTitle">审批意见</span>：
                                </td>
                                <!-- style="border-bottom: 1px solid #E8F0F3;" -->
                                <td colspan="3" class="enter" >
                                    <textarea class="form-control" maxlength="500" style="resize:none;padding:0.05rem;padding-left:0.1rem !important;" rows="3" th:utext="${PurchContractApprovalVo?.purchContractApproval?.approvalComment}" name="approvalComment"></textarea>
                                </td>
                            </tr>
                        </table>
                        <table class="contractTable">
                            <thead>
                                <tr>
                                    <td width="5%">
                                        <span>序号</span>
                                    </td>
                                    <td width="30%">
                                        <span class="required_fileds_star">合同名称</span>
                                    </td>
                                    <td width="25%">
                                        <span>签署人</span>
                                    </td>
                                    <td width="25%">
                                        <span class="required_fileds_star">签署文件</span>
                                    </td>
                                    <td width="15">
                                        <span>操作</span>
                                    </td>
                                </tr>
                            </thead>
                             <tbody class="contractListTable">
                                <tr class="contractListTbody">
                                    <td width="5%" style="background-color:#fff;">
                                            <span>1</span>
                                    </td>
                                    <td width="30%" style="background-color:#fff;" class="enter">
                                        <input class="form-control contractName" name="contractName" placeholder="请输入合同名称" maxlength="200">
                                        </input>
                                        <span class="error" style="display:none;font-size:0.12rem;">请输入合同名称</span>
                                    </td>

                                    <td width="25%" style="background-color:#fff;" class="signatory">
                                        <div th:text="${PurchContractApprovalVo?.platform?.platformName}"></div>
                                        <div th:text="${PurchContractApprovalVo?.supplier?.enterpriseName}"></div>
                                    </td>
                                    <td width="25%" style="background-color:#fff;">
                                        <div class="fileListBox">
                                            <input type="file" class="fileinput" multiple style="display:none" accept=".pdf">
                                            <div class="uploaderFile">
                                                    <div class="fileContent">
                                                        <span class="spanHolder">上传附件</span>
                                                    </div>
                                            </div>
                                        </div>
                                        <div class="choiceFile" style="text-align:center; margin-top: -0.27rem">+上传附件</div>
                                    </td>
                                    <td width="15" style="background-color:#fff;">
                                        <span class="negativeInformationPlus">+添加</span>
                                        <span class="negativeInformationReduce">-删除</span>
                                    </td>
                                 </tr>
                                 <tr class="contractListTbody"  th:each="uploadContractInfo,uploadContractInfos:${PurchContractApprovalVo?.purchContractApproval?.uploadPurchContracts}">
                                    <td width="5%" style="background-color:#fff;">
                                            <span th:text="${uploadContractInfos?.index}+1">1</span>
                                    </td>
                                    <td width="23%" style="background-color:#fff;" class="enter">
                                        <input class="form-control contractName" name="contractName"  th:value="${uploadContractInfo?.contractName}" placeholder="请输入合同名称" maxlength="200">
                                        </input>
                                        <span class="error" style="display:none;font-size:0.12rem;">请输入合同名称</span>
                                    </td>
                                    <td width="25%" style="background-color:#fff;" class="signatory">
                                        <div th:text="${PurchContractApprovalVo?.platform?.platformName}"></div>
                                        <div th:text="${PurchContractApprovalVo?.supplier?.enterpriseName}"></div>
                                    </td>
                                    <td width="25%" style="background-color:#fff;">
                                        <div class="fileStorage" th:each="fileStorage,fileStorages:${uploadContractInfo?.fileStorage}" style="display:none">
                                            <input type="text" class="originalId"   th:value="${fileStorage?.id}">
                                            <input type="text" class="originalUrl"  th:value="${fileStorage?.path}">
                                            <input type="text" class="originalType" th:value="${fileStorage?.fileType}">
                                            <input type="text" class="originalName" th:value="${fileStorage?.originalName}">
                                            <input type="text" class="originalSize" th:value="${fileStorage?.size}">
                                        </div>
                                        <div class="fileListBox">
                                            <input type="file"  class="fileinput" style="display:none" accept=".pdf">
                                            <div class="uploaderFile">
                                                    <div class="fileContent">
                                                            <span class="spanHolder">上传附件</span>
                                                    </div>
                                            </div>
                                        </div>
                                        <div class="choiceFile" style="text-align:center; margin-top: -0.27rem">+上传附件</div>
                                    </td>
                                    <td width="15" style="background-color:#fff;">
                                            <span class="negativeInformationPlus">+添加</span>
                                            <span class="negativeInformationReduce">-删除</span>
                                    </td>
                                </tr>
                             </tbody>

                        </table>
                    </div>
                </div>
                <div class="yk_addBtns yk_addNewMsg newTabAddUpdateBtnBox">
                    <button class="btn btn-white btn-info colorbtn temp">暂存</button>
                    <button class="btn btn-white btn-info colorbtn save">提交</button>
                    <button class="btn btn-white btn-info colorbtn saveHide" style="display: none;">提交</button>
                    <button class="btn btn-white btn-info colorbtn createContract" style="display: none;">生成采购合同</button>
                    <button class="btn btn-white btn-info btn-cancel">关闭</button>
                </div>
            </form>
        </div>

    </div>
</div>
<script src="/js/base/uploadFile.js"></script>
<script src="/js/purchaseContractManage/searchHistory.js"></script>
<script src="/js/purchaseContractManage/contractReview.js"></script>

</body>
</html>
