From 114c4683121a66c2e8fefa2462db161359315c1f Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 19 Nov 2024 14:49:46 +0800 Subject: [PATCH] =?UTF-8?q?YT-1073=E8=AE=A1=E5=88=92=E5=A4=96=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E4=BB=BB=E5=8A=A1PDA=E6=89=AB=E6=8F=8F=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=B8=8E=E9=9C=80=E6=B1=82=E4=B8=8D=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/detail/comRecommendDetailCard.vue | 4 ++-- src/pages/unPlanned/job/receiptJobDetail.vue | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/mycomponents/detail/comRecommendDetailCard.vue b/src/mycomponents/detail/comRecommendDetailCard.vue index 463a4fbd..ea32ef9b 100644 --- a/src/mycomponents/detail/comRecommendDetailCard.vue +++ b/src/mycomponents/detail/comRecommendDetailCard.vue @@ -18,7 +18,7 @@ 推
荐 - + @@ -28,7 +28,7 @@ 际 - + diff --git a/src/pages/unPlanned/job/receiptJobDetail.vue b/src/pages/unPlanned/job/receiptJobDetail.vue index 1a222414..5033f7c5 100644 --- a/src/pages/unPlanned/job/receiptJobDetail.vue +++ b/src/pages/unPlanned/job/receiptJobDetail.vue @@ -17,7 +17,7 @@ :locationAreaTypeList='toLocationAreaTypeList'> --> + @remove="updateData" @updateData="updateData" @openDetail="openDetail" :isShowFromLocation='false' :isShowPack="managementType=='BY_PACKAGING'"> @@ -302,7 +302,13 @@ this.continueScan() } } - calcHandleQty(this.detailSource); + let array = this.detailSource.map((item=>{ + return { + ...item, + subList: item.subList.filter(cur=>cur.isRecommend == true) + } + })) + calcHandleQty(array); } } catch (e) {