From 2671100352f022c3aebfb1b8455646264200c5ab Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 1 Nov 2024 16:36:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=A4=96=E5=87=BA=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/balance.js | 2 +- .../detail/comRecommendDetailCardBatch.vue | 103 +++++------------- .../unPlanned/coms/comReceiptDetailCard.vue | 11 +- src/pages/unPlanned/job/issueJobDetail.vue | 10 +- 4 files changed, 42 insertions(+), 84 deletions(-) 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 @@