From 8050d4647fde521b270ce5e1fd0610f95cbd6487 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 15 十月 2025 17:54:00 +0800 Subject: [PATCH] feat: 微信 --- src/views/EnterpriseManage/components/WechatConfigureView.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/EnterpriseManage/components/WechatConfigureView.vue b/src/views/EnterpriseManage/components/WechatConfigureView.vue index 30922fd..2060204 100644 --- a/src/views/EnterpriseManage/components/WechatConfigureView.vue +++ b/src/views/EnterpriseManage/components/WechatConfigureView.vue @@ -1,6 +1,6 @@ <template> <LoadingLayout :loading="isLoading"> - <ProForm :model="form" ref="dialogForm" label-width="210px"> + <ProForm :model="form" ref="dialogForm" label-width="210px" :is-read="isDetail"> <ProFormItemV2 label="涓氬姟鐢宠缂栧彿:" prop="business_code" @@ -1161,6 +1161,7 @@ const dialogForm = ref<FormInstance>(); const form = reactive({ + applyment_state: '' as any as EnumWeChatPayApplymentState, business_code: '', contact_type: '' as any as EnumWeChatPayApplymentContactType, contact_name: '', @@ -1244,6 +1245,10 @@ bank_branch_area: [] as number[], }); +const isDetail = computed( + () => form.applyment_state === EnumWeChatPayApplymentState.APPLYMENT_STATE_FINISHED +); + const EnumWeChatPayApplymentCertTypeTextList = computed(() => { if (form.subject_type === EnumWeChatPayApplymentSubjectType.SUBJECT_TYPE_INSTITUTIONS) { return EnumWeChatPayApplymentCertTypeTextForSYDW; @@ -1293,6 +1298,7 @@ }); }, onSuccess(data) { + form.applyment_state = data.applyment_state; form.business_code = data.business_code ?? ''; form.contact_type = data.contact_info?.contact_type; form.contact_name = data.contact_info?.contact_name ?? ''; -- Gitblit v1.9.1