*<{t}>规则名称：<{/t}> | <{input type="text" name="ruledata[name]" style="width:120px" required="true" vtype='required' value=$ruleInfo.name}>
*<{t}>规则描述：<{/t}> | <{input type="textarea" style=" width:50%" class="inputstyle" name="ruledata[description]" value=$ruleInfo.description rows="8"}>
*<{t}>启用状态：<{/t}> | <{input type="bool" name="ruledata[status]" value=$ruleInfo.status}>
*<{t}>发布时间：<{/t}> | <{input type="time" name="release_time" value=$ruleInfo.release_time vtype="required"}>
*<{t}>开始时间：<{/t}> | <{input type="time" name="begin_time" value=$ruleInfo.begin_time vtype="required"}>
*<{t}>结束时间：<{/t}> | <{input type="time" name="end_time" value=$ruleInfo.end_time vtype="required"}>
<{t}>发送开团提醒方式：<{/t}> | <{foreach from=$remind_way item=remind key=key}> checked<{/if}>/><{$remind}> <{/foreach}>
<{t}> 提前多长时间发送开团提醒：<{/t}> | <{input type="unsignedint" name="ruledata[remind_time]" value=$ruleInfo.remind_time size="5"}>小时
*<{t}>每人限购：<{/t}> | <{input type="text" name="ruledata[limit]" value=$ruleInfo.limit size="5"}>件
<{t}>是否显示倒计时：<{/t}> | <{input type="bool" name="ruledata[cdown]" value=$ruleInfo.cdown}>
<{t}>是否显示市场价：<{/t}> | <{input type="bool" name="ruledata[mprice]" value=$ruleInfo.mprice}>
<{t}>是否开启验证码机制：<{/t}> | <{input type="bool" name="ruledata[vcode]" value=$ruleInfo.vcode}>
<{t}>初始销售量：<{/t}> | <{input type="unsignedint" vtype="required" name="ruledata[initial_num]" value=$ruleInfo.initial_num size="5"}> 或 <{button label="随机生成" class="act-random"}>
<{t}>是否开启自动关闭订单功能：<{/t}> | <{input type="bool" name="ruledata[iftimeout]" value=$ruleInfo.iftimeout class="act-autoclose"}> <{input type="unsignedint" name="ruledata[timeout]" value=$ruleInfo.timeout size="5" vtype="required" style="display:none"}>
<{t}>促销类型：<{/t}> | <{foreach from=$promotins_type item=name key=id}> checked<{/if}> class="act-custom"> <{$name}> <{/foreach}> 自定义
<{t}>促销商品：<{/t}> | <{input type="object" name="ruledata[promotion_pro]" object="products" app="b2c" select="checkbox" vtype="required" textcol="name" cols="name" filter="goods_type=normal" view="starbuy:admin/promotions/new_items.html" multiple="true" extend=$extend value=$ruleInfo.promotion_pro}>

<{capture name='footbar'}>

<{assign var="___a" value="关 闭"}> <{assign var="___c" value=$___b2c='确定退出?'|t:'b2c'}> <{button label=$___b2c="保存并关闭窗口"|t:'b2c' class="btn-primary" type="button" id="submitForm" onclick="submitForm(event,2)"}> <{button label=$___content=$___a|t:'content' class="btn-secondary" type="button" onclick="if(confirm('{$___c}'))window.close()"}>

<{/capture}>