Browse Source

主动报价提交后跳转到列表界面

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@9678 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 years ago
parent
commit
c46d82c748
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/webapp/resources/js/index/app.js

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

@@ -5096,7 +5096,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 				if($stateParams.id)
 					window.location.reload();
 				else 
-					window.location.hash = '#/sale/quotation/' + data.id;
+//					window.location.hash = '#/sale/quotation/' + data.id;
+					window.location.hash = '#/sale/quotation/list';
 			}, function(response){
 				$scope.loading = false;
 				toaster.pop('error', '保存失败', response.data);