mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-03 22:25:46 +08:00
54 lines
1.7 KiB
HTML
54 lines
1.7 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='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> |