Files
OMS/app/console/view/admin/po/detail_eo.html
2026-01-04 19:08:31 +08:00

97 lines
3.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
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.
-->
<div class="tableform">
<h4>入库单记录</h4>
<div class="division">
<table border="0" cellspacing="0" cellpadding="0" class="gridlist">
<{if !$detail}>
<tr><td colspan="7">暂无记录</td></tr>
<{else}>
<thead>
<tr>
<th>入库单编号</th>
<th>运费</th>
<th>入库日期</th>
<th>供应商</th>
<th>入库员</th>
<th>仓库</th>
<th>明细</th>
</tr>
</thead>
<{foreach from=$detail item=items}>
<tbody>
<tr>
<td><{$items.iso_bn}></td>
<td><{$items.iso_price|cur}></td>
<td><{$items.create_time|date_format:"%Y-%m-%d"}></td>
<td><{$items.supplier_name}></td>
<td><{$items.operator}></td>
<td><{$items.branch_name}></td>
<td><input type="button" class="btn" onclick="new Dialog('index.php?app=purchase&amp;ctl=admin_eo&act=eo_items&p[0]=<{$items.iso_id}>',{width:600,title:'入库单明细(编号:<{$items.iso_bn}>'});" value="查看" ></td>
</tr>
</tbody>
<{/foreach}>
<{/if}>
</table>
</div>
<{if $cancel_detail}>
<h4>入库取消记录</h4>
<div class="division">
<table border="0" cellspacing="0" cellpadding="0" class="gridlist">
<{if !$cancel_detail}>
<tr><td colspan="7">暂无记录</td></tr>
<{else}>
<thead>
<tr>
<th>退货单编号</th>
<th>退货金额</th>
<th>退货日期</th>
<th>供应商</th>
<th>经办人</th>
<th>仓库</th>
<th>采购方式</th>
<th>采购日期</th>
<th>退货方式</th>
<th>明细</th>
</tr>
</thead>
<{foreach from=$cancel_detail item=items}>
<tbody>
<tr>
<td><{$items.rp_bn}></td>
<td><{$items.amount|cur}></td>
<td><{$items.returned_time|date_format:"%Y-%m-%d"}></td>
<td><{$items.supplier_name}></td>
<td><{$items.operator}></td>
<td><{$items.branch_name}></td>
<td><{$items.po_type}></td>
<td><{$items.purchase_time|date_format:"%Y-%m-%d"}></td>
<td><{$items.rp_type}></td>
<td><input type="button" class="btn" onclick="new Dialog('index.php?app=purchase&amp;ctl=admin_returned_purchase&act=rp_items&p[0]=<{$items.rp_id}>&p[1]=po',{width:600,title:'明细(退货单编号:<{$items.rp_bn}>'});" value="查看" ></td>
</tr>
</tbody>
<{/foreach}>
<{/if}>
</table>
</div>
<{/if}>
</div>