|
@ -240,14 +240,14 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
} |
|
|
} |
|
|
if (formField == 'productionLineCode') { |
|
|
if (formField == 'productionLineCode') { |
|
|
//生产线 |
|
|
//生产线 |
|
|
let res = await WorkstationApi.getWorkstationPage({ |
|
|
// let res = await WorkstationApi.getWorkstationPage({ |
|
|
productionLineCode: val[0][searchField], |
|
|
// productionLineCode: val[0][searchField], |
|
|
pageSize: 20, |
|
|
// pageSize: 20, |
|
|
pageNo: 1 |
|
|
// pageNo: 1 |
|
|
}) |
|
|
// }) |
|
|
if(res&&res.list&&res.list.length>0){ |
|
|
// if(res&&res.list&&res.list.length>0){ |
|
|
setV['workStationCode'] = res.list[0].code |
|
|
// setV['workStationCode'] = res.list[0].code |
|
|
} |
|
|
// } |
|
|
tableData.value =[] |
|
|
tableData.value =[] |
|
|
} |
|
|
} |
|
|
if (formField == 'workStationCode') { |
|
|
if (formField == 'workStationCode') { |
|
|