mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-21 04:15:30 +08:00
65 lines
1.8 KiB
HTML
65 lines
1.8 KiB
HTML
<!--
|
||
Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
See LICENSE file for license details.
|
||
-->
|
||
|
||
<style type="text/css">
|
||
<!--
|
||
.STYLE1 {color: #FF0000}
|
||
-->
|
||
</style>
|
||
<div class="tableform">
|
||
<div class="division">
|
||
|
||
<form id='actual_form' method='post'>
|
||
<table border="1" cellpadding="0" cellspacing="0" class="girdlist">
|
||
<tbody>
|
||
|
||
<tr >
|
||
<td align="center"><p>是否确定删除此任务?</p></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<input type='hidden' name='task_id' value='<{$task_id}>'>
|
||
<input type='hidden' name='finder_id' value='<{$finder_id}>'>
|
||
<div id="cc" class="noprint table-action">
|
||
<{button type="button" class="btn" id="actual-save-btn" label="确定"}> <{button type="button" class="btn" id="actual-confirm-btn" label="取消" onclick="javascript:this.getParent('.dialog').retrieve('instance').close();"}></div>
|
||
|
||
</form>
|
||
</div>
|
||
</div>
|
||
<script>
|
||
(function(){
|
||
$('actual-save-btn').addEvent('click',function(e){
|
||
var _this=this;
|
||
var form=this.getParent('form');
|
||
|
||
var querystring = $('actual_form').toQueryString();
|
||
new Request({url:'index.php?app=logisticsaccounts&ctl=admin_actual_task&act=do_delete&',data:querystring,
|
||
onComplete:function(rs){
|
||
rs=JSON.decode(rs);
|
||
if (typeof(rs.error) != 'undefined'){
|
||
|
||
return MessageBox.error(rs.error);
|
||
}else{
|
||
alert('删除成功!');
|
||
_this.getParent('.dialog').retrieve('instance').close();
|
||
window.finderGroup['<{$env.get.finder_id}>'].refresh(true);
|
||
|
||
|
||
}
|
||
}}).send();
|
||
|
||
$('actual-confirm-btn').addEvent('click',function(e){
|
||
this.getParent('.dialog').retrieve('instance').close();
|
||
});
|
||
});
|
||
|
||
|
||
|
||
|
||
})();
|
||
|
||
|
||
</script> |