From a5270cb1cf9a0a4cbe3ad2ecfbe6cb4e51c2e9b5 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Wed, 21 Aug 2024 16:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E8=81=94=E8=A1=A8=E5=8D=95-=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=A1=AB=E5=85=85=E8=A7=84=E5=88=99-v0.331?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/formControlPropertiNew.vue | 12 +++++++++++- .../associatedforms/associatedFormsChildFillRole.vue | 4 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index c724c7b..2b75286 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -2580,6 +2580,16 @@ watch(associatedFormsDataRangeDialogFlag, (val) => { }, 200); } }) +//关联表单数据填充规则根据已选择子表的数目和id将已选择的子表置为不可选择 +watch(() => controlData.value.control?.fillRoles?.child?.length, (newValue, oldValue) => { + /* if (newValue!== oldValue) { + console.log('变量值发生变化:', newValue); + } */ + console.log(asfasfChildTableList.value) + console.log(controlData.value.control?.fillRoles?.child) +}); + + //确定回调 function handleDetermine(){ @@ -4544,7 +4554,7 @@ const radioChangeSet = (val:any) => { - +