Selaa lähdekoodia

询价详情采纳时立即刷新

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@8231 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 vuotta sitten
vanhempi
commit
584770bf3c
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/main/webapp/resources/js/index/app.js

+ 2 - 2
src/main/webapp/resources/js/index/app.js

@@ -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);