Browse Source

更新订单总价款的计算方式

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@9436 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 years ago
parent
commit
99da51c5be
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

@@ -12851,7 +12851,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 				angular.forEach($scope.deOrder.deputyOrderItems, function(item) {
 					$scope.deOrder.totalamount += item.amount * item.unitprice;
 					$scope.deOrder.usdpayment += item.amount * item.unitprice;
-					$scope.deOrder.orderamount += item.amount * item.unitprice * (1 + $scope.rate.rate/100);
+					$scope.deOrder.orderamount += item.amount * item.purcprice;
 				});
 				
 			}, function(){