<{button label="添加促销规则" href="index.php?ctl=sale/promotion&act=addPromotion&p[0]=0&p[1]={$active_id}"}> <{button label="删除选中" type='button' onclick="if(!document.id('pmts_list_form').toQueryString()){MessageBox.error('请选择要删除的项')}else{document.id('pmts_list_form').fireEvent('submit')}"}> <{if count($pmts)}>

<{t}>操作<{/t}> | <{t}>规则描述<{/t}> | <{t}>起始时间<{/t}> | <{t}>截止时间<{/t}>
--- | --- | --- | ---
<{foreach from=$pmts item=promotion}>
编辑 | <{$promotion.pmt_describe}> | <{$promotion.pmt_time_begin|cdate}> | <{$promotion.pmt_time_end|cdate}>
<{/foreach}>

<{else}>
<{t}>没有已关联的促销规则<{/t}>
<{/if}>