{rendie:strip}
{rendie:load 顶部.html}
{rendie:load 采集/头部.html}

选择 | 优惠券名 | 面值 | 订单下限 | 发放方式 | 发放数量 | 有效期 | 状态 | 管理操作
{rendie:shopcouponlist size=25 page=2}
[shopcouponlist:id] | [shopcouponlist:name] | [shopcouponlist:FaceValue]元 | [shopcouponlist:minamount]元 | {if:"[shopcouponlist:CouponType]"=="0"}按用户发放{elseif:"[shopcouponlist:CouponType]"=="1"}线下发放{elseif:"[shopcouponlist:CouponType]"=="2"}按订单金额发放 {elseif:"[shopcouponlist:CouponType]"=="3"}新会员自动发放{else}未知{end if} | {rendie:ShopCouponUserlist where=" Where {pre}CouponId=[shopcouponlist:id]"} [ShopCouponUserlist:count(*)] {/rendie:ShopCouponUserlist} | [shopcouponlist:begindate] 至 [shopcouponlist:enddate] | {if:1>0} 已过期{elseif:[shopcouponlist:status]==1} 正常{else}禁用{end if} | {rendie:typelist where=" where {pre}type=3 and {pre}upid={rendie:arr(1)} order by {pre}sort asc"} [typelist:name] | {/rendie:typelist} 删除
{/rendie:shopcouponlist}
{rendie:load 分页.html}

{rendie:load 尾部.html}
{/rendie:strip}