<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-bg-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">统一社会信用代码：</label>
                <div class="col-sm-8">
                    <input name="uniformSocialCreditCode" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">清税证明文号：</label>
                <div class="col-sm-8">
                    <input name="clearTaxNum" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位名称：</label>
                <div class="col-sm-8">
                    <input name="companyName" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">注册号：</label>
                <div class="col-sm-8">
                    <input name="registrationNumber" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经营者：</label>
                <div class="col-sm-8">
                    <input name="operatorName" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经营者民族：</label>
                <div class="col-sm-8">
                    <input name="operatorNational" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经营者性别：</label>
                <div class="col-sm-8">
                    <select name="status"  class="form-control m-b" th:with="type=${@dict.getType('operatorSex')}" required>
                        <option value="">请选择性别</option>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}">
                        </option>
                    </select>
<!--                    <select name="operatorSex" class="form-control m-b">-->
<!--                        <option value="">所有</option>-->
<!--                    </select>-->
<!--                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
                </div>
            </div>



            <div class="form-group">    
                <label class="col-sm-3 control-label">经营者政治面貌：</label>
                <div class="col-sm-8">
                    <input name="operatorPolitical" 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="operatorEducation" 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="radio-box">
                        <input type="radio" name="operatorVocationalStatus" value="">
                        <label th:for="operatorVocationalStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经营者身份证号：</label>
                <div class="col-sm-8">
                    <input name="operatorIdCard" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经营者手机号：</label>
                <div class="col-sm-8">
                    <input name="operatorPhone" 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="operatorTel" 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="operatorSignature" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">经营者拍照：</label>
                <div class="col-sm-8">
                    <input name="operatorPhoto" 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="operatorCardAvatar" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">身份证反面：</label>
                <div class="col-sm-8">
                    <input name="operatorCardBack" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">身份证正面：</label>
                <div class="col-sm-8">
                    <input name="operatorCardFore" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">经营者认证对比分数：</label>
                <div class="col-sm-8">
                    <input name="operatorAfrScore" 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="operatorAddress" class="form-control" type="text" required>
                </div>
            </div>

            <div class="form-group">    
                <label class="col-sm-3 control-label">经营者邮编：</label>
                <div class="col-sm-8">
                    <input name="operatorZipCode" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">组成形式：</label>
                <div class="col-sm-8">
                    <select name="status" class="form-control m-b" required th:with="type=${@dict.getType('organizationType')}">
                        <option value="">所有</option>
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}">
                        </option>
                    </select>

<!--                    <select name="organizationType" class="form-control m-b" required>-->
<!--                        <option value="">所有</option>-->
<!--                    </select>-->
<!--                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">家庭成员身份证：</label>
                <div class="col-sm-8">
                    <input name="organizationCard" 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="organizationName" 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="businessScope" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">代理人名称：</label>
                <div class="col-sm-8">
                    <input name="agentName" 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="agentZipCode" 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="agentPhone" 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="agentAddress" 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="agentCardUp" 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="agentCardDown" 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="agentCardAvatar" 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="agentPhoto" 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="agentSignature" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">状态 0正常 1删除：</label>
                <div class="col-sm-8">
                    <input name="flag" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">代理人认证对比分数：</label>
                <div class="col-sm-8">
                    <input name="afrScore" 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="premisesAddr" 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="premisesCode" 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="premisesPhone" 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="employee" 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="capitalMoney" 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="alterationCompanyName" 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="alterationBusinessScope" 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="alterationPremisesAddr" 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="alterationCapitalMoney" 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="alterationOperatorName" 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="alterationQt" 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="newCompanyName" 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="newBusinessScope" 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="newPremisesAddr" 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="newCapitalMoney" 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="newOperatorName" 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="newQt" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/bg";
        $("#form-bg-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-bg-add').serialize());
            }
        }
    </script>
</body>
</html>