{template '_header'}
{ifp 'shop.dispatch.add'} 添加配送方式 {/if}

配送方式管理

{if count($list)>0} {loop $list $item} {if $item['calculatetype']==0} {else} {/if} {/loop}
顺序 名称 计费方式 首重(首件)价格 续重(续件)价格 状态 默认 操作
{ifp 'shop.dispatch.edit'} {$item['displayorder']} {else} {$row['displayorder']} {/if} {$item['dispatchname']}按重量计费 {$item['firstprice']} {$item['secondprice']}按件计费 {$item['firstnumprice']} {$item['secondnumprice']} 1,'id'=>$item['id']))}' data-switch-value1='1|启用|label label-success|{php echo webUrl('shop/dispatch/enabled',array('enabled'=>0,'id'=>$item['id']))}' {/if}> {if $item['enabled']==1}启用{else}禁用{/if} 1,'id'=>$item['id']))}' data-switch-value1='1|是|label label-success defaults|{php echo webUrl('shop/dispatch/setdefault',array('isdefault'=>0,'id'=>$item['id']))}' data-switch-css='.defaults' data-switch-other = 'true' {/if}> {if $item['isdefault']==1}是{else}否{/if} {ifp 'shop.dispatch.view|shop.dispatch.edit'} {ifp 'shop.dispatch.edit'}修改{else}查看{/if} {/if} {ifp 'shop.dispatch.delete'} 删除 {/if}
{$pager}
{else}
暂时没有任何配送方式!
{/if}
{template '_footer'}