|
@ -259,6 +259,12 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
const setV = {} |
|
|
const setV = {} |
|
|
|
|
|
if('workshopCode'==formField){ |
|
|
|
|
|
setV['productionLineCode'] = '' |
|
|
|
|
|
tableData.value = [] |
|
|
|
|
|
}else if('productionLineCode'==formField){ |
|
|
|
|
|
tableData.value = [] |
|
|
|
|
|
} |
|
|
setV[formField] = val[0][searchField] |
|
|
setV[formField] = val[0][searchField] |
|
|
formRef.setValues(setV) |
|
|
formRef.setValues(setV) |
|
|
} |
|
|
} |
|
|