|
@@ -174,6 +174,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
success: function (data, ret) {
|
|
|
console.log(data, ret);
|
|
|
Layer.alert(ret.msg);
|
|
|
+ table.bootstrapTable('refresh');
|
|
|
//如果需要阻止成功提示,则必须使用return false;
|
|
|
//return false;
|
|
|
},
|
|
@@ -191,7 +192,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
confirm: '确认取消需求?取消需求会结束需求流程并退回协商后的指定冻结金额,客户预付款和尾款会一起退回',
|
|
|
url: 'demands/cancel',
|
|
|
success: function (data, ret) {
|
|
|
- Layer.alert(ret.msg + ",返回数据:" + JSON.stringify(data));
|
|
|
+ Layer.alert(ret.msg);
|
|
|
+ table.bootstrapTable('refresh');
|
|
|
//如果需要阻止成功提示,则必须使用return false;
|
|
|
//return false;
|
|
|
},
|