Browse Source

YT-2404直接发料,扫描目标库位,应不能带出禁用的生产线

intex_online20250418
张立 2 weeks ago
parent
commit
211ac9cd53
  1. 11
      src/pages/issue/record/directIssueByBatch.vue

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

@ -436,8 +436,15 @@
const res = await workstationByLocation(params)
if(res.code == 0){
if(res.data&&res.data.list&&res.data.list.length>0){
this.positionInfo = res.data.list[0].productionLineCode
this.workStationCode = res.data.list[0].workshopCode
// const array = res.data.list.filter(item=>item.available == 'TRUE')
const array = []
console.log(array)
if(array.length>0){
this.positionInfo = array[0].productionLineCode
this.workStationCode = array[0].workshopCode
}else{
this.showErrorMessage("未查询到库位对应的生产线,请重新扫描。")
}
}else{
this.showErrorMessage("未查询到库位对应的生产线,请重新扫描。")
this.positionInfo = ''

Loading…
Cancel
Save