Browse Source

WMS预生产收货,装配收货申请,更改车间代码或者生成线代码时,应该清空关联的字段值

hella_online_20240815
wangyufei 3 months ago
parent
commit
bb55cc6683
  1. 8
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue
  2. 8
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue

8
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue

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

8
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue

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

Loading…
Cancel
Save