From e37cc0696e9bbcd82732b3160725e7a9317b017d Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Fri, 29 Nov 2024 00:34:54 +0800 Subject: [PATCH] =?UTF-8?q?YT-1304:=20=E6=88=90=E5=93=81=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?pad=E6=89=A7=E8=A1=8C=E6=89=B9=E6=AC=A1=E6=89=A3=E5=87=8F?= =?UTF-8?q?=E4=B8=8D=E5=87=86=E7=A1=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/deliver/job/deliverDetailBatch.vue | 7 ++++--- src/pages/inspect/job/inspectDetail.vue | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/deliver/job/deliverDetailBatch.vue b/src/pages/deliver/job/deliverDetailBatch.vue index 942c0226..9447c003 100644 --- a/src/pages/deliver/job/deliverDetailBatch.vue +++ b/src/pages/deliver/job/deliverDetailBatch.vue @@ -635,11 +635,12 @@ // let obj = {...toLocationCode} // delete obj.subList let recordList = [] - let obj1 ={} + let obj ={} let arr = toLocationCode.subList.filter(item=>item.scaned) console.log(888,arr) if(arr.length>0){ arr.forEach(record=>{ + let obj1 = {} obj1.itemCode =toLocationCode.itemCode; obj1.itemName =toLocationCode.itemName; obj1.scaned =record.scaned; @@ -659,11 +660,11 @@ obj1.toPackingNumber = ''; obj1.packingNumber = ''; obj1.fromPackingNumber =''; - // obj = {...obj1} + obj = {...obj1} recordList.push(obj1) }) subList.push({ - ...obj1, + ...obj, recordList: recordList }) } diff --git a/src/pages/inspect/job/inspectDetail.vue b/src/pages/inspect/job/inspectDetail.vue index 5fd016ae..c7bd7928 100644 --- a/src/pages/inspect/job/inspectDetail.vue +++ b/src/pages/inspect/job/inspectDetail.vue @@ -147,7 +147,6 @@ }, methods: { deleteFileByTable(id) { - debugger deleteFileByTable("jobInspectDetail", id).then(res => {}) },