{extend name="../../admin/view/main"} {block name="button"} 发货地址管理 {/block} {block name="content"}

{foreach ['ta'=>'全部订单','t1'=>'等待发货','t2'=>'已经发货','t0'=>'已经取消'] as $k => $v} {if isset($type) and 't'.$type eq $k}
- {$v}{$total[$k]??0}
{else}
- {$v}{$total[$k]??0}
{/if}{/foreach}

{include file='shop/send/index_search'}

{notempty name='list'}
| 用户信息 | 收货信息 | 发货状态 |
--- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}

用户昵称：{$vo.user.nickname|default='-'}[ VIP{$vo.user.vip_code} ] {$vo.user.vip_name}
用户手机：{$vo.user.phone|default='-'}
订单单号：{$vo.order_no|default='-'}

{notempty name='vo.address_idcode'}
身份证号：{$vo.address_idcode|default='-'}
{/notempty}
收货姓名：{$vo.address_name|default='-'}{$vo.address_phone}
收货地址：{$vo.address_province|default='-'}{$vo.address_city}{$vo.address_area}{$vo.address_content}
提交时间：{$vo.address_datetime|format_datetime}

{if empty($vo.send_datetime)} 未发货 {else} {$vo.company_name|default='-'} {$vo.send_number|default='-'}
于 {$vo.send_datetime|format_datetime} 发货！
{/if}

填写发货 修改发货

{/foreach}

{empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty}
{/block}