{include file="header.htm" /}
{include file="bar.htm" /}
新增优惠券
{$searchform.hidden|default=''}

| 优惠券名称 | 优惠券类型 | 优惠规则 | 会员限制 | 库存数量 | 已领取数量 | 有效期 | 启用 | 操作 | 操作
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---

{empty name="list"}
{else/} {foreach name="list" item="vo" key="k" }
| {$vo.coupon_name} | {if condition='1 == $vo.coupon_type'} 全站通用 {elseif condition='2 == $vo.coupon_type' /} 指定商品 {elseif condition='3 == $vo.coupon_type' /} 指定分类 {/if} | {eq name="$vo.coupon_form" value="1"} 满{$vo.conditions_use}减{$vo.coupon_price} {else /} {notempty name="$vo.conditions_use"}满{$vo.conditions_use}{else /}无门槛{/notempty}打{$vo.coupon_discount}折 {/eq} | {notempty name="$vo.redeem_authority"}是{else /}否{/notempty} | {$vo.coupon_stock} | {$vo.geted|default=0} | {$vo.start_date|MyDate='Y-m-d H:i:s',###} 至 {$vo.end_date|MyDate='Y-m-d H:i:s',###} | {eq name="$vo['status']" value='1'} 是 {else /} 否 {/eq} | {eq name="$Think.const.CONTROLLER_NAME.'@edit'|is_check_access" value="1"} 编辑 {/eq} {eq name="$Think.const.CONTROLLER_NAME.'@del'|is_check_access" value="1"} 删除 {else /} 删除 {/eq} | {eq name="$Think.const.CONTROLLER_NAME.'@edit'|is_check_access" value="1"} {else /} {$vo.sort_order} {/eq}
{/foreach} {/empty}

批量删除
{$pageStr}

##### 共有{$pager->totalRows}条,每页显示

{include file="footer.htm" /}