| | |
| | | <ProFormItemV2 label="钱包通道:" prop="access" :check-rules="[{ message: '请选择钱包通道' }]"> |
| | | <ProFormSelect |
| | | v-model="form.access" |
| | | :valueEnum="EnumEnterpriseWalletAccessText" |
| | | :valueEnum="EnumEnterpriseWalletAccessTextOnlyAlipay" |
| | | placeholder="请选择钱包通道" |
| | | > |
| | | </ProFormSelect> |
| | |
| | | } from '@bole-core/components'; |
| | | import * as enterpriseWalletServices from '@/services/api/enterpriseWallet'; |
| | | import AlipayWalletRecharge from './AlipayWalletRecharge.vue'; |
| | | import { EnumEnterpriseWalletAccessText } from '@/constants'; |
| | | import { EnumEnterpriseWalletAccessTextOnlyAlipay } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'RechargeEnterpriseWalletDialog', |
| | |
| | | }; |
| | | let res = await enterpriseWalletServices.rechargeEnterpriseWallet(params); |
| | | if (res) { |
| | | handleAlipayWalletAdd({ |
| | | alipayUrl: res.payUrl, |
| | | }); |
| | | // handleAlipayWalletAdd({ |
| | | // alipayUrl: res.payUrl, |
| | | // }); |
| | | window.open(res.payUrl, '_blank'); |
| | | } |
| | | } catch (error) {} |
| | | } |