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

87 lines
2.8 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">
<h3>盘点损益汇总表</h3>
<div class="division" >
<form id="Searchform" action="index.php?app=purchase&ctl=admin_inventory&act=counterTables" method="post">
<div class="division">
<table width='100%' cellspacing="0" cellpadding="0" >
<tr>
<td>
按盘点日期范围,从<{input type="date" name="begin_date" vtype="required" id="begin_date" value="{$begin_date}" }>
至:<{input type="date" value="{$end_date}" id="end_date" name="end_date"}>
<{button class="btn" type="submit" id="saveCurrent" label="查询"}>
</td>
</tr>
</table>
</div>
</form>
<div class="division" >
<{if $begin_date or $end_date}>统计日期范围: <{$begin_date}>至<{$end_date}> <{else}><{/if}>
</div>
<table width='100%' cellspacing="0" cellpadding="0" class="gridlist">
<thead>
<tr>
<th>盘点日期</th>
<th>盘点人</th>
<th>盘点损益</th>
<th>盘点明细</th>
</tr>
</thead>
<{foreach from=$list item=items key=keys}>
<tbody>
<tr class="toggler atStart" >
<td><{$items.inventory_date|date_format:"%Y-%m-%d"}></td>
<td><{$items.inventory_checker}></td>
<td><{$items.difference|cur}></td>
<td><a class="link" href="index.php?app=purchase&ctl=admin_inventory&&act=confirm_detail&p[0]=<{$items.inventory_id}>&view=true&from=counterTables">查看</a></td>
</tr>
</tbody>
<{/foreach}>
<tbody>
<tr>
<td><b>小计:</b></td>
<td>-</td>
<td><{$subtotal.total_shortage_over|cur}></td>
<td>-</td>
</tr>
</tbody>
<tbody>
<tr>
<td><b>总计:</b></td>
<td>-</td>
<td><{$total.total_shortage_over|cur}></td>
<td>-</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="gridlist-footer">
<{$pager}>&nbsp;&nbsp;<{$count}>条,每页显示<{$pagelimit}>条
</div>