{extend name="base" /} {block name="main"}
日志信息
{if in_array($object['orderStatus'],[-2,0,1,2])}
{if $object['payType']==1}
··················>
··················>
{else}
··················>
{/if}
··················>
··················>
{volist name="$object['log']" id="lo"} {$lo['logContent']}
{$lo['logTime']} {/volist}

下单

{if $object['payType']==1}

等待支付

{/if}

商家发货

确认收货

订单结束
双方互评

{else}

{volist name='$object["log"]' id='vo'}
{$vo['logTime']} | {$vo['logContent']}
{/volist}

{/if}
订单信息

订单编号： | {$object['orderNo']}
支付方式： | {:WSTLangPayType($object['payType'])}
{if($object['payType']==1 && $object['isPay']==1)}
交易流水： | 【{:WSTLangPayFrom($object['payFrom'])}】{$object['tradeNo']}
{/if}
配送方式： | {:WSTLangDeliverType($object['deliverType'])}
{if $object['expressNo']!=''}
快递公司： | {$object['expressName']}
快递号： | {$object['expressNo']}
{/if}
买家留言： | {$object['orderRemarks']}

{:hook('adminDocumentOrderView',['orderId'=>$object['orderId']])} {if $object['isRefund']==1}
退款信息

退款备注： | {$object['refundRemark']}
退款时间： | {$object['refundTime']}

{/if}
发票信息

是否需要发票： | {if $object['isInvoice']==1}需要{else}不需要{/if}
{if $object['isInvoice']==1} {php}$invoiceArr = json_decode($object['invoiceJson'],true);{/php}
发票状态： | {if $object['isMakeInvoice']==1}已开{else}未开{/if}
发票抬头： | {if $object['isInvoice']==1} {$invoiceArr['invoiceHead']} {/if}
{if isset($invoiceArr['invoiceCode'])}
发票税号： | {$invoiceArr['invoiceCode']}
{/if} {/if}

{if ($object['orderType']==0)}
收货人信息

收货人： | {$object['userName']}
收货地址： | {$object['userAddress']}
联系方式： | {$object['userPhone']}

{/if}
商品清单
商品
单价
数量
总价
{volist name='$object["goods"]' id='vo2'} {:hook('adminDocumentOrderViewGoodsPromotion',['goods'=>$vo2])}
{if isset($vo2['url'])} {else} {/if}
{if $vo2["goodsCode"]=='gift'}【赠品】{/if}{$vo2["goodsName"]}
{:str_replace('@@_@@','
',$vo2["goodsSpecNames"])}
¥{$vo2['goodsPrice']}
{$vo2['goodsNum']}
¥{$vo2['goodsPrice']*$vo2['goodsNum']}
{if $vo2['goodsType']==1 && $object['orderStatus']==2}

{volist name='$vo2["extraJson"]' id='vgcard'}
卡券号：{$vgcard['cardNo']} | 卡券密码：{$vgcard['cardPwd']}
{/volist}

{/if} {/volist}
{if $from == 0}
{/if}
{/block}