Browse Source

英文状态id问题

jiangcheng/feature-20260306102603-钱包体系
ZhangYong 1 month ago
parent
commit
88939a3f91
  1. 9
      src/api/common/common.js
  2. 18
      src/views/moneyManage/receiveDetail/utils/staticData.js

9
src/api/common/common.js

@ -8,3 +8,12 @@ export const getUserInfo = (data) => {
data
})
}
//查询所有钱包
export const selectAllWallets = (data) => {
return http({
method: 'POST',
url: '/cashCollection/selectAllWallets',
data
})
}

18
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
}
}
Loading…
Cancel
Save