<!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;
        }
    </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}">
                <input type="hidden" name="changeStatus" value="变更审核">
                <div class="newTabAddUpdateBox">
                    <!-- <div class="row">
                        <table class="fileInfoListBox">
                            <tr>
                                <td colspan="4">
                                    <span class="detailContentBox-tabletitle">合同文件</span>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%" class="fileRowspan" rowspan="1" style="text-align:left;">
                                    <span class="required_fileds_star">合同文件</span>
                                </td>
                                <td colspan="2" class="enter addFileList">
                                    <input type="file" name="file" class="fileinput" multiple style="display:none">
                                    <div class="uploaderFile" style="display: block;border-bottom:0">
                                        <div class="fileContent">
                                            <span class="spanHolder">上传附件</span>
                                        </div>
                                    </div>
                                    <span class="error" style="display:none;">请上传合同原文件</span>
                                </td>
                                <td width="15%" class="choiceFile">
                                    +请上传附件
                                </td>
                            </tr>
                        </table>
                    </div> -->
                    <div class="row">
                        <table>
                            <tr>
                                <td colspan="2">
                                    <span class="detailContentBox-tabletitle">审批结论</span>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="required_fileds_star">审批结论</span>：
                                </td>
                                <td width="85%" class="enter hasradio">
                                    <label>
                                        <input type="radio" class="radios" value="pass" name="approvalConclusion">
                                        <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">
                                        <span>驳回</span>
                                    </label>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="approvalCommentTitle">审批意见</span>：
                                </td>
                                <td width="85%" class="enter">
                                    <textarea class="form-control" maxlength="500" style="resize:none;padding:0.05rem;padding-left:0.1rem !important;" rows="3" name="approvalComment"></textarea>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="row">
                        <div class="fileInfoListOriginal" style="display:none" th:each="file,files:${fileList}">
                            <input type="text" class="originalId" th:value="${file?.id}">
                            <input type="text" class="originalUrl" th:value="${file?.path}">
                            <input type="text" class="originalType" th:value="${file?.fileType}">
                            <input type="text" class="originalName" th:value="${file?.originalName}">
                            <input type="text" class="originalSize" th:value="${file?.size}">
                        </div>
                        <table>
                            <tr class="hide signConfirmation">
                                <td colspan="4">
                                    <span class="detailContentBox-tabletitle">签署确认</span>
                                </td>
                            </tr>
                            <tr class="hide signConfirmation">
                                <td width="15%">
                                    <span class="required_fileds_star">签署确认</span>：
                                </td>
                                <td class="enter hasradio" colspan="3">
                                    <label>
                                        <input type="radio" class="radios" value="1" name="sign">
                                        <span>是</span>
                                    </label>
                                    <label>
                                        <input type="radio" class="radios" value="0" name="sign">
                                        <span>否</span>
                                    </label>
                                </td>
                            </tr>
                            <tr class="hide signingInformation originalFileList">
                                <td width="15%" class="" rowspan="2">
                                    <span class="required_fileds_star">签署文件(文件格式限定：图片（jpg，png，jpeg，bmp）、PDF、EXCEL)</span>
                                </td>
                                <td class="enter fileListBox" colspan="3">
                                    <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>                                
                            </tr>
                            <tr class="hide signingInformation">
                                <td class="enter addFileList" colspan="2">
                                    <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>
                                </td>
                                <td width="15%" class="choiceFile" style="text-align:center;">
                                    +上传附件
                                </td>
                            </tr>
                            <tr class="hide signingInformation">
                                <td colspan="4">
                                    <span class="">签署人信息</span>
                                </td>
                            </tr>
                            <tr class="hide signingInformation">
                                <td width="25%">
                                    <span>类型</span>
                                </td>
                                <td width="25%">
                                    <span>姓名</span>
                                </td>
                                <!-- <td width="20%">
                                    <span>证件类型</span>
                                </td>
                                <td width="25%">
                                    <span>证件号码</span>
                                </td> -->
                                <td width="25%">
                                    <span>联系方式</span>
                                </td>
                                <td width="25%">
                                    <span>操作</span>
                                </td>
                            </tr>
                            <tr class="personalListTbody personalListTbodyBack hide signingInformation" th:each="personalTerm,personalTermStat:${salesContractPersonInfos}">
                                <td width="25%" style="background-color:#fff;">
                                    <input type="text" name="type" class="form-control type"  style="background-color:#fff;" th:value="${personalTerm?.type}" readonly>
                                    <span class="error" style="display:none;font-size:0.12rem;">请选择类型</span>
                                </td>
                                <td width="25%" style="background-color:#fff;" class="enter">
                                    <input type="text" name="name" maxlength="500" class="form-control name" th:value="${personalTerm?.name}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入姓名</span>
                                </td>
                                <!-- <td width="20%" style="background-color:#fff;">
                                    <input type="text" name="cardType" class="form-control cardType"  style="background-color:#fff;" th:value="${personalTerm?.cardType}" readonly>>
                                    <span class="error" style="display:none;font-size:0.12rem;">请选择证件类型</span>
                                </td>
                                <td width="25%" style="background-color:#fff;" class="enter">
                                    <input type="text" name="socialCreditCode" maxlength="500" class="form-control socialCreditCode" th:value="${personalTerm?.socialCreditCode}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入证件号码</span>
                                </td> -->
                                <td width="25%" style="background-color:#fff;" class="enter">
                                    <input type="text" name="mobile" maxlength="500" class="form-control mobile" th:value="${personalTerm?.mobile}">
                                    <span class="error" style="display:none;font-size:0.12rem;">请输入联系方式</span>
                                </td>
                                <td width="25%" style="background-color:#fff;" class="eTrandHide">
                                    <input type="radio" name="radio" value="0" class="radios" th:id="${personalTerm?.id}">
                                    <span style="display:none;">请选择</span>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="yk_addBtns yk_addNewMsg newTabAddUpdateBtnBox" >
                    <button class="btn btn-white btn-info colorbtn save">提交</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/salesContractManage/contractReview.js"></script>
<script src="/js/salesContractManage/searchHistory.js"></script>
</body>
</html>
