<!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-dwxx-add">
            <div class="form-group">
                <label class="col-sm-3 control-label">单位名称：</label>
                <div class="col-sm-8">
                    <textarea name="DWMC" 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="DWZH" 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="DWDZ" 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="DWFRDBXM" 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="DWFRDBZJLX" 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="DWFRDBZJHM" 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="DWLSGX" 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="DWJJLX" 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="DWSSHY" 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="DWYB" 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="DWDZXX" 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="DWFXR" 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="JBRXM" 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="JBRGDDHHM" 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="JBRSJHM" 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="JBRZJLX" 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="JBRZJHM" 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="ZZJGDM" 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="DWSLRQ" 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="DWKHRQ" 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">
                    <textarea name="STYHMC" 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="STYHDM" 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="TYSHXYDM" 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="DWXZ" 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/dwxx"
        $("#form-dwxx-add").validate({
            focusCleanup: true
        });

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

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

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

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