|
|
@@ -113,8 +113,8 @@ define(['app/app'], function(app) {
|
|
|
if (flag) {
|
|
|
if ($scope.editBom) {
|
|
|
// 批量验证
|
|
|
- for (var i = 0; i < $scope.bomData.seekPurchaseByBatchs.length; i++) {
|
|
|
- if ($scope.bomData.seekPurchaseByBatchs[i].$checked && !$scope.checkAllProduct($scope.bomData.seekPurchaseByBatchs[i])) {
|
|
|
+ for (var i = 0; i < $scope.tmpEditBom.seekPurchaseByBatchs.length; i++) {
|
|
|
+ if ($scope.tmpEditBom.seekPurchaseByBatchs[i].$checked && !$scope.checkAllProduct($scope.tmpEditBom.seekPurchaseByBatchs[i])) {
|
|
|
return;
|
|
|
}
|
|
|
}
|