<!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="contractSign-form">
                <input type="hidden" name="taskId" th:value="${taskId}">
                <input type="hidden" name="businessKey" th:value="${businessKey}">
                <input type="hidden" name="electronicInfoId" th:value="${settlementElectronicInfo?.id}">
                <input type="hidden" name="bill" th:value="${settlementElectronicInfo?.settlementBasicInfoId}">
                <!-- <input type="hidden" name="signType" th:value="${electronicInfo.fddCustomerId}"> -->
                <div class="newTabAddUpdateBox">
                    <div class="row">
                        <table>
                            <tr>
                                <td colspan="3">
                                    <span class="detailContentBox-tabletitle">电子结算单信息</span>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="">认证链接</span>：
                                </td>
                                <td width="75%" class="enter">
                                    <textarea class="form-control" style="resize:none;" name="authUrl" rows="4" readonly
                                              maxlength="5000" th:text="${settlementElectronicInfo?.certifyLink}"></textarea>
                                </td>
                                <td width="10%" style="padding-top:0;padding-bottom:0;background-color: #fff;">
                                    <div id="copyAuthUrl" class="btn btn-default btn-white btn-info colorbtn" style="height:0.31rem;line-height:0.31rem;margin:0;">复制</div>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="">认证状态</span>：
                                </td>
                                <td colspan="2" class="enter">
                                    <input type="hidden" name="authStatusBack" th:value="${settlementElectronicInfo?.certifyStatus}">
                                    <input type="text" name="authStatus" readonly class="form-control"
                                           th:value="${settlementElectronicInfo?.certifyStatus}=='1'?'已认证':'未认证'">
                                </td>
                                <!-- <td width="10%" style="padding-top:0;padding-bottom:0;background-color: #fff;">
                                    <div class="btn btn-default btn-white btn-info colorbtn authRefresh" style="height:0.31rem;line-height:0.31rem;margin:0;">刷新</div>
                                </td> -->
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="">合同链接</span>：
                                </td>
                                <td width="35%" class="enter">
                                    <textarea class="form-control" style="resize:none;" name="signUrl" rows="4" readonly
                                              maxlength="5000" th:text="${settlementElectronicInfo?.shortContractLink}"></textarea>
                                </td>
                                <td width="10%" style="padding-top:0;padding-bottom:0;background-color: #fff;">
                                    <div id="copyConUrl" class="btn btn-default btn-white btn-info colorbtn" style="height:0.31rem;line-height:0.31rem;margin:0;">复制</div>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">
                                    <span class="">签署状态</span>：
                                </td>
                                <td colspan="1" class="enter">
                                    <input type="hidden" name="signStatusBack" th:value="${settlementElectronicInfo?.signStatus}">
                                    <input type="text" name="signStatus" readonly class="form-control"
                                           th:value="${settlementElectronicInfo?.signStatus}=='1'?'已签署':'未签署'">
                                </td>
                                <td width="10%" style="padding-top:0;padding-bottom:0;background-color: #fff;">
                                    <div class="btn btn-default btn-white btn-info colorbtn signRefresh" style="height:0.31rem;line-height:0.31rem;margin:0;">刷新</div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>

                <div class="yk_addBtns yk_addNewMsg newTabAddUpdateBtnBox" >

<!--                    <button class="btn btn-white btn-info colorbtn back">退回</button>-->
                    <!-- <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/settleManage/contractSign.js"></script>
<script src="/js/settleManage/searchHistory.js"></script>
</body>
</html>
