diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue index dd3aa3841..14c93554f 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue @@ -284,6 +284,13 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => } } else { const setV = {} + if(formField == 'workshopCode'){ + setV['productionLineCode'] = '' + tableData.value = [] + } + if(formField == 'productionLineCode'){ + tableData.value = [] + } setV[formField] = val[0][searchField] formRef.setValues(setV) }