From dd6f6135f33658ddac84d0c402668d0400a3a170 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 7 Mar 2025 17:03:26 +0800 Subject: [PATCH] =?UTF-8?q?YT-2041=E4=BE=9B=E5=BA=94=E5=95=86=E5=9C=B0?= =?UTF-8?q?=E7=82=B9=E5=8F=97=E5=85=A5=E5=8F=B7=EF=BC=8C=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=9A=84=E4=BE=9B=E5=BA=94=E5=95=86=E5=BA=94=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E4=BB=A3=E7=A0=81=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=8F=97=E5=85=A5=E5=8F=B7=E3=80=82=E7=8E=B0=E4=B8=8D=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E4=BE=9B=E5=BA=94=E5=95=86=E4=BB=A3=E7=A0=81=E5=B0=B1?= =?UTF-8?q?=E6=9C=89=E5=8F=97=E5=85=A5=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierAddressModelDeli/index.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue b/src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue index 01348db24..fb70a14ce 100644 --- a/src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue +++ b/src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue @@ -197,6 +197,24 @@ const openForm = (type: string, row?: any) => { item.componentProps.disabled = true } }) + } else { + SupplierAddressModelDeli.allSchemas.formSchema.forEach(item => { + if(item.field == 'modelShow'){ + item.componentProps.options =[] + } + if(item.field == 'supplierCode'){ + item.componentProps.disabled = false + } + if(item.field == 'supplierName'){ + item.componentProps.disabled = false + } + if(item.field == 'supplierAddress'){ + item.componentProps.disabled = true + } + if(item.field == 'modelShow'){ + item.componentProps.disabled = false + } + }) } console.log(row) basicFormRef.value.open(type, row)