From 88939a3f91d91b70503bdd5965134b3f7d5dcf9e Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Sun, 15 Mar 2026 13:40:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=B1=E6=96=87=E7=8A=B6=E6=80=81id=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common/common.js | 11 ++++++++++- .../moneyManage/receiveDetail/utils/staticData.js | 18 ++++++++---------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/api/common/common.js b/src/api/common/common.js index f4b8334..e075017 100644 --- a/src/api/common/common.js +++ b/src/api/common/common.js @@ -7,4 +7,13 @@ export const getUserInfo = (data) => { url: '/admin/userinfo', data }) -} \ No newline at end of file +} + +//查询所有钱包 +export const selectAllWallets = (data) => { + return http({ + method: 'POST', + url: '/cashCollection/selectAllWallets', + data + }) +} diff --git a/src/views/moneyManage/receiveDetail/utils/staticData.js b/src/views/moneyManage/receiveDetail/utils/staticData.js index 8c2cec6..c6477d8 100644 --- a/src/views/moneyManage/receiveDetail/utils/staticData.js +++ b/src/views/moneyManage/receiveDetail/utils/staticData.js @@ -365,23 +365,21 @@ export const numUnitList = [t('cash.unit'), t('cash.year'), t('cash.month')] export const WalletForId = (walletName) => { if(walletName=='历史钱包'){ return 1 - }else if(walletName=='香港钱包'){ + }else if(walletName==t('cash.wallet.HongKongWallet')){ return 2 - }else if(walletName=='新加坡HC钱包'){ + }else if(walletName==t('cash.wallet.SingaporeHCWallet')){ return 3 - }else if(walletName=='马来西亚钱包'){ + }else if(walletName==t('cash.wallet.MalaysiaWallet')){ return 4 - }else if(walletName=='新加坡CM钱包'){ + }else if(walletName==t('cash.wallet.SingaporeCMWallet')){ return 5 - }else if(walletName=='加拿大钱包'){ + }else if(walletName==t('cash.wallet.CanadaWallet')){ return 6 - }else if(walletName=='泰国HS钱包'){ + }else if(walletName==t('cash.wallet.ThailandHAWallet')){ return 7 - }else if(walletName==t('cash.wallet.ThailandHAWallet') || walletName=='泰国HA钱包'){ + }else if(walletName==t('cash.wallet.VietnamHCMWallet')){ return 8 - }else if(walletName==t('cash.wallet.VietnamHCMWallet') || walletName=='越南公司钱包'){ + }else if(walletName==t('cash.wallet.BeijingWallet')){ return 9 - }else if(walletName==t('cash.wallet.BeijingWallet') || walletName=='北京公司钱包'){ - return 10 } } \ No newline at end of file