From 1ce52bcd68219106e81399e1c4009299f5c62bd3 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Wed, 9 Apr 2025 15:18:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=85=B3=E8=81=94?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E8=AE=BE=E7=BD=AE=E5=8F=AF=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=9C=AC=E4=BD=93=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DesignForm/formControlPropertiNew.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index f9a7aa1..faf4b6e 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -2570,7 +2570,19 @@ function getAssociatedFormsCurrentFieldTree1() { element.children = [] element.disabled = false } + let currentIdArr = element.id.split(":") + //console.log(currentIdArr) + let currentId = currentIdArr[currentIdArr.length-1] + //console.log(currentId) + + if(currentId==controlData.value.name){ + /* alert(currentId) + console.log(currentId) */ + element.disabled = true + } }); + + //liwenxuan 关联选项设置对子表不生效的bug修复 end 250409 @@ -3308,6 +3320,8 @@ watch( ) ); } else { + console.log(changedOptions) + console.log(controlData.value.control.glxxsz) for (var i = 0; i < changedOptions.length; i++) { if (controlData.value.control.glxxsz[i] === undefined) { //新增了某个option