<{if $error_msg}>
<{$error_msg}>
<{else}>

- 发货单号：<{$dlyinfo.delivery_bn}><{if $dlyinfo.dly_overtime}>超<{/if}>
  <{if $dlyinfo.status == '3' && $dlyinfo.confirm == '1'}> <{if $dlyinfo.logi_name == '门店自提'}>已自提<{else}>已配送<{/if}>,<{ if $dlyinfo.is_cod=='true'}>代收货款 <{$dlyinfo.order_info.receivable}>元<{else}>货款已支付<{/if}> <{else}> <{$dlyinfo.logi_name}>,<{ if $dlyinfo.is_cod=='true'}>需代收货款 <{$dlyinfo.order_info.receivable}>元<{else}>货款已支付<{/if}> <{/if}>
- 订 单 号：<{$dlyinfo.order_bn}>
- 成单时间： <{if $dlyinfo.is_cod == 'true'}> <{if $dlyinfo.order_info.createtime}><{$dlyinfo.order_info.createtime|date:"Y-m-d H:i:s"}><{/if}> <{else}> <{if $dlyinfo.order_info.paytime}><{$dlyinfo.order_info.paytime|date:"Y-m-d H:i:s"}><{/if}> <{/if}>
  <{if $dlyinfo.show_map}>
  线路查询
  <{/if}>
- 收 货 人：<{$dlyinfo.consignee.name}> (<{$dlyinfo.consignee.mobile}><{if $dlyinfo.consignee.telephone}>/<{$dlyinfo.consignee.telephone}><{/if}>)
- 收货地址：<{$dlyinfo.consignee.addr}>
<{if $dlyinfo.order_info.mark_text}> <{foreach from=$dlyinfo.order_info.mark_text key=iKey item=iItem}> <{foreach from=$iItem key=yKey item=markItem}>
- <{if $yKey == 0}>订单备注：<{else}> <{/if}><{$markItem.op_content}> <{$markItem.op_time}> by <{$markItem.op_name}>
<{/foreach}> <{/foreach}> <{/if}>

<{if $dlyinfo.delivery_items}>

- 货号
  商品名称
  数量
<{foreach from=$dlyinfo.delivery_items item=dly_item}>
- <{$dly_item.bn}>
  <{$dly_item.product_name}>
  <{$dly_item.number}>
<{/foreach}>

共<{$dlyinfo.itemNum}>件商品，总金额：<{$dlyinfo.total_amount}>
<{/if}> <{/if}>