<!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-dbxx-edit" th:object="${tgjjDbxx}">
            <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="${tgjjDbxx.DBHTBH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">借款合同编号：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.JKHTBH}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">担保机构名称：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.DBJGMC}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押物权证号：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.DYWQZH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押物他项权证号：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.DYWTXQZH}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">抵押物房屋坐落：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.DYWFWZL}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押权建立日期：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDbxx.DYQJLRQ, '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(tgjjDbxx.DYQJCRQ, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押物评估价值：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.DYWPGJZ}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">保证合同编号：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.BZHTBH}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">保证机构名称：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.BZJGMC}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">贷款保证金：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.DKBZJ}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质押合同编号：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.ZYHTBH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质押物编号：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.ZYWBH}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">质押物名称：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.ZYWMC}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质押物价值：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.ZYWJZ}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质押合同开始日期：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDbxx.ZYHTKSRQ, '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(tgjjDbxx.ZYHTJSRQ, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中心编号：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.ZXBH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最后更新时间戳：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDbxx.lastUpdateTime, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押房屋购房合同号：</label>
                <div class="form-control-static" th:text="${tgjjDbxx.DYFWGFHTH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">处理类型：</label>
                <div class="form-control-static" th:if="${tgjjDbxx.CLLX == '1'}">插入</div>
                <div class="form-control-static" th:if="${tgjjDbxx.CLLX == '2'}">更新</div>
                <div class="form-control-static" th:if="${tgjjDbxx.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/dbxx";
        $("#form-dbxx-edit").validate({
            focusCleanup: true
        });

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

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

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

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

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

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