From 40ef09e708f4fbcc119e30e846c5fd3e378da3a0 Mon Sep 17 00:00:00 2001 From: chenfang Date: Fri, 21 Jun 2024 16:45:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=8C=85=E8=A3=85=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=BC=96=E8=BE=91=E6=97=B6=E5=8C=85=E8=A3=85=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E4=B8=8D=E5=8F=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/basicDataManage/itemManage/itempackage/index.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/wms/basicDataManage/itemManage/itempackage/index.vue b/src/views/wms/basicDataManage/itemManage/itempackage/index.vue index 0499f5144..4f25372ad 100644 --- a/src/views/wms/basicDataManage/itemManage/itempackage/index.vue +++ b/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)