<!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-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">担保合同编号：</label>
                <div class="col-sm-8">
                    <input name="DBHTBH" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">借款合同编号：</label>
                <div class="col-sm-8">
                    <input name="JKHTBH" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">担保机构名称：</label>
                <div class="col-sm-8">
                    <textarea name="DBJGMC" class="form-control"></textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押物权证号：</label>
                <div class="col-sm-8">
                    <input name="DYWQZH" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押物他项权证号：</label>
                <div class="col-sm-8">
                    <input name="DYWTXQZH" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">抵押物房屋坐落：</label>
                <div class="col-sm-8">
                    <textarea name="DYWFWZL" class="form-control"></textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押权建立日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="DYQJLRQ" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押权解除日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="DYQJCRQ" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押物评估价值：</label>
                <div class="col-sm-8">
                    <input name="DYWPGJZ" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">保证合同编号：</label>
                <div class="col-sm-8">
                    <input name="BZHTBH" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">保证机构名称：</label>
                <div class="col-sm-8">
                    <textarea name="BZJGMC" class="form-control"></textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">贷款保证金：</label>
                <div class="col-sm-8">
                    <input name="DKBZJ" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质押合同编号：</label>
                <div class="col-sm-8">
                    <input name="ZYHTBH" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质押物编号：</label>
                <div class="col-sm-8">
                    <input name="ZYWBH" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">质押物名称：</label>
                <div class="col-sm-8">
                    <textarea name="ZYWMC" class="form-control"></textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质押物价值：</label>
                <div class="col-sm-8">
                    <input name="ZYWJZ" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质押合同开始日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="ZYHTKSRQ" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质押合同结束日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="ZYHTJSRQ" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中心编号：</label>
                <div class="col-sm-8">
                    <input name="ZXBH" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最后更新时间戳：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="lastUpdateTime" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">抵押房屋购房合同号：</label>
                <div class="col-sm-8">
                    <input name="DYFWGFHTH" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">处理类型：</label>
                <div class="col-sm-8">
                    <input name="CLLX" class="form-control" type="text">
                </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-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-dbxx-add').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>