Files
OMS/app/archive/view/order/detail_delivery.html
2026-01-04 19:08:31 +08:00

140 lines
4.0 KiB
HTML

<!--
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<table cellspacing="10" cellpadding="0" border="0" width="100%">
<tr>
<td >
<{foreach from=$delivery_detail item=delivery}>
<div class="division">
<h4>发货单据列表</h4>
<table cellspacing="0" class="gridlist" cellpadding="0" border="0">
<colgroup></colgroup>
<thead>
<tr>
<th>建立日期</th>
<th>发货单号</th>
<th>物流单号</th>
<th>收件人</th>
<th>物流公司</th>
<th>发货仓库</th>
<th>发货状态</th>
</tr>
</thead>
<tbody>
<tr>
<td><{$delivery.create_time|date_format:'%Y-%m-%d'}></td>
<td><{$delivery.delivery_bn}></td>
<td><{$delivery.logi_no}></td>
<td><{$delivery.ship_name}></td>
<td><{$delivery.logi_name}></td>
<td><{$delivery.branch_name}></td>
<td><{$delivery.status_text}></td>
</tr>
</tbody>
</table>
</div>
<div class="division">
<h4>发货明细</h4>
<table cellspacing="0" class="gridlist" cellpadding="0" border="0">
<colgroup></colgroup>
<thead>
<tr>
<th>基础物料编码</th>
<th>基础物料名称</th>
<th>数量</th>
</tr>
</thead>
<tbody>
<{foreach from=$delivery.items item=item}>
<tr>
<td><{$item.bn}></td>
<td><{$item.product_name}></td>
<td><{$item.number}></td>
</tr>
<{/foreach}>
</tbody>
</table>
</div>
<{if $delivery.logino}>
<div class="division">
<h4>运单号</h4>
<table cellspacing="0" class="gridlist" cellpadding="0" border="0">
<colgroup></colgroup>
<thead>
<tr>
<th>物流单号</th>
</tr>
</thead>
<tbody>
<{foreach from=$delivery.logino item=logino}>
<tr>
<td><{$logino.logi_no}></td></tr>
<{/foreach}>
</tbody>
</table>
</div>
<{/foreach}>
</td>
</tr>
</tbody></table>
</div>
<div class="division">
<h4>退货单据列表</h4>
<table cellspacing="0" class="gridlist" cellpadding="0" border="0" width="100%">
<colgroup></colgroup>
<thead>
<tr>
<th>建立日期</th>
<th>退货单号</th>
<th>物流单号</th>
<th>退货人</th>
<th>物流公司</th>
</tr>
</thead>
<tbody>
<{foreach from=$reship item=rsp}>
<tr>
<td><{$rsp.t_begin|date:"Y-m-d H:i"}></td>
<td><{$rsp.reship_bn}></td>
<td><{$rsp.return_logi_no}></td>
<td><{$rsp.ship_name}></td>
<td><{$rsp.delivery}></td>
</tr>
<{/foreach}>
</tbody>
</table>
</div>
<{/if}>