Browse Source

Merge branch 'intex' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-uniapp into intex

intex_online20241205
zhang_li 2 months ago
parent
commit
b88d7a41f5
  1. 7
      src/pages/deliver/job/deliverDetailBatch.vue
  2. 1
      src/pages/inspect/job/inspectDetail.vue

7
src/pages/deliver/job/deliverDetailBatch.vue

@ -639,11 +639,12 @@
// let obj = {...toLocationCode} // let obj = {...toLocationCode}
// delete obj.subList // delete obj.subList
let recordList = [] let recordList = []
let obj1 ={} let obj ={}
let arr = toLocationCode.subList.filter(item=>item.scaned) let arr = toLocationCode.subList.filter(item=>item.scaned)
console.log(888,arr) console.log(888,arr)
if(arr.length>0){ if(arr.length>0){
arr.forEach(record=>{ arr.forEach(record=>{
let obj1 = {}
obj1.itemCode =toLocationCode.itemCode; obj1.itemCode =toLocationCode.itemCode;
obj1.itemName =toLocationCode.itemName; obj1.itemName =toLocationCode.itemName;
obj1.scaned =record.scaned; obj1.scaned =record.scaned;
@ -664,11 +665,11 @@
obj1.toPackingNumber = ''; obj1.toPackingNumber = '';
obj1.packingNumber = ''; obj1.packingNumber = '';
obj1.fromPackingNumber =''; obj1.fromPackingNumber ='';
// obj = {...obj1} obj = {...obj1}
recordList.push(obj1) recordList.push(obj1)
}) })
subList.push({ subList.push({
...obj1, ...obj,
recordList: recordList recordList: recordList
}) })
} }

1
src/pages/inspect/job/inspectDetail.vue

@ -147,7 +147,6 @@
}, },
methods: { methods: {
deleteFileByTable(id) { deleteFileByTable(id) {
debugger
deleteFileByTable("jobInspectDetail", id).then(res => {}) deleteFileByTable("jobInspectDetail", id).then(res => {})
}, },

Loading…
Cancel
Save