|
@@ -3466,10 +3466,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
var sum = 0;
|
|
var sum = 0;
|
|
|
angular.forEach($scope.order.orderItems, function (item) {
|
|
angular.forEach($scope.order.orderItems, function (item) {
|
|
|
sum += item.qty * item.price;
|
|
sum += item.qty * item.price;
|
|
|
- //获取最新回复数
|
|
|
|
|
- PurcOrderItem.getLatestReplyQty({orderItemId: item.id}, null, function (map) {
|
|
|
|
|
- item.latestReplyQty = map.latestReplyQty;
|
|
|
|
|
- });
|
|
|
|
|
});
|
|
});
|
|
|
$scope.order.total = sum;
|
|
$scope.order.total = sum;
|
|
|
if ($scope.order.display == 1) {//未查看的设为已查看
|
|
if ($scope.order.display == 1) {//未查看的设为已查看
|