Files
OMS/app/inventorydepth/view/shop/items/loading.html
2025-12-28 23:13:25 +08:00

43 lines
1.2 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='division info'>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<col style='width:40px;'/>
<col />
<tbody>
<tr>
<th><{img src='loading_medium.gif' app='inventorydepth'}></th>
<td><{$request_words}></td>
</tr>
</tbody>
</table>
</div>
<{area inject='.mainFoot'}>
<div class='table-action'>
<{button label='确定' isCloseDialogBtn="true"}>
</div>
<{/area}>
<form id='single-approve'>
<input type='hidden' name='id' value='<{$id}>' />
<input type='hidden' name='approve_status' value='<{$approve_status}>' />
</form>
<script type="text/javascript">
new Request.JSON({
url:'index.php?app=inventorydepth&ctl=shop_items&act=singleApprove',
method:'post',
data:$('single-approve'),
onComplete:function(resp){
var html = '';
if (resp.error) {
html = '<div style="color:red;font-size:30px;">'+resp.error+'</div>';
$E('.info').setHTML(html);
return ;
}
html = '<div style="color:green;font-size:30px;">'+resp.success+'</div>';
$E('.info').setHTML(html);
}
}).send();
</script>