@using MySystem.Models;
@{KqProductRuleSet editData = ViewBag.data as KqProductRuleSet;}
@{
    string RightInfo = ViewBag.RightInfo as string;
    string right = ViewBag.right as string;
    string OrgId = ViewBag.OrgId as string;

}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>产品规则配置(修改)</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/layuiadmin/layui/css/layui.css" media="all">
    <script src="/admin/js/jquery-1.10.1.min.js"></script>
    <script src="/admin/js/LAreaData2.js"></script>
</head>
<body>

    <div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
        <input type="hidden" name="Id" value="@editData.Id" />
        <input type="hidden" name="OrgId" value="@OrgId" />

        <div class="layui-card">
          <div class="layui-card-body">
            <div class="layui-tab" lay-filter="mytabbar">
                <ul class="layui-tab-title">
                    <li class="layui-this" lay-id="1">基本信息</li><li lay-id="5">商户达标返</li><li lay-id="10">激活奖励</li><li lay-id="17">开机奖励</li><li lay-id="23">循环机</li><li lay-id="27">拉新</li><li lay-id="30">提大货</li><li lay-id="32">分润补贴</li><li lay-id="34">流量卡</li><li lay-id="40">扶植期/稳定期</li><li lay-id="45">费率</li>
                </ul>
                <div class="layui-tab-content mt20">
                    <div class="layui-tab-item layui-show">
<div class="layui-form-item">
<label class="layui-form-label">押金</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="Deposit" name="Deposit" value="@editData.Deposit" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入押金">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动政策台数</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="ActiveCount" name="ActiveCount" value="@editData.ActiveCount" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入活动政策台数">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动政策价格</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="ActivePrice" name="ActivePrice" value="@editData.ActivePrice" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入活动政策价格">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">活动开始时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="MerStaStartDate" name="MerStaStartDate" value="@(editData.MerStaStartDate == null ? "" : editData.MerStaStartDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动开始时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动结束时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="MerStaEndDate" name="MerStaEndDate" value="@(editData.MerStaEndDate == null ? "" : editData.MerStaEndDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动结束时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">达标奖励</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="MerStaProfit" name="MerStaProfit" value="@editData.MerStaProfit" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入达标奖励">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">激活后达标月</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="MerStaMonths" name="MerStaMonths" value="@editData.MerStaMonths" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入激活后达标月">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">激活后每月达标交易</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="MerStaTradeForMonth" name="MerStaTradeForMonth" value="@editData.MerStaTradeForMonth" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入激活后每月达标交易">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">活动开始时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="ActStartDate" name="ActStartDate" value="@(editData.ActStartDate == null ? "" : editData.ActStartDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动开始时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动结束时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="ActEndDate" name="ActEndDate" value="@(editData.ActEndDate == null ? "" : editData.ActEndDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动结束时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">激活押金</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="ActDeposit" name="ActDeposit" value="@editData.ActDeposit" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入激活押金">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">激活首刷</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="ActFirst" name="ActFirst" value="@editData.ActFirst" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入激活首刷">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">激活首刷押金</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="ActFirstDeposit" name="ActFirstDeposit" value="@editData.ActFirstDeposit" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入激活首刷押金">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">激活奖励金额</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="ActPrize" name="ActPrize" value="@editData.ActPrize" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入激活奖励金额">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">激活赠机台数</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="ActPosCount" name="ActPosCount" value="@editData.ActPosCount" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入激活赠机台数">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">活动开始时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="OpenStartDate" name="OpenStartDate" value="@(editData.OpenStartDate == null ? "" : editData.OpenStartDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动开始时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动结束时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="OpenEndDate" name="OpenEndDate" value="@(editData.OpenEndDate == null ? "" : editData.OpenEndDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动结束时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">达标天数</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="OpenStaDays" name="OpenStaDays" value="@editData.OpenStaDays" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入达标天数">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">达标交易</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="OpenStaTrade" name="OpenStaTrade" value="@editData.OpenStaTrade" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入达标交易">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">达标奖励1</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="OpenStaPrize" name="OpenStaPrize" value="@editData.OpenStaPrize" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入达标奖励1">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">达标奖励2</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="OpenStaPrize2" name="OpenStaPrize2" value="@editData.OpenStaPrize2" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入达标奖励2">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">活动开始时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="CycleStartDate" name="CycleStartDate" value="@(editData.CycleStartDate == null ? "" : editData.CycleStartDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动开始时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动结束时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="CycleEndDate" name="CycleEndDate" value="@(editData.CycleEndDate == null ? "" : editData.CycleEndDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动结束时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">是否允许划拨给他人</label>
<div class="layui-input-block">
<input type="checkbox" id="CycleIsOther" name="CycleIsOther" value="1" @(editData.CycleIsOther == 1 ? "checked=checked" : "") lay-skin="switch" lay-filter="switchTest" title="开关">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">领机天数</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="CyclePosDays" name="CyclePosDays" value="@editData.CyclePosDays" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入领机天数">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">活动开始时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="PullNewStartDate" name="PullNewStartDate" value="@(editData.PullNewStartDate == null ? "" : editData.PullNewStartDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动开始时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动结束时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="PullNewEndDate" name="PullNewEndDate" value="@(editData.PullNewEndDate == null ? "" : editData.PullNewEndDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动结束时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">延长领机天数</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="PullNewExtendDays" name="PullNewExtendDays" value="@editData.PullNewExtendDays" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入延长领机天数">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">兑换机起始价</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="BigTotalAmount" name="BigTotalAmount" value="@editData.BigTotalAmount" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入兑换机起始价">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">延长循环周期天数</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="BigExtendCycleDays" name="BigExtendCycleDays" value="@editData.BigExtendCycleDays" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入延长循环周期天数">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">活动开始时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="SubsidyStartDate" name="SubsidyStartDate" value="@(editData.SubsidyStartDate == null ? "" : editData.SubsidyStartDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动开始时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动结束时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="SubsidyEndDate" name="SubsidyEndDate" value="@(editData.SubsidyEndDate == null ? "" : editData.SubsidyEndDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动结束时间">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">活动开始时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="FlowCardStartDate" name="FlowCardStartDate" value="@(editData.FlowCardStartDate == null ? "" : editData.FlowCardStartDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动开始时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动结束时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="FlowCardEndDate" name="FlowCardEndDate" value="@(editData.FlowCardEndDate == null ? "" : editData.FlowCardEndDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动结束时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">免收天数</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="FlowCardFreeDays" name="FlowCardFreeDays" value="@editData.FlowCardFreeDays" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入免收天数">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">费用</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="FlowCardFee" name="FlowCardFee" value="@editData.FlowCardFee" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入费用">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">扣费频率（天）</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="FeeOfDays" name="FeeOfDays" value="@editData.FeeOfDays" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入扣费频率（天）">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">直属上级返佣</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="FlowCardDirectProfit" name="FlowCardDirectProfit" value="@editData.FlowCardDirectProfit" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入直属上级返佣">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">活动开始时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="HelpStartDate" name="HelpStartDate" value="@(editData.HelpStartDate == null ? "" : editData.HelpStartDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动开始时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">活动结束时间</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="HelpEndDate" name="HelpEndDate" value="@(editData.HelpEndDate == null ? "" : editData.HelpEndDate.Value.ToString("yyyy-MM-dd HH:mm:ss"))" lay-verify="" autocomplete="off" placeholder="请输入活动结束时间">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">计算自然月</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="HelpMonths" name="HelpMonths" value="@editData.HelpMonths" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入计算自然月">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">扶植期费率</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="HelpFee" name="HelpFee" value="@editData.HelpFee" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入扶植期费率">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">稳定期费率</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="HelpSteadyFee" name="HelpSteadyFee" value="@editData.HelpSteadyFee" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入稳定期费率">
</div>
</div>

</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">绑定起天数</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="FeeBindDays" name="FeeBindDays" value="@editData.FeeBindDays" maxlength="20" lay-verify="required,int," autocomplete="off" placeholder="请输入绑定起天数">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">固定手续费</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="FeeFixed" name="FeeFixed" value="@editData.FeeFixed" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入固定手续费">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">费率</label>
<div class="layui-input-inline">
<input class="layui-input" type="text" id="FeeRate" name="FeeRate" value="@editData.FeeRate" maxlength="20" lay-verify="required,number," autocomplete="off" placeholder="请输入费率">
</div>
</div>

</div>

                </div>
            </div>
            <div class="layui-form-item layui-hide">
                <input type="button" lay-submit lay-filter="LAY-list-front-submit" id="LAY-list-front-submit" value="确认">
            </div>
          </div>
        </div>
    </div>

    <script src="/layuiadmin/layui/layui.js"></script>
    <script src="/other/oss/upload-min@(MySystem.OssHelper.Instance.OssStatus ? "-oss" : "").js?r=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
    <script src="/other/mybjq/kindeditor-min.js"></script>
    <script src="/other/mybjq/lang/zh_CN.js"></script>
    <script>
        
        
        //编辑器
        KindEditor.ready(function (K) {
            
        });

        var ids = "";
        function getChildren(obj) {
            $.each(obj, function (index, value) {
                var id = obj[index].id;
                ids += id + ",";
                var children = obj[index].children;
                if (children) {
                    getChildren(children);
                }
            });
        }

        function AreasProvinceInit(tagId, areasVal, form) {
            for (var i = 0; i < provs_data.length; i++) {
                var sel = "";
                if (areasVal.indexOf(provs_data[i].text) > -1) {
                    sel = " selected=selected";
                }
                $("#" + tagId + "Province").append('<option value="' + provs_data[i].value + '"' + sel + '>' + provs_data[i].text + '</option>');
            }
            form.render();
        }

        function AreasProvinceSelected(tagId, areasVal, form, value) {
            $("#" + tagId + "City").html('<option value="">市</option>');
            var list = citys_data[value];
            for (var i = 0; i < list.length; i++) {
                var sel = "";
                if (areasVal.indexOf(list[i].text) > -1) {
                    sel = " selected=selected";
                }
                $("#" + tagId + "City").append('<option value="' + list[i].value + '"' + sel + '>' + list[i].text + '</option>');
            }
            $("#" + tagId + "Area").html('<option value="">县/区</option>');
            form.render();
            $("#" + tagId + "").val($("#" + tagId + "Province option:selected").text() + "," + $("#" + tagId + "City option:selected").text() + "," + $("#" + tagId + "Area option:selected").text());
        }

        function AreasCitySelected(tagId, areasVal, form, value) {
            $("#" + tagId + "Area").html('<option value="">县/区</option>');
            var list = dists_data[value];
            for (var i = 0; i < list.length; i++) {
                var sel = "";
                if (areasVal.indexOf(list[i].text) > -1) {
                    sel = " selected=selected";
                }
                $("#" + tagId + "Area").append('<option value="' + list[i].value + '"' + sel + '>' + list[i].text + '</option>');
            }
            form.render();
            $("#" + tagId + "").val($("#" + tagId + "Province option:selected").text() + "," + $("#" + tagId + "City option:selected").text() + "," + $("#" + tagId + "Area option:selected").text());
        }

        function AreasAreaSelected(tagId, form) {
            form.render();
            $("#" + tagId + "").val($("#" + tagId + "Province option:selected").text() + "," + $("#" + tagId + "City option:selected").text() + "," + $("#" + tagId + "Area option:selected").text());
        }
        function movePrev(obj, tagId) {
            $(obj).parent().prev().insertAfter($(obj).parent());
            checkPics(tagId);
        }
        function moveNext(obj, tagId) {
            $(obj).parent().next().insertBefore($(obj).parent());
            checkPics(tagId);
        }
        function deletePic(obj, tagId) {
            $(obj).parent().remove();
            checkPics(tagId);
        }
        function checkPics(tagId) {
            var pics = "";
            var texts = "";
            $("#" + tagId + "Image div img").each(function (i) {
                pics += $(this).attr("src").replace(osshost, '') + "|";
            });
            $("#" + tagId + "Image div input").each(function (i) {
                texts += $(this).val() + "|";
            });
            if (pics == "") {
                $("#" + tagId).val("");
            } else {
                pics = pics.substring(0, pics.length - 1);
                texts = texts.substring(0, pics.length - 1);
                $("#" + tagId).val(pics + "#cut#" + texts);
            }
        }
        function checkBox(tagId) {
            var text = "";
            $("input[type=checkbox][name=" + tagId + "List]:checked").each(function (i) {
                text += $(this).val() + ",";
            });
            $("#" + tagId).val(text);
        }
        function showBigPic(picpath) {
            parent.layer.open({
                type: 1,
                title: false,
                closeBtn: 0,
                shadeClose: true,
                area: ['auto', 'auto'],
                content: '<img src="' + picpath + '" style="max-width:800px; max-height:800px;" />'
            });
        }

        var tree;
        var element;
        var upload;
        layui.config({
            base: '/layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index' //主入口模块
        }).use(['index', 'form', 'upload', 'layedit', 'laydate', 'element', 'croppers', 'transfer', 'tree', 'util'], function () {
            var $ = layui.$
                , form = layui.form
                , layer = layui.layer
                , layedit = layui.layedit
                , laydate = layui.laydate
                , croppers = layui.croppers
                , transfer = layui.transfer
                , util = layui.util;
            tree = layui.tree;
            element = layui.element;
            upload = layui.upload;
        
            //Hash地址的定位
            var layid = location.hash.replace(/^#test=/, '');
            element.tabChange('test', layid);
            element.on('tab(test)', function (elem) {
                location.hash = 'test=' + $(this).attr('lay-id');
            });
    
            //日期
            laydate.render({
elem: '#MerStaStartDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#MerStaEndDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#ActStartDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#ActEndDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#OpenStartDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#OpenEndDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#CycleStartDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#CycleEndDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#PullNewStartDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#PullNewEndDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#SubsidyStartDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#SubsidyEndDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#FlowCardStartDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#FlowCardEndDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#HelpStartDate',
type: 'datetime',
trigger: 'click'
});
laydate.render({
elem: '#HelpEndDate',
type: 'datetime',
trigger: 'click'
});


            //上传文件
            

            //穿梭框
            

            //TreeView，比如权限管理
            

            //省市区
            
        })

    </script>
</body>
</html>