|
|
|
@ -401,7 +401,11 @@
|
|
|
|
|
$(".cancelPool,.reCount").on("click",function(){
|
|
|
|
|
var id = $(this).data('id');
|
|
|
|
|
var url = "{:U('cancelPool')}";
|
|
|
|
|
cancelPoolAjax(url,{id:id});
|
|
|
|
|
layer.confirm("撤销汇总/重算都是不可逆操作,请慎重选择",{title:false}, function(index){
|
|
|
|
|
layer.close(index);
|
|
|
|
|
cancelPoolAjax(url,{id:id});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
//线下打款
|
|
|
|
|
$(".setUlPayment").on("click",function(){
|
|
|
|
@ -437,13 +441,15 @@
|
|
|
|
|
|
|
|
|
|
function cancelPoolAjax(opurl,senddata){
|
|
|
|
|
//执行
|
|
|
|
|
layer.load(2);
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "POST",
|
|
|
|
|
url: opurl,
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
async: false,
|
|
|
|
|
async: true,
|
|
|
|
|
data: senddata,
|
|
|
|
|
success:function(data){
|
|
|
|
|
layer.closeAll('loading');
|
|
|
|
|
if(data.status==1){
|
|
|
|
|
layer.msg("<font style='color:white'>" + data.info + "</font>");
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|