<{capture name="header"}> <{lang_script src="lang.js" app='b2c'}> <{script src="goodseditor.js" app="b2c"}> <{script src="coms/pager.js" app='desktop'}> <{script src="coms/datapicker.js" app='desktop'}> <{/capture}>

<{t}>基本信息<{/t}>

style="display:none" <{/if}> > style="display:none" <{/if}>>
*<{t}>预售商品:<{/t}>
<{if !$goods.goods_id}> <{input name="goods_id" type="object" object=goods breakpoint=0 app=b2c cols="name" filter=$filter callback='_callback_prepare' value=$ruleInfo.goods_id textcol="name" view="b2c:admin/goods/rows.html"}> <{help}><{t}>您必须选择无库存也可销售的商品作为预售商品<{/t}><{/help}> <{/if}>
*<{t}>规则名称:<{/t}> <{input type="text" name="preparename" style="width:120px" required="true" vtype='required' value=$ruleInfo.preparename}>
<{t}>规则描述:<{/t}> <{input type="textarea" style=" width:50%" class="inputstyle" name="description" value=$ruleInfo.description rows="8"}>
*<{t}>支付定金开始时间:<{/t}> <{input type="hour" name="begin_time" value=$ruleInfo.begin_time vtype="required"}>
*<{t}>支付定金结束时间:<{/t}> <{input type="hour" name="end_time" value=$ruleInfo.end_time vtype="required"}>
*<{t}>支付尾款开始时间:<{/t}> <{input type="hour" name="begin_time_final" value=$ruleInfo.begin_time_final vtype="required"}>
*<{t}>支付尾款结束时间:<{/t}> <{input type="hour" name="end_time_final" value=$ruleInfo.end_time_final vtype="required"}>
*<{t}>是否设置预售提醒:<{/t}> <{input type="bool" class="act-remind" name="ruledata[remind]" value=$ruleInfo.remind}>
<{t}>发送提醒方式:<{/t}> <{foreach from=$remind_way item=remind key=key}> <{/foreach}> 默认站内信提醒
<{t}> 于支付尾款开始时间前:<{/t}> <{input type="text" name="remind_time" vtype="unsigned" value=$ruleInfo.remind_time size="5"}>小时发送提醒短信提醒
*<{t}>下单后多长时间订单自动失效:<{/t}> <{input type="unsignedint" name="timeout" value=$ruleInfo.timeout size="5" vtype="required"}>小时
*<{t}>启用状态:<{/t}> <{input type="bool" name="status" value=$ruleInfo.status}>
<{include file="admin/preparesell/spec/spec.html" app="preparesell"}>
<{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}>