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