diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue index 4f3fd7fcd..0153c8c7b 100644 --- a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue +++ b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue @@ -173,12 +173,15 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => //车间代码 setV['productionLineCode'] = '' setV['workStationCode'] = '' + tableData.value = [] }else if('productionLineCode'==formField){ //生产线 setV['workStationCode'] = '' + tableData.value = [] }else if('workStationCode'==formField){ //工位代码 - setV['productionLineCode1'] = val[0]['productionLineCode']//用于没选生产线代码,给后端用 + setV['productionLineCode'] = val[0]['productionLineCode']//用于没选生产线代码,给后端用 + tableData.value = [] } formRef.setValues(setV) }