Commit ded038b5 authored by 顾俭's avatar 顾俭

防伪码申请数量默认值

parent 67f5c7e1
......@@ -375,8 +375,8 @@ angular.module('IOne').controller('PurchaseOrderQueryController', function ($sco
}).then(function (response) {
$scope.barcodeGridOptions.data = response.data;
angular.forEach($scope.barcodeGridOptions.data, function (item) {
item.barcodeAmount = 0;
item.canApplyAmount = item.orderAmount - item.appliedAmount;
item.barcodeAmount = item.canApplyAmount;
});
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment