<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('查看个人贷款信息')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-dkxx-edit" th:object="${tgjjDkxx}">
            <input name="ID" th:field="*{ID}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">借款合同编号：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.JKHTBH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">购房合同编号：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.GFHTBH}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">受委托银行名称：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.SWTYHMC}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">受委托银行代码：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.SWTYHDM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">贷款担保类型：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.DKDBLX}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">约定放款日期：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDkxx.YDFKRQ, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">约定到期日期：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDkxx.YDDQRQ, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">贷款还款方式：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.HKZH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">还款账号：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.HKZH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">账户开户银行代码：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.ZHKHYHDM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">合同贷款金额：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.HTDKJE}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">贷款类型：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.DKLX}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">贷款期数：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.DKQS}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">房屋坐落：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.FWZL}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">房屋建筑面积：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.FWJZMJ}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">房屋套内面积：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.FWTNMJ}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">房屋性质：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.FWXZ}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">房屋总价：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.FWZJ}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">借款合同利率：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.JKHTLL}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">利率浮动比例：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.LLFDBL}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">购房首付款：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.GFSFK}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">借款人公积金账号：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.JKRGJJZH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">借款人姓名：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.JKRXM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">借款人证件类型：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.JKRZJLX}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">借款人证件号：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.JKRZJH}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">售房人名称：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.SFRMC}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">售房人账户号码：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.SFRZHHM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">售房人开户银行代码：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.SFRKHYHDM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">借款合同签订日期：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDkxx.JKHTQDRQ, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">约定还款日：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.YDHKR}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">贷款账号：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.DKZH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中心编号：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.ZXBH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最后更新时间戳：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDkxx.lastUpdateTime, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">房屋证书类型：</label>
                <div class="form-control-static" th:if="${tgjjDkxx.FWZSLX == 1}">房屋所有权证</div>
                <div class="form-control-static" th:if="${tgjjDkxx.FWZSLX == 2}">不动产证</div>
                <div class="form-control-static" th:if="${tgjjDkxx.FWZSLX == 3}">房屋买卖合同</div>
                <div class="form-control-static" th:if="${tgjjDkxx.FWZSLX == 4}">房屋预售合同</div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">房屋证书号码：</label>
                <div class="form-control-static" th:text="${tgjjDkxx.FWZSHM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">购房类型：</label>
                <div class="form-control-static" th:if="${tgjjDkxx.GFLX == 0}">新房</div>
                <div class="form-control-static" th:if="${tgjjDkxx.GFLX == 1}">二手房</div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">贷款地：</label>
                <div class="form-control-static" th:if="${tgjjDkxx.DKD == 0}">本地缴存，本地购房</div>
                <div class="form-control-static" th:if="${tgjjDkxx.DKD == 1}">本地缴存，异地购房</div>
                <div class="form-control-static" th:if="${tgjjDkxx.DKD == 2}">异地缴存 ，本地购房</div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">处理类型：</label>
                <div class="form-control-static" th:if="${tgjjDkxx.CLLX == 1}">插入</div>
                <div class="form-control-static" th:if="${tgjjDkxx.CLLX == 2}">更新</div>
                <div class="form-control-static" th:if="${tgjjDkxx.CLLX == 3}">删除</div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/dkxx";
        $("#form-dkxx-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-dkxx-edit').serialize());
            }
        }

        $("input[name='YDFKRQ']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='YDDQRQ']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='JKHTQDRQ']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='lastUpdateTime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>