<{input type="hidden" value="{$purchase.act_id}" name="act_id"}> <{input type="hidden" value="{$purchase.buy}" name="buy"}>

<{t}>团购商品<{/t}> | <{input breakpoint="0" type="object" object=goods name="gid" app=b2c cols="name" return_url="{$return_url}" filter='marketable=true' callback='_callback' cols="name,spec_info" value="{$purchase.gid}" textcol="name" view="b2c:admin/goods/rows.html"}> |

*<{t}>活动开始时间<{/t}> | <{input type="time" required="true" vtype='required' name="start_time" value="{$purchase.start_time}" }>
*<{t}>活动结束时间<{/t}> | <{input type="time" required="true" vtype='required' name="end_time" value="{$purchase.end_time}" }>
*<{t}>初始销售量<{/t}> | <{input type="text" vtype="required&&unsignedint" required="true" name="start_value" value="{$purchase.start_value}" }>设置初始销售量，使得团购商品已售出数量不再为0，吸引顾客放心参加团购。
*<{t}>活动最少数量<{/t}> | <{input type="text" vtype="required&&unsignedint" required="true" name="min_buy" value="{$purchase.min_buy}" }>
*<{t}>活动最多数量<{/t}> | <{input type="text" vtype="required&&digits" required="true" name="max_buy" value="{$purchase.max_buy}"}>达到此数量，团购活动自动结束。
style="display:none;"<{/if}> > <{t}>赠送积分数<{/t}> | <{input type="unsigned" name="score" vtype="unsigned" value="{$purchase.score}"}>留空则使用系统积分设置。
*<{t}>价格<{/t}> | <{input type="text" name="price" vtype="required&&positive" value="{$purchase.price}" }> 原始价格:<{$goods.price}>
<{t}>邮费优惠<{/t}> | <{input type="radio" name="pro_type" options=$data.pro_type value="{$purchase.pro_type}" }> style="display:none;"<{/if}> > 单笔订单购买达到 <{input type="text" vtype="unsigned" value="{$purchase.postage}" name="postage"}>时该订单免运费
活动对象 | <{if $security_guest_enabled=='true'}> checked="checked"<{/if}> value="true" >所有顾客 <{/if}> checked="checked"<{/if}> value="false">仅会员
style="display:none;"<{/if}> > | <{foreach from=$member_level item=ml}> <{if in_array($ml.member_lv_id,$purchase.member_lv_ids)}>checked="checked"<{/if}> <{/if}> name="member_lv_ids[]" /><{$ml.name}> <{/foreach}>
style="display:none"<{/if}> > 每人限购 | <{input type="text" size='4' name="userlimit" value=$purchase.userlimit required="true" vtype="digits" }>
style="display:none"<{/if}> > 每单限购 | <{input type="text" size='4' name="orderlimit" value=$purchase.orderlimit required="true" vtype="digits" }>

<{t}>活动说明<{/t}> | <{input type="html" name="intro" value="{$purchase.intro}"}>

<{t}>活动开启状态<{/t}> | <{input type="radio" options=$data.act_open value="{$purchase.act_open}" name="act_open" required=true}>

<{button label="保存" type="button" id="groupactivity-btn" }> <{button label="取消" id="groupactivity-cancel"}>