{if empty($item['statusvalue'])}
{ifp 'order.op.pay'}
{if $item['paytypevalue']==3}
确认发货
{else}
{if $item['ismerch'] == 0}
确认付款
{/if}
{/if}
{/if}
{elseif $item['statusvalue'] == 1}
{if !empty($item['addressid']) }
{ifp 'order.op.send'}
确认发货
{/if}
{else}
{if $item['isverify']==1}
{ifp 'order.op.verify'}
确认使用
{/if}
{else}
{ifp 'order.op.fetch'}
确认{if !empty($item['ccard'])}充值{else}取货{/if}
{/if}
{/if}
{/if}
{if $item['sendtype'] > 0}
{ifp 'order.op.sendcancel'}
取消发货
{/if}
{/if}
{elseif $item['statusvalue'] == 2 }
{if !empty($item['addressid'])}
{if $detial_flag == 1 && $item['status']!=3}
{ifp 'order.op.send'}修改物流 {/if}
{/if}
{ifp 'order.op.finish'}{if strexists($_W['action'],'order.list')}{/if}确认收货{/if}
{ifp 'order.op.sendcancel'}{if strexists($_W['action'],'order.list')}
{/if}
取消发货{/if}
{else}
{php $isonly = m('order')->checkisonlyverifygoods($item['id'])}
{if $isonly}
{ifp 'order.op.finish'}{if strexists($_W['action'],'order.list')}{/if}确认完成{/if}
{/if}
{/if}
{elseif $item['statusvalue'] == 3}
{/if}