Files
OMS/app/ome/view/admin/serial/detail.html
2026-01-04 17:22:44 +08:00

81 lines
2.4 KiB
HTML

<!--
Copyright 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.
-->
<div class="tableform">
<{if $data}>
<h4>基本信息</h4>
<table class="gridlist" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>唯一码</th>
<th>基础物料名称</th>
<th>基础物料编码</th>
<th>保质期编码</th>
<th>所在仓库</th>
<th>状态</th>
</tr>
</thead>
<tbody>
<tr>
<td><{$data.serial_number}></td>
<td><{$data.product_name}></td>
<td><{$data.bn}></td>
<td><{if $data.expire_bn}><{$data.expire_bn}><{else}> - <{/if}></td>
<td><{$data.branch_name}></td>
<td><{$data.status}></td>
</tr>
</tbody>
</table>
<{else}>
<{if $tag}>
<div class="notice">没有查到对应的商品唯一码信息</div>
<{/if}>
<{/if}>
<{if $logData}>
<h4>出入库日志</h4>
<table class="gridlist" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>操作类型</th>
<th>申请售后</th>
<th>操作时间</th>
<th>操作人</th>
<th>单据类型</th>
<th>单据编号</th>
<th>唯一码状态</th>
</tr>
</thead>
<tbody>
<{foreach from=$logData item=log}>
<tr>
<td><{$log.act_type}></td>
<td><{foreach from=$log.orderBn item=orderBn key=key}>
<{$orderBn}><{if $log.bill_type=='发货单'}><a href="javascript:void(0);" onclick="new Dialog('index.php?ctl=admin_return&act=apply&app=ome&p[0]=<{$key}>',{width:700,height:450,title:'订单<{$orderBn}>的售后申请'});">申请</a><{/if}><br />
<{/foreach}></td>
<td><{$log.act_time|date:"Y-m-d H:i"}></td>
<td><{$log.act_owner}></td>
<td><{$log.bill_type}></td>
<td><{$log.bill_no}></td>
<td><{$log.serial_status}></td>
</tr>
<{/foreach}>
</tbody>
</table>
<{/if}>
</div>