Files
OMS/app/purchase/view/admin/eo/eo_detail.html
2026-01-04 19:08:31 +08:00

93 lines
2.6 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.
-->
<div class="tableform">
<h4>采购单详情</h4>
<div class="division">
<table border="0" cellspacing="0" cellpadding="0" class="gridlist">
<thead>
<tr>
<th>供应商:</th>
<td><{$eo.supplier_name}></td>
<th>经办人:</th>
<td><{$eo.detail.operator}></td>
</tr>
<tr>
<th>结算方式 :</th>
<td><{if $eo.po_type=='cash'}>现款<{else}>赊账 <{/if}></td>
<th>采购日期:</th>
<td><{$eo.purchase_time|date_format:"%Y-%m-%d"}></td>
</tr>
<tr>
<th>退货仓库:</th>
<td><{$eo.branch_name}></td>
<th>到货日期:</th>
<td><{$eo.arrive_time|date_format:"%Y-%m-%d"}></td>
</tr>
<tr>
<th>金额总计:</th>
<td><{$eo.limit_money}></td>
<th>备注:</th>
<td>
<div id="memo_show">
<{foreach from=$eo.memo item=items}>
<div id="memo_show">
<b><{$items.op_content|escape:"HTML"}></b> <{$items.op_time}> by <{$items.op_name}>
</div>
<{/foreach}>
</div>
</td>
</tr>
</thead>
</table>
</div>
<h4>入库商品明细</h4>
<div class="division">
<table border="0" cellspacing="0" cellpadding="0" class="gridlist">
<thead>
<tr>
<th>基础物料名称</th>
<th>规格</th>
<th>基础物料编码</th>
<th>单位</th>
<th>采购数量</th>
<th>可退货数量</th>
<th>退货价格</th>
<th>货位</th>
<th>新品</th>
</tr>
</thead>
<tbody>
<{foreach from=$eo.items item=items}>
<tr>
<td><{$items.product_name}></td>
<td><{$items.spec_info}></td>
<td><{$items.bn}></td>
<td><{$items.unit}></td>
<td><{$items.entry_num}></td>
<td><{$items.over_num}></td>
<td><{$items.price}></td>
<td><{$items.store_position}></td>
<td><{if $items.is_new=="true"}>是<{else}>否<{/if}></td>
</tr>
<{/foreach}>
</tbody>
</table>
</div>
</div>