From 9ec7e7f0d7d91a3fec413ea490b70ecefbb2a211 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 15 十月 2025 13:42:57 +0800 Subject: [PATCH] feat: 微信 --- src/views/EnterpriseManage/components/WechatConfigureView.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/views/EnterpriseManage/components/WechatConfigureView.vue b/src/views/EnterpriseManage/components/WechatConfigureView.vue index c979471..d47b8de 100644 --- a/src/views/EnterpriseManage/components/WechatConfigureView.vue +++ b/src/views/EnterpriseManage/components/WechatConfigureView.vue @@ -1027,7 +1027,7 @@ > <ProFormSelect v-model="form.bank_account_type" - :valueEnum="EnumWeChatPayApplymentBankAccountTypeText" + :valueEnum="bank_account_typeList" placeholder="璇烽�夋嫨缁撶畻閾惰璐︽埛绫诲瀷" > </ProFormSelect> @@ -1122,6 +1122,7 @@ EnumWeChatPayApplymentSalesScenesType, EnumWeChatPayApplymentSalesScenesTypeText, EnumWeChatPayApplymentBankAccountTypeText, + EnumWeChatPayApplymentBankAccountTypeTextForGTH, BooleanOptions, } from '@/constants'; import { convertApi2FormUrlOnlyOne, downloadFileByUrl, format, convertApi2FormUrls } from '@/utils'; @@ -1269,6 +1270,13 @@ return EnumWeChatPayApplymentIdDocTypeText; }); +const bank_account_typeList = computed(() => { + if (form.subject_type === EnumWeChatPayApplymentSubjectType.SUBJECT_TYPE_INDIVIDUAL) { + return EnumWeChatPayApplymentBankAccountTypeTextForGTH; + } + return EnumWeChatPayApplymentBankAccountTypeText; +}); + const { isLoading, refetch } = useQuery({ queryKey: [ 'enterpriseWalletServices/getEnterpriseWallet', -- Gitblit v1.9.1