Browse Source

YT-1275收货任务收货时修改了收货库位,收货完成后到库位不正确

intex_online20241205
zhang_li 2 months ago
parent
commit
30d8c3a8c2
  1. 14
      src/pages/purchaseReceipt/job/receiptDetail.vue

14
src/pages/purchaseReceipt/job/receiptDetail.vue

@ -628,6 +628,7 @@
if (this.jobContent.allowModifyLocation == 'TRUE') {
this.toLocationCode = code;
this.jobToLocationCode= code
this.toWarehouseCode= location.warehouseCode
} else {
if (code == this.jobToLocationCode) {
this.toLocationCode = code;
@ -636,12 +637,12 @@
}
}
// this.toLocationCode = code
// this.detailSource.forEach(item => {
// item.subList.forEach(detail => {
// detail.toLocationCode = code
// })
// })
this.toLocationCode = code
this.detailSource.forEach(item => {
item.subList.forEach(detail => {
detail.toLocationCode = code
})
})
},
commit() {
@ -980,6 +981,7 @@ console.log(8787,this.detailSource)
subList.push(detail)
})
})
this.jobContent.toWarehouseCode = this.toWarehouseCode
this.jobContent.subList = subList
this.jobContent.createTime = createTime;
this.jobContent.creator = creator;

Loading…
Cancel
Save