|
@ -284,6 +284,13 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
const setV = {} |
|
|
const setV = {} |
|
|
|
|
|
if(formField == 'workshopCode'){ |
|
|
|
|
|
setV['productionLineCode'] = '' |
|
|
|
|
|
tableData.value = [] |
|
|
|
|
|
} |
|
|
|
|
|
if(formField == 'productionLineCode'){ |
|
|
|
|
|
tableData.value = [] |
|
|
|
|
|
} |
|
|
setV[formField] = val[0][searchField] |
|
|
setV[formField] = val[0][searchField] |
|
|
formRef.setValues(setV) |
|
|
formRef.setValues(setV) |
|
|
} |
|
|
} |
|
|