From 7e92659217d187bcfe0a3d2a1e9c14b37f9d23ac Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Tue, 9 Jul 2024 14:40:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=82=B9=E5=87=BB=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=97=B6=E9=80=89=E6=8B=A9UPF=E7=9A=84=E6=93=8D?= =?UTF-8?q?=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/tenant/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue index 192ae1fc..513aad9a 100644 --- a/src/views/system/tenant/index.vue +++ b/src/views/system/tenant/index.vue @@ -447,6 +447,9 @@ function fnModalVisibleByType( .then(res => { if (res.code === RESULT_CODE_SUCCESS && res.data) { modalState.typeFrom = Object.assign(modalState.typeFrom, res.data); + if (modalState.typeFrom.tenancyType === 'UPF') { + fnTypeChange('UPF'); + } modalState.typeTitle = t('common.editText') + t('views.system.tenant.type'); modalState.visibleByType = true; @@ -539,7 +542,7 @@ function fnTypeRecordDelete( } //选择租赁类型 -function fnTypeChange(value: any, options: any) { +function fnTypeChange(value: any) { if (value === 'UPF') { listNeInfo({ neType: 'UPF', pageNum: 1, pageSize: 10000 }).then(res => { /** 查询最新的UPF的所有RMUID*/ @@ -841,6 +844,7 @@ onMounted(() => { :label="t('views.system.tenant.type')" name="type" :labelWrap="true" + v-bind="modalStateTypeFrom.validateInfos.tenancyType" > { name="key" :extra="keyTip" :label-col="{ span: 4 }" + v-bind="modalStateTypeFrom.validateInfos.tenancyKey" >