<!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-add">
            <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">
                    <input name="GFHTBH" 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="SWTYHMC" 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="SWTYHDM" 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="DKDBLX" 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="YDFKRQ" 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="YDDQRQ" 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="DKHKFS" 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="HKZH" 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="ZHKHYHDM" 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="HTDKJE" 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="DKLX" 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="DKQS" 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="FWZL" 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="FWJZMJ" 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="FWTNMJ" 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="FWXZ" 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="FWZJ" 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="JKHTLL" 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="LLFDBL" 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="GFSFK" 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="JKRGJJZH" 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="JKRXM" 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="JKRZJLX" 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="JKRZJH" 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="SFRMC" 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="SFRZHHM" 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="SFRKHYHDM" 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="JKHTQDRQ" 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="YDHKR" 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="DKZH" 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="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="FWZSLX" 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="FWZSHM" 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="GFLX" 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="DKD" 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/dkxx"
        $("#form-dkxx-add").validate({
            focusCleanup: true
        });

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