|
@ -440,6 +440,15 @@ |
|
|
if(array.length>0){ |
|
|
if(array.length>0){ |
|
|
this.positionInfo = array[0].productionLineCode |
|
|
this.positionInfo = array[0].productionLineCode |
|
|
this.workStationCode = array[0].workshopCode |
|
|
this.workStationCode = array[0].workshopCode |
|
|
|
|
|
this.toLocationCode = code |
|
|
|
|
|
this.detailSource.forEach(item => { |
|
|
|
|
|
item.subList.forEach(detail => { |
|
|
|
|
|
detail.toLocationCode = code |
|
|
|
|
|
detail.productionLineCode = this.positionInfo |
|
|
|
|
|
detail.workStationCode = this.workStationCode |
|
|
|
|
|
}) |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
}else{ |
|
|
}else{ |
|
|
this.showErrorMessage("未查询到库位对应的生产线,请重新扫描。") |
|
|
this.showErrorMessage("未查询到库位对应的生产线,请重新扫描。") |
|
|
} |
|
|
} |
|
@ -455,14 +464,6 @@ |
|
|
this.showErrorMessage(res.mag) |
|
|
this.showErrorMessage(res.mag) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
this.toLocationCode = code |
|
|
|
|
|
this.detailSource.forEach(item => { |
|
|
|
|
|
item.subList.forEach(detail => { |
|
|
|
|
|
detail.toLocationCode = code |
|
|
|
|
|
detail.productionLineCode = this.positionInfo |
|
|
|
|
|
detail.workStationCode = this.workStationCode |
|
|
|
|
|
}) |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|