{layout name="layout" /} {foreach $order as $key => $rs}
{if $rs.paid_at == 1 && $rs.express_status == 0} {if $rs.is_entrust} 立即发货 {else}
{/if} {else}
{/if} {if $rs.paid_at == 1 && $rs.express_status == 1 && $rs.status == 0}
{else}
{/if}
{if $rs.paid_at == 0 && $rs.is_del ==0}
{/if}

{$rs.order_starttime} 订单号 : {$key} | {if $rs.is_del ==1} 已删除 {else} {if $rs.status == 1} 已完成 {else} {if $rs.paid_at} {if $rs.express_status} 已发货 {else} {if $rs.is_entrust == 1} 待发货 [ 已寄卖 ] {elseif $rs.is_entrust == 2} 待发货 [ 不寄卖 ] {else} 待确认 {/if} {/if} {else} 待付款 {/if} {/if} {/if}
收货人：{$rs.express_name} / {$rs.express_phone} 收货地址：{$rs.express_address} | {if $rs.express_status}物流公司：{$rs.express_company} {if $rs.express_no}快递单号：{$rs.express_no}{/if}{/if}
商品 | 单价 | 小计
--- | --- | ---
{$rs.item.name} {if $rs.is_entrust} {if $rs.fusion_state == 1} 寄卖中 {else} 已提货 {/if} {else} 待提货 {/if} ￥{$rs.item.amount} {foreach $rs.gift as $key => $vo} {$vo.name} {if $rs.is_entrust} {if $rs.fusion_state == 1} 已提货 {else} {if $rs.entrust[$key] == true} 寄卖中 {else} 已提货 {/if} {/if} {else} 待提货 {/if} ￥{$vo.sale_price} {/foreach} | ￥{$rs.order_amount} | ￥{$rs.real_amount}

{/foreach}