|
@@ -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(){
|