订单操作:
<{if $orderInfo.ship_status != 0 || $orderInfo.status != 'active' || $orderInfo.process_status == 'cancel'}> <{button label="订单取消" disabled="disabled"}>  <{else}> <{button label="订单取消" onclick="new Dialog('index.php?ctl=admin_order&act=do_cancel&app=ome&p[0]={$orderInfo.order_id}&finder_id={$env.get.finder_id}',{width:700,height:300,title:'订单取消'})"}>  <{/if}>
<{if ($orderInfo.pay_status != 1 && $orderInfo.pay_status != 3 && $orderInfo.pay_status != 4) || $orderInfo.status != 'active' || $orderInfo.process_status == 'cancel'}> <{button label="退款申请" disabled="disabled"}>  <{else}> <{button label="退款申请" onclick="new Dialog('index.php?ctl=admin_refund_apply&act=request&app=ome&p[0]={$orderInfo.order_id}&finder_id={$env.get.finder_id}',{width:800,height:550,title:'订单{$orderInfo.order_bn}的退款申请',onLoad:function(){ $('back_url').set('value','order_confirm'); }})" }>  <{/if}>
<{foreach from=$item_list item=objs key=obj_type}>

<{$object_alias[$obj_type]}>

<{if $obj_type == 'pkg'}> <{foreach from=$objs item=obj}> <{foreach from=$obj.order_items item=item}> style="background-color: rgb(216, 216, 216);"<{/if}> > <{/foreach}> <{/foreach}> <{else}> <{foreach from=$objs item=obj}> <{foreach from=$obj.order_items item=item}> style="background-color: rgb(216, 216, 216);"<{/if}>> <{/foreach}> <{/foreach}> <{/if}>
<{t}>货号<{/t}> <{t}>商品名称<{/t}> <{t}>购买量<{/t}> <{t}>调整货号<{/t}>
<{$obj.bn}> <{$obj.name}> <{$obj.quantity}> -
<{$item.bn}> <{if $item.product_id <= 0}> <{/if}> <{$item.name}> <{$item.nums}> <{if $item.product_id <= 0}> <{if $shop_type == 'shopex'}> <{$item.bn}><{if $item.status == 0}>货品不存在,请维护<{/if}> <{else}> <{/if}> <{else}>已修正<{/if}>
class="<{$item.item_type}>"<{/if}>><{$item.bn}> <{if $item.product_id <= 0}> <{/if}> <{$item.name}> <{$item.nums}> <{if $item.product_id <= 0}> <{if $shop_type == 'shopex'}> <{$item.bn}><{if $item.status == 0}>货品不存在,请至前端修改或在ERP里新增同货号货品维护<{/if}> <{else}> disabled="disabled"<{/if}> /> <{/if}> <{else}>已修正<{/if}>
<{/foreach}> <{if $orderInfo.process_status != 'cancel'}>
<{if $orderInfo.edit_status == 'true'}> <{button type="button" id="editsubmit" label="修改提交"}> <{button type="button" id="batchsubmit" label="批量修改提交"}> 调整完的货号通批量修改,可以更新全部订单包含的此货号 <{else}> <{button type="button" id="editsubmit" label="修改提交" disabled="disabled"}> <{button type="button" id="batchsubmit" label="批量修改提交" disabled="disabled"}> 系统正在处理此订单,暂不能进行调整! <{/if}>
<{/if}>