Browse Source

子表清空

hella_online_20241011
yufei_wang 2 months ago
parent
commit
1beadad10f
  1. 4
      src/views/wms/productionManage/productredress/productredressRequestMain/index.vue

4
src/views/wms/productionManage/productredress/productredressRequestMain/index.vue

@ -134,13 +134,11 @@ const clearSearchInput = (field)=>{
productionLineCode: '', productionLineCode: '',
workStationCode:'', workStationCode:'',
}) })
tableData.value = []
}else if('productionLineCode' == field){ }else if('productionLineCode' == field){
//线 //线
formRef.value.formRef.setValues({ formRef.value.formRef.setValues({
workStationCode:'', workStationCode:'',
}) })
tableData.value = []
} }
} }
// //
@ -175,11 +173,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
// //
setV['productionLineCode'] = '' setV['productionLineCode'] = ''
setV['workStationCode'] = '' setV['workStationCode'] = ''
tableData.value = []
}else if('productionLineCode'==formField){ }else if('productionLineCode'==formField){
//线 //线
setV['workStationCode'] = '' setV['workStationCode'] = ''
tableData.value = []
} }
formRef.setValues(setV) formRef.setValues(setV)
} }

Loading…
Cancel
Save