Explorar el Código

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

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@9436 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq hace 8 años
padre
commit
99da51c5be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {
 				angular.forEach($scope.deOrder.deputyOrderItems, function(item) {
 					$scope.deOrder.totalamount += item.amount * item.unitprice;
 					$scope.deOrder.totalamount += item.amount * item.unitprice;
 					$scope.deOrder.usdpayment += 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(){
 			}, function(){