mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
110 lines
3.9 KiB
HTML
110 lines
3.9 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.
|
|
-->
|
|
|
|
<{capture name="header"}>
|
|
<link href="../apps/ome/statics/ome.css" rel="stylesheet" type="text/css">
|
|
<{/capture}>
|
|
|
|
<div class="tableform">
|
|
|
|
<h4>采购单详情</h4>
|
|
|
|
<div class="division">
|
|
<table border="0" cellspacing="0" cellpadding="0" class="gridlist" >
|
|
<tbody>
|
|
<tr>
|
|
<th style='text-align:right;'>采购单编号:</th>
|
|
<td style='text-align:left;padding-left:5px;'><{$po.po_bn}></td>
|
|
<th style='text-align:right;'>供应商:</th>
|
|
<td style='text-align:left;padding-left:5px;'><{$po.supplier_name}></td>
|
|
<th style='text-align:right;'>采购员:</th>
|
|
<td style='text-align:left;padding-left:5px;'><{$po.operator}></td>
|
|
<th style='text-align:right;'>仓库:</th>
|
|
<td style='text-align:left;padding-left:5px;'><{$po.branch_name}></td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th style='text-align:right;'>采购日期:</th>
|
|
<td style='text-align:left;padding-left:5px;'><{$po.purchase_time|date_format:"%Y-%m-%d"}></td>
|
|
<th style='text-align:right;'>到货日期:</th>
|
|
<td style='text-align:left;padding-left:5px;'><{$po.arrive_time|date_format:"%Y-%m-%d"}></td>
|
|
<th style='text-align:right;'><{if $po.deposit!=0}>预付款:<{/if}> </th>
|
|
<td style='text-align:left;padding-left:5px;'><{if $po.deposit!=0}><{$po.deposit}><{/if}> </td>
|
|
<th > </th>
|
|
<td > </td>
|
|
</tr>
|
|
</tbody>
|
|
<tbody>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
<h4>采购单明细</h4>
|
|
|
|
<div class="division">
|
|
<table border="0" cellspacing="0" cellpadding="0" class="gridlist">
|
|
<col style="width:10%;"></col>
|
|
<col style="width:30%;"></col>
|
|
<col style="width:10%;"></col>
|
|
<col style="width:10%;"></col>
|
|
<col style="width:6%;"></col>
|
|
<col style="width:6%;"></col>
|
|
<col style="width:6%;"></col>
|
|
<!-- col style="width:10%;"></col -->
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:left;padding-left:5px;'>基础物料编码</th>
|
|
<th style='text-align:left;padding-left:5px;'>基础物料名称</th>
|
|
<th style='text-align:left;padding-left:5px;'>规格</th>
|
|
<th style='text-align:left;padding-left:5px;'>条码</th>
|
|
<th style='text-align:left;padding-left:5px;'>采购数量</th>
|
|
<th style='text-align:left;padding-left:5px;'>已入库</th>
|
|
<th style='text-align:left;padding-left:5px;'>入库取消</th>
|
|
<th style='text-align:left;padding-left:5px;'>不良品</th>
|
|
<!-- th>采购价格</th -->
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<{foreach from=$po.po_items item=item}>
|
|
<{if ($item.in_num!=$item.num) || $item.defective_num>0}>
|
|
<tr>
|
|
<td style='text-align:left;padding-left:5px;'><{$item.bn}></td>
|
|
<td style='text-align:left;padding-left:5px;'><{$item.name}></td>
|
|
<td style='text-align:left;padding-left:5px;'><{$item.spec_info}></td>
|
|
<td style='text-align:left;padding-left:5px;'><{$item.barcode}></td>
|
|
<td style='text-align:left;padding-left:5px;'><{$item.num}></td>
|
|
<td style='text-align:left;padding-left:5px;'><{$item.in_num}></td>
|
|
<td style='text-align:left;padding-left:5px;'><{$item.out_num}></td>
|
|
<th style='text-align:left;padding-left:5px;'><{$item.defective_num}></th>
|
|
<!-- td><{$item.price|cur}></td -->
|
|
</tr>
|
|
<{/if}>
|
|
<{/foreach}>
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" name="po_id" value="<{$po.po_id}>">
|
|
<div id="cc" class="noprint table-action">
|
|
<{button type="button" class="btn-secondary" id="return-btn" label="关 闭" onclick="javascript:void(window.close());"}></div>
|
|
|