diff --git a/src/pages/unPlanned/job/receiptJobDetail.vue b/src/pages/unPlanned/job/receiptJobDetail.vue index 5033f7c5..a2af2f2e 100644 --- a/src/pages/unPlanned/job/receiptJobDetail.vue +++ b/src/pages/unPlanned/job/receiptJobDetail.vue @@ -302,11 +302,11 @@ this.continueScan() } } - let array = this.detailSource.map((item=>{ - return { - ...item, - subList: item.subList.filter(cur=>cur.isRecommend == true) - } + let array = [] + this.detailSource.forEach((item=>{ + let obj = {...item} + obj.subList=item.subList.filter(cur=>cur.isRecommend == true) + array.push(obj) })) calcHandleQty(array); }