diff --git a/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue b/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue index 165a6c03e..67f81a140 100644 --- a/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue +++ b/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue @@ -258,6 +258,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => } } else { const setV = {} + if(formField == 'workshopCode'){ + setV['productionLineCode'] = '' + tableData.value = [] + } if(formField == 'costCenterCode'){ setV['costcentreCode'] = val[0]['costcentreCode'] setV['costCenterType'] = val[0]['costcentreType']