mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
141 lines
5.1 KiB
HTML
141 lines
5.1 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}>
|
||
<form name="form1" id="memo_form" action="index.php?<{$env.server.QUERY_STRING}>" method="post">
|
||
<div class="tableform">
|
||
|
||
<h4><{if $po.po_species == 2}>采购补货单详情<{else}>采购单详情<{/if}></h4>
|
||
|
||
<div class="division">
|
||
<table border="0" cellspacing="0" cellpadding="0" class="gridlist" >
|
||
<tbody>
|
||
<tr>
|
||
<th style='text-align:right;'><{if $po.po_species==2}>采购补货单编号<{else}>采购单编号<{/if}>:</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;'>金额总计:
|
||
<{if $po.po_type=='cash' or $eo>=1}>
|
||
<{help}><{t}>金额总计=商品总额+物流费用<{/t}><{/help}>
|
||
<{/if}>
|
||
</th>
|
||
<td style='text-align:left;padding-left:5px;'><font color="orange"><b><{if $show_purchase_price}><{$po.amount|cur}><{else}>-<{/if}></b></font></td>
|
||
<th style='text-align:right;'>物料总额:</th>
|
||
<td style='text-align:left;padding-left:5px;'><font color="orange"><b><{if $show_purchase_price}><{$po.product_cost|cur}><{else}>-<{/if}></b></font></td>
|
||
<th style='text-align:right;'>
|
||
物流费用:
|
||
<{if $po.po_type=='credit'}>
|
||
<{help}><{t}>
|
||
<{if count($emslist)>1 }>
|
||
物流费用=
|
||
<{/if}>
|
||
<{foreach from=$emslist item=items key=keys}>
|
||
物流费用(入库时间:<{$items.entry_time|date_format:"%Y-%m-%d"}>)
|
||
<{if count($emslist)>1 and ($keys+1) < count($emslist) }>+<{/if}>
|
||
<{/foreach}>
|
||
<{/t}><{/help}>
|
||
<{/if}>
|
||
</th>
|
||
<td style='text-align:left;padding-left:5px;'>
|
||
<{if $po.po_type=='credit'}>
|
||
<font color="orange"><b><{if $show_purchase_price}><{$delivery_cost}><{else}>-<{/if}></b></font>
|
||
<{else}>
|
||
<font color="orange"><b><{if $show_purchase_price}><{$po.delivery_cost}><{else}>-<{/if}></b></font>
|
||
<{/if}>
|
||
</td>
|
||
<{if $po.po_type=='credit'}>
|
||
<th style='text-align:right;display:none' >单次物流费用</th>
|
||
<td style='text-align:left;padding-left:5px;display:none' ><font color="orange"><b><{$po.delivery_cost|cur}></b></font></td>
|
||
<{else}>
|
||
<th > </th>
|
||
<td > </td>
|
||
<{/if}>
|
||
</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>
|
||
<tr>
|
||
<th style='text-align:right;'>采购方式:</th>
|
||
<td style='text-align:left;padding-left:5px;'><b><font color="orange"><{if $po.po_type=='cash'}>现购<{else}>赊购<{/if}></font></b></td>
|
||
<th style='text-align:right;'>采购总数</th>
|
||
<td style='text-align:left;padding-left:5px;'><{$po.total_num}></td>
|
||
<{if $po.po_species==2}>
|
||
<th style='text-align:right;'>原采购单号</th>
|
||
<td style='text-align:left;padding-left:5px;'><{$po.accos_po_bn}></td>
|
||
<{else}>
|
||
<th > </th>
|
||
<td > </td>
|
||
<{/if}>
|
||
|
||
<th > </th>
|
||
<td > </td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="division">
|
||
<table border="0" cellspacing="0" cellpadding="0">
|
||
<tbody>
|
||
<{if $po.memo}>
|
||
<tr>
|
||
<th >备注:</th>
|
||
<td >
|
||
<div id="memo_show">
|
||
<{foreach from=$po.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>
|
||
<{/if}>
|
||
<tr>
|
||
<th >追加:</th>
|
||
<td><textarea id="memo" maxth="255" rows="4" cols="60" name="memo" vtype="required"></textarea></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<div class="table-action"> <{button type="submit" id="append_memo" label="追加备注" class="btn btn-primary" }>
|
||
<input type="hidden" name="id" value="<{$po.po_id}>" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</form>
|