Browse Source

详情单提交之后页面跳转功能修改

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

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

@@ -3624,9 +3624,9 @@ app.controller('SaleSendCtrl', ['$scope', '$filter', 'SaleSend', 'ngTableParams'
 				    if(data.result) {
 				    if(data.result) {
 				    	toaster.pop('success', '提示', '提交成功');			
 				    	toaster.pop('success', '提示', '提交成功');			
 				    	$scope.haveSelected = false;
 				    	$scope.haveSelected = false;
+				    	window.location.href = '#/fa/apCheck';
 				    }else {
 				    }else {
 				    	$scope.haveSource = true;
 				    	$scope.haveSource = true;
-				    	loadData();		
 				    	toaster.pop('error', '提示', '单据被反过账,请立即作废本单据');
 				    	toaster.pop('error', '提示', '单据被反过账,请立即作废本单据');
 				    	$scope.haveSelected = true;
 				    	$scope.haveSelected = true;
 				    }
 				    }