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

51 lines
1.7 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">
<div class="division">
<table cellspacing="0" cellpadding="0" border="0" width="100%" class="gridlist">
<{if $supplier_price}>
<thead>
<tr>
<th>供应商</th>
<th>当前采购价格</th>
<th>最高采购价格</th>
<th>最低采购价格</th>
<th>历史采购价格</th>
</tr>
</thead>
<{foreach from=$supplier_price item=his}>
<tbody>
<tr>
<td><{$his.name}></td>
<td><{$his.currPrice}></td>
<td><{$his.highestprice}></td>
<td><{$his.lowerestprice}></td>
<td><input class="btn btn-primary" type="button" onclick="new Dialog('index.php?app=purchase&amp;ctl=admin_supplier&act=history_price&p[0]=<{$his.supplier_id}>&p[1]=<{$goods_id}>',{width:600,title:'历史记录价格'});" value="查看" ></td>
</tr>
</tbody>
<{/foreach}>
<{else}>
<thead>
<tr>
<th>暂无记录</th>
</tr>
</thead>
<{/if}>
</table>
</div>
</div>