From a9bbbe822377536e6f3374b05e2b64b12b2f188c Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期一, 27 五月 2024 10:25:43 +0800 Subject: [PATCH] action文档 --- Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue b/Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue index b761268..ca5e5b4 100644 --- a/Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue +++ b/Source/ProjectWeb/src/components/PLT-basic-component/basicForm.vue @@ -75,6 +75,11 @@ type: Object, default: () => {}, }, + uploadattachment:{ + //鏄惁鏄剧ず涓婁紶闄勪欢 + type:Boolean, + default:false + }, }, data() { return { @@ -186,7 +191,7 @@ showProp:item.showField, type: type, labelWidth: this.labelWidth || (item.text.length >= 6 ? 115 : 90), - disabled: item.readOnly || this.disabled, + disabled: !this.isEdit || item.readOnly || this.disabled, span: item.span ? item.span : item.type === "textarea" @@ -225,6 +230,10 @@ this.subitemName = col.field; }else if(col.type === 'upload'){ console.log('col',col) + }else if(col.type=="multiFile"){ + if(this.uploadattachment == "false" || this.uploadattachment == false){ + col.display=false + } } if (col.type === "select") { if(col.data && col.data.length>0){ -- Gitblit v1.9.3