Browse Source

YT-2450pda直接发料,提示未找到对应生产线后,点击确定,在点击提交按钮,提交成功,提示没找到后应不赋值到目标库位

intex_online20250418
张立 2 weeks ago
parent
commit
c00e48b75b
  1. 17
      src/pages/issue/record/directIssueByBatch.vue

17
src/pages/issue/record/directIssueByBatch.vue

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

Loading…
Cancel
Save