From b6156697fec206200d101cb717521e423dd7afbe Mon Sep 17 00:00:00 2001 From: zhang_li Date: Fri, 18 Apr 2025 10:16:22 +0800 Subject: [PATCH] =?UTF-8?q?SBBJ-806=E5=9B=BA=E5=AE=9A=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E6=98=AF=E4=BB=8EQAD=E6=8E=A5=E5=8F=A3=E4=BC=A0EAM=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=EF=BC=88=E7=AE=A1=E7=90=86=E9=83=A8=E9=97=A8=E3=80=81?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E3=80=81=E6=8F=8F=E8=BF=B0=E3=80=81=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E3=80=81=E7=85=A7=E7=89=87=E5=8F=AF=E7=BC=96=E8=BE=91?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/eam/basic/fixedAssets/index.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/views/eam/basic/fixedAssets/index.vue b/src/views/eam/basic/fixedAssets/index.vue index c13f56d..dd2f925 100644 --- a/src/views/eam/basic/fixedAssets/index.vue +++ b/src/views/eam/basic/fixedAssets/index.vue @@ -182,8 +182,26 @@ const openForm = (type: string, row?: any) => { row['upload']= row.filePathList?.map((item: any) => { return {url:item} }) + if (row.sourceType == 'QAD') { + FixedAssets.allSchemas.formSchema.forEach(item => { + if (item.field == 'supplierNumber') { + item.componentProps.disabled = true + } + }) + } else { + FixedAssets.allSchemas.formSchema.forEach(item => { + if (item.field == 'supplierNumber') { + item.componentProps.disabled = false + } + }) + } basicFormRef.value.open(type, row) } else { + FixedAssets.allSchemas.formSchema.forEach(item => { + if (item.field == 'supplierNumber') { + item.componentProps.disabled = false + } + }) basicFormRef.value.open(type, row) } }