Browse Source

HL-5833调整线边原料消耗逻辑,完工收货时不再自动生成原料消耗单据和消耗线边原料库存(通过开关控制),修改为通过接口从QAD接收线边原料消耗数量后,按照FIFO原则扣减线边库存

hella_online_20240911
yufei_wang 2 months ago
parent
commit
081e9b887f
  1. 13
      src/views/wms/agvManage/backflushDetailbQad/index.vue

13
src/views/wms/agvManage/backflushDetailbQad/index.vue

@ -152,6 +152,19 @@ const buttonTableClick = async (val, row) => {
/** 添加/修改操作 */ /** 添加/修改操作 */
const basicFormRef = ref() const basicFormRef = ref()
const openForm = (type: string, row?: any) => { const openForm = (type: string, row?: any) => {
if(type=='update'){
//
BackflushDetailbQad.allSchemas.formSchema.forEach(item=>{
if(item.field != 'status'){
item.componentProps.disabled = true
}
})
}else{
BackflushDetailbQad.allSchemas.formSchema.forEach(item=>{
item.componentProps.disabled = false
})
}
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)
} }

Loading…
Cancel
Save