Files
OMS/app/inventorydepth/view/regulation/show_pkg.html
2025-12-28 23:13:25 +08:00

23 lines
847 B
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 id='pkg-selected-body'>
<{include file="finder/input-row.html" app="inventorydepth"}>
</div>
<{area inject=".mainFoot"}>
<div class='table-action'>
<{button label='确定' id='primary-btn' onclick='change_pkg();'}>
</div>
<{/area}>
<script>
function change_pkg(){
var handle = $('hand-selected-pkg').getNext('div');
handle.setHTML($('pkg-selected-body').innerHTML);
var length = $('pkg-selected-body').getElements('.row').length;
var html = '已选择了'+length+'个捆绑商品,'+"<a href='javascript:void(0);' onclick='pkg_selected_show();'>查看选中捆绑商品.</a>";
$('hand-selected-pkg').setHTML(html);
$('primary-btn').getParent('.dialog').retrieve('instance').close();
}
</script>