feat:多货币以及支付方式配置
This commit is contained in:
@@ -6,8 +6,12 @@ import { useElementSize } from '@vueuse/core';
|
||||
import { fetchBillList } from '@/service/api/auth';
|
||||
import { Tag as ATag } from 'ant-design-vue';
|
||||
import BillSearch from '@/views/user-center/bill/modules/bill-search.vue';
|
||||
import { useCurrencyStore, } from '@/views/billing/rule/modules/currency';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import {ref} from "vue/dist/vue";
|
||||
const { t } = useI18n();
|
||||
const currencyStore = useCurrencyStore();
|
||||
|
||||
const wrapperEl = shallowRef<HTMLElement | null>(null);
|
||||
const { height: wrapperElHeight } = useElementSize(wrapperEl);
|
||||
|
||||
@@ -92,7 +96,7 @@ const {
|
||||
title: t('page.bill.amount'),
|
||||
align: 'center',
|
||||
width: 120,
|
||||
customRender: ({ text }) => `¥${Number(text).toFixed(2)}`
|
||||
customRender: ({ text }) => `${currencyStore.symbol}${Number(text).toFixed(2)}`
|
||||
},
|
||||
{
|
||||
key: 'status',
|
||||
|
||||
Reference in New Issue
Block a user