|
|
@ -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; |
|
|
|