Files
OMS/app/console/view/admin/inventory/item.html
2025-12-28 23:13:25 +08:00

53 lines
1.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright © ShopeX http://www.shopex.cn. All rights reserved.
See LICENSE file for license details.
-->
<div class="tableform">
<h4><{t}>盘点单详情:<{/t}></h4>
<div class="division">
<table cellpadding="0" cellspacing="0" class="gridlist" cellpadding="0">
<thead>
<tr>
<th>基础物料编码</th>
<th>基础物料名称</th>
<th>盘点结果</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<{foreach from=$rows item=item}>
<tr>
<td><{$item.bn}></td>
<td><{$item.name}></td>
<td><{$item.quantity}></td>
<td><{$item.memo}></td>
</tr>
<{/foreach}>
<{if $many == 'true'}>
<tr>
<td align="right" colspan="4"><{button type="button" label="查看更多" id="b1" }></td>
</tr>
<{/if}>
</tbody>
</table>
</div></div>
<script>
if ($('b1')){
$('b1').addEvent('click', function(e){
var url_ = "index.php?app=console&ctl=admin_inventory&act=view_item&inventory_id="+<{$inventory_id}>;
//window.open(url_);
var url='index.php?app=desktop&act=alertpages&goto='+encodeURIComponent(url_);
Ex_Loader('modedialog',function() {
new finderDialog(url,{params:{url:'',name:'product_id[]'},handle:this,width:1000,height:660,
onCallback:function(rs){
//if(!rs)return;
//rs=JSON.decode(rs);
//init(rs);
}
});
}.bind(this));
});
}
</script>