|
|
@@ -3589,7 +3589,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
PurchaseInquiry.accept({id: id}, {}, function(data) {
|
|
|
if(data.success) {
|
|
|
toaster.pop('success', '提示', data.success);
|
|
|
- $scope.tableParams.reload();
|
|
|
+ loadData();
|
|
|
}
|
|
|
if(data.error) {
|
|
|
toaster.pop('error', '提示', data.error);
|
|
|
@@ -3605,7 +3605,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
PurchaseInquiry.refuse({id: id}, {}, function(data) {
|
|
|
if(data.success) {
|
|
|
toaster.pop('success', '提示', data.success);
|
|
|
- $scope.tableParams.reload();
|
|
|
+ loadData();
|
|
|
}
|
|
|
if(data.error) {
|
|
|
toaster.pop('error', '提示', data.error);
|