Browse Source

清空逻辑

hella_online_20240927
yufei_wang 2 months ago
parent
commit
7370cdde9e
  1. 6
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue

6
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue

@ -259,6 +259,12 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro
} }
} else { } else {
const setV = {} const setV = {}
if('workshopCode'==formField){
setV['productionLineCode'] = ''
tableData.value = []
}else if('productionLineCode'==formField){
tableData.value = []
}
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
formRef.setValues(setV) formRef.setValues(setV)
} }

Loading…
Cancel
Save