<{foreach from=$trade.orders item=item}> <{if $item.gift_data}> <{foreach from=$item.gift_data item=giftdata}> <{/foreach}> <{/if}> <{/foreach}>
货号 商品名称 单价 数量 原价 状态 售后
<{$item.bn}> <{$item.price|cur}> <{$item.num}> <{$item.total_fee|cur}> <{if $item.status == "WAIT_BUYER_PAY"}>等待买家付款 <{elseif $item.status == "WAIT_SELLER_SEND_GOODS"}> <{if $trade.pay_type == "offline"}>未付款(货到付款),待发货 <{elseif $trade.pay_type == "online"}>买家已付款,请发货 <{/if}> <{elseif $item.status == "WAIT_BUYER_CONFIRM_GOODS"}>已发货,等待买家确认收货 <{elseif $item.status == "TRADE_FINISHED"}> 交易完成<{if $item.aftersales_status == "SUCCESS"}> 发生售后退款:<{$item.refund_fee|cur}><{/if}> <{elseif $item.status == "TRADE_CLOSED_AFTER_PAY"}>退款并交易关闭 <{elseif $item.status == "TRADE_CLOSED_BEFORE_PAY"}>交易关闭 <{/if}> <{if $item.aftersales_status}> <{if $item.aftersales_status == 'WAIT_SELLER_AGREE' }> 等待审核 <{elseif $item.aftersales_status == 'WAIT_BUYER_RETURN_GOODS' }> 等待买家退货 <{elseif $item.aftersales_status == 'WAIT_SELLER_CONFIRM_GOODS' }> 买家已退货,待确认 <{elseif $item.aftersales_status == 'SUCCESS' }> 退款完成 <{elseif $item.aftersales_status == 'SELLER_REFUSE_BUYER' }> 拒绝退款 <{elseif $item.aftersales_status == 'SELLER_SEND_GOODS' }> 换货完成 <{elseif $item.aftersales_status == 'CLOSED' }> 退款关闭 <{elseif $item.aftersales_status == 'REFUNDING' }> 等待平台退款 <{/if}> <{else}> 未申请售后 <{/if}>
<{$giftdata.bn}> <{0|cur}> <{$giftdata.gift_num}> <{0|cur}>
配送费用:<{$trade.post_fee|cur}>     商品总额:<{$trade.total_fee|cur}>