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 {
const setV = {}
if(formField == 'workshopCode'){
tableData.value = []
}
setV[formField] = val[0][searchField]
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']
}else if(formField == 'productionLineCode'){
tableData.value = []
} else if(formField == 'workshopCode'){
tableData.value = []
}
formRef.setValues(setV)
}

Loading…
Cancel
Save