Browse Source

YT-429制品拆解、制品子件报废,车间代码切换时,应清空明细

intex_online20241111
zhaoyiran 1 month ago
parent
commit
edf9d86a56
  1. 3
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue
  2. 2
      src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

3
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue

@ -300,6 +300,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
} }
} else { } else {
const setV = {} const setV = {}
if(formField == 'workshopCode'){
tableData.value = []
}
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
formRef.setValues(setV) formRef.setValues(setV)
} }

2
src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

@ -542,6 +542,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV['costCenterType'] = val[0]['costcentreType'] setV['costCenterType'] = val[0]['costcentreType']
}else if(formField == 'productionLineCode'){ }else if(formField == 'productionLineCode'){
tableData.value = [] tableData.value = []
} else if(formField == 'workshopCode'){
tableData.value = []
} }
formRef.setValues(setV) formRef.setValues(setV)
} }

Loading…
Cancel
Save