From 9ec7e7f0d7d91a3fec413ea490b70ecefbb2a211 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 15 十月 2025 13:42:57 +0800
Subject: [PATCH] feat: 微信

---
 .eslintrc-auto-import.json                                    |    1 +
 src/views/EnterpriseManage/components/WechatConfigureView.vue |   10 +++++++++-
 auto-imports.d.ts                                             |    3 +++
 src/constants/enterpriseWallet.ts                             |    4 ++++
 4 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json
index 0b7c318..411e78c 100644
--- a/.eslintrc-auto-import.json
+++ b/.eslintrc-auto-import.json
@@ -119,6 +119,7 @@
     "EnumWalletTransactionStatusText": true,
     "EnumWeChatPayApplymentBankAccountType": true,
     "EnumWeChatPayApplymentBankAccountTypeText": true,
+    "EnumWeChatPayApplymentBankAccountTypeTextForGTH": true,
     "EnumWeChatPayApplymentCertType": true,
     "EnumWeChatPayApplymentCertTypeTextForSHZZ": true,
     "EnumWeChatPayApplymentCertTypeTextForSYDW": true,
diff --git a/auto-imports.d.ts b/auto-imports.d.ts
index 3956d6d..0a94ba1 100644
--- a/auto-imports.d.ts
+++ b/auto-imports.d.ts
@@ -123,6 +123,8 @@
   const EnumWalletTransactionStatusText: typeof import('./src/constants/finance')['EnumWalletTransactionStatusText']
   const EnumWeChatPayApplymentBankAccountType: typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentBankAccountType']
   const EnumWeChatPayApplymentBankAccountTypeText: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentBankAccountTypeText']
+  const EnumWeChatPayApplymentBankAccountTypeTextForGTH: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentBankAccountTypeTextForGTH']
+  const EnumWeChatPayApplymentBankAccountTypeTextNotGTH: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentBankAccountTypeTextNotGTH']
   const EnumWeChatPayApplymentCertType: typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentCertType']
   const EnumWeChatPayApplymentCertTypeTextForSHZZ: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentCertTypeTextForSHZZ']
   const EnumWeChatPayApplymentCertTypeTextForSYDW: typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentCertTypeTextForSYDW']
@@ -464,6 +466,7 @@
     readonly EnumWalletTransactionStatusText: UnwrapRef<typeof import('./src/constants/finance')['EnumWalletTransactionStatusText']>
     readonly EnumWeChatPayApplymentBankAccountType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentBankAccountType']>
     readonly EnumWeChatPayApplymentBankAccountTypeText: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentBankAccountTypeText']>
+    readonly EnumWeChatPayApplymentBankAccountTypeTextForGTH: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentBankAccountTypeTextForGTH']>
     readonly EnumWeChatPayApplymentCertType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumWeChatPayApplymentCertType']>
     readonly EnumWeChatPayApplymentCertTypeTextForSHZZ: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentCertTypeTextForSHZZ']>
     readonly EnumWeChatPayApplymentCertTypeTextForSYDW: UnwrapRef<typeof import('./src/constants/enterpriseWallet')['EnumWeChatPayApplymentCertTypeTextForSYDW']>
diff --git a/src/constants/enterpriseWallet.ts b/src/constants/enterpriseWallet.ts
index 863299e..0a94440 100644
--- a/src/constants/enterpriseWallet.ts
+++ b/src/constants/enterpriseWallet.ts
@@ -92,6 +92,10 @@
 
 export const EnumWeChatPayApplymentBankAccountTypeText = {
   [EnumWeChatPayApplymentBankAccountType.BANK_ACCOUNT_TYPE_CORPORATE]: '瀵瑰叕閾惰璐︽埛',
+};
+
+export const EnumWeChatPayApplymentBankAccountTypeTextForGTH = {
+  [EnumWeChatPayApplymentBankAccountType.BANK_ACCOUNT_TYPE_CORPORATE]: '瀵瑰叕閾惰璐︽埛',
   [EnumWeChatPayApplymentBankAccountType.BANK_ACCOUNT_TYPE_PERSONAL]:
     '缁忚惀鑰呬釜浜洪摱琛屽崱锛堜粎涓綋鎴峰彲閫夋嫨锛�',
 };
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