diff --git a/src/common/balance.js b/src/common/balance.js index 7e682098..8ddae8f2 100644 --- a/src/common/balance.js +++ b/src/common/balance.js @@ -403,7 +403,7 @@ export function byQuantity(label, locationCode, fromInventoryStatuses, callback) filters.push({ column: "batch", action: "==", - value: null + value: label.batch?label.batch:null }) filters.push({ column: "locationCode", diff --git a/src/mycomponents/detail/comRecommendDetailCardBatch.vue b/src/mycomponents/detail/comRecommendDetailCardBatch.vue index acfc3d3b..5452b913 100644 --- a/src/mycomponents/detail/comRecommendDetailCardBatch.vue +++ b/src/mycomponents/detail/comRecommendDetailCardBatch.vue @@ -1,50 +1,45 @@