Index: ssts-web/src/main/webapp/disinfectsystem/common/terminateInvoicePlan.js =================================================================== diff -u -r16674 -r16764 --- ssts-web/src/main/webapp/disinfectsystem/common/terminateInvoicePlan.js (.../terminateInvoicePlan.js) (revision 16674) +++ ssts-web/src/main/webapp/disinfectsystem/common/terminateInvoicePlan.js (.../terminateInvoicePlan.js) (revision 16764) @@ -1,4 +1,4 @@ -function terminateInvoicePlan(grid, formType) { +function terminateInvoicePlan(grid, formType,refreshCallback) { var records = grid.getSelectionModel().getSelections(); if (records.length == 0) { showResult("请选择需要终止的申请单"); @@ -69,7 +69,11 @@ showResult(result.errMsg); } } - grid.dwrReload(); + if(refreshCallback){ + refreshCallback(); + }else{ + grid.dwrReload(); + } }, failure: function(response, options) { showResult("终止失败,请联系管理员!");