Browse Source

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

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

Loading…
Cancel
Save