diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue index fbc619e43..dce606da1 100644 --- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue @@ -259,6 +259,12 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro } } else { const setV = {} + if('workshopCode'==formField){ + setV['productionLineCode'] = '' + tableData.value = [] + }else if('productionLineCode'==formField){ + tableData.value = [] + } setV[formField] = val[0][searchField] formRef.setValues(setV) }