<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('门店管理表新增')" />
    <th:block th:include="include :: ztree-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form id="form-SXtszMdzhglStoremanagement-add" class="customize-search-form">
        <div class="customize-form-group-container">
            <div class="customize-form-group">
                <label>门店名称:</label>
                <input name="storeName" placeholder="门店名称"  id="storeName" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>门店简称:</label>
                <input name="storeShortName" placeholder="门店简称"  id="storeShortName" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>门店类型:</label>
                <input name="storeType" placeholder="门店类型"  id="storeType" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>行政区域:</label>
                <input name="administrativeArea" placeholder="行政区域"  id="administrativeArea" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>行政区域编码:</label>
                <input name="administrativeAreaCode" placeholder="行政区域编码"  id="administrativeAreaCode" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>门二维码:</label>
                <input name="qrCode" placeholder="门二维码"  id="qrCode" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>电话:</label>
                <input name="phoneNumber" placeholder="电话"  id="phoneNumber" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>营业时间:</label>
                <input name="businessHours" placeholder="营业时间"  id="businessHours" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>地址:</label>
                <input name="address" placeholder="地址"  id="address" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>经度:</label>
                <input name="longitude" placeholder="经度"  id="longitude" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>纬度:</label>
                <input name="latitude" placeholder="纬度"  id="latitude" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>门店编码:</label>
                <input name="storeCode" placeholder="门店编码"  id="storeCode" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>地图:</label>
                <input name="mapUrl" placeholder="地图"  id="mapUrl" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>所在片区:</label>
                <input name="area" placeholder="所在片区"  id="area" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>参考门店编码:</label>
                <input name="referenceStoreCode" placeholder="参考门店编码"  id="referenceStoreCode" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>门店属性:</label>
                <input name="storeAttribute" placeholder="门店属性"  id="storeAttribute" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>门店内码:</label>
                <input name="internalCode" placeholder="门店内码"  id="internalCode" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>助记码:</label>
                <input name="mnemonicCode" placeholder="助记码"  id="mnemonicCode" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>采购组织:</label>
                <input name="procurementOrganization" placeholder="采购组织"  id="procurementOrganization" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>销售组织:</label>
                <input name="salesOrganization" placeholder="销售组织"  id="salesOrganization" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>分销渠道:</label>
                <input name="distributionChannel" placeholder="分销渠道"  id="distributionChannel" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>部门:</label>
                <input name="department" placeholder="部门"  id="department" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>租赁面积:</label>
                <input name="leaseArea" placeholder="租赁面积"  id="leaseArea" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>外租面积:</label>
                <input name="externalLeaseArea" placeholder="外租面积"  id="externalLeaseArea" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>经营面积:</label>
                <input name="operatingArea" placeholder="经营面积"  id="operatingArea" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>传真:</label>
                <input name="faxNumber" placeholder="传真"  id="faxNumber" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>联系人:</label>
                <input name="contactPerson" placeholder="联系人"  id="contactPerson" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>开业日期:</label>
                <input name="openingDate" placeholder="开业日期"  id="openingDate" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>交割日期:</label>
                <input name="transferDate" placeholder="交割日期"  id="transferDate" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>关店日期:</label>
                <input name="closingDate" placeholder="关店日期"  id="closingDate" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>最近翻新改造日期:</label>
                <input name="lastRenovationDate" placeholder="最近翻新改造日期"  id="lastRenovationDate" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>门店租金:</label>
                <input name="rent" placeholder="门店租金"  id="rent" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>门店状态:</label>
                <input name="storeStatus" placeholder="门店状态"  id="storeStatus" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>社区及商住店:</label>
                <input name="communityAndResidentialStore" placeholder="社区及商住店"  id="communityAndResidentialStore" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>编制人数:</label>
                <input name="staffCount" placeholder="编制人数"  id="staffCount" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>日历:</label>
                <input name="calendar" placeholder="日历"  id="calendar" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>门店使用的系统:</label>
                <input name="systemUsed" placeholder="门店使用的系统"  id="systemUsed" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>详细地址:</label>
                <input name="detailedAddress" placeholder="详细地址"  id="detailedAddress" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>大区:</label>
                <input name="district" placeholder="大区"  id="district" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>选址商圈店型:</label>
                <input name="locationBusinessCircleStoreType" placeholder="选址商圈店型"  id="locationBusinessCircleStoreType" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>特殊业态店型:</label>
                <input name="specialBusinessType" placeholder="特殊业态店型"  id="specialBusinessType" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>营业面积分类:</label>
                <input name="businessAreaCategory" placeholder="营业面积分类"  id="businessAreaCategory" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>月销售额等级:</label>
                <input name="monthlySalesLevel" placeholder="月销售额等级"  id="monthlySalesLevel" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>医保政策分类:</label>
                <input name="medicalInsurancePolicyCategory" placeholder="医保政策分类"  id="medicalInsurancePolicyCategory" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>顾客年龄层:</label>
                <input name="customerAgeLayer" placeholder="顾客年龄层"  id="customerAgeLayer" class="styled-input" type="text">
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: ztree-js" />
<script type="text/javascript">

    function submitHandler() {
        if ($.validate.form()) {
            add();
        }
    }

    function add() {
        var data = $("#form-SXtszMdzhglStoremanagement-add").serializeArray();
        $.ajax({
            cache : true,
            type : "POST",
            url : ctx + "xtsz/sxtszmdzhglstoremanagement/sXtszMdzhglStoremanagementAdd",
            data : data,
            async : false,
            error : function(request) {
                $.modal.alertError("系统错误");
            },
            success : function(data) {
                $.operate.successCallback(data);
            }
        });
    }
</script>
</body>
</html>
