|
@ -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 |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|