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

57 lines
1.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.
-->
<script>
//关闭POP
$('close_state').addEvent('click', function(event){
this.getParent('.dialog').retrieve('instance').close();
});
</script>
<div class="tableform">
<h4>预付款</h4>
<div id="accordion">
<table class="gridlist" cellspacing="0" cellpadding="0">
<{if !$balance}>
<tr>
<td colspan="2">
<p class="notice">暂无记录</p>
</td>
</tr>
<{else}>
<thead>
<tr>
<th>采购单编号</th>
<th>采购日期</th>
<th>预付款</th>
</tr>
</thead>
<tbody>
<{foreach from=$balance item=item key=key}>
<tr class="toggler atStart" >
<td><{$item.po_bn}></td>
<td><b><{$item.purchase_time|date_format:"%Y-%m-%d"}></b></td>
<td><b><{$item.deposit_balance|cur}></b></td>
</tr>
<{/foreach}>
</tbody>
<{/if}>
</table>
</div>
</div>