Browse Source

物料包装信息编辑时包装规格不可修改

master_hella_20240701
chenfang 5 months ago
parent
commit
40ef09e708
  1. 8
      src/views/wms/basicDataManage/itemManage/itempackage/index.vue

8
src/views/wms/basicDataManage/itemManage/itempackage/index.vue

@ -177,6 +177,10 @@ const openForm = (type: string, row?: any) => {
item.componentProps.disabled = true
item.componentProps.isSearchList = false
}
if (item.field == 'packUnit') {
item.componentProps.disabled = true
item.componentProps.isSearchList = false
}
})
}else {
Itempackaging.allSchemas.formSchema.forEach((item) => {
@ -184,6 +188,10 @@ const openForm = (type: string, row?: any) => {
item.componentProps.disabled = false
item.componentProps.isSearchList = true
}
if (item.field == 'packUnit') {
item.componentProps.disabled = false
item.componentProps.isSearchList = true
}
})
}
basicFormRef.value.open(type, row)

Loading…
Cancel
Save