|
|
@ -235,6 +235,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
//车间代码 |
|
|
|
setV['productionLineCode'] = '' |
|
|
|
setV['workStationCode'] = '' |
|
|
|
tableData.value =[] |
|
|
|
} |
|
|
|
if (formField == 'productionLineCode') { |
|
|
|
//生产线 |
|
|
@ -246,6 +247,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
if(res&&res.list&&res.list.length>0){ |
|
|
|
setV['workStationCode'] = res.list[0].code |
|
|
|
} |
|
|
|
tableData.value =[] |
|
|
|
} |
|
|
|
if (formField == 'workStationCode') { |
|
|
|
tableData.value =[] |
|
|
|
} |
|
|
|
formRef.setValues(setV) |
|
|
|
} |
|
|
|