feat: use new filter
This commit is contained in:
parent
c5e2a40d3e
commit
b7bc82aa3c
|
@ -6,7 +6,7 @@ import { useRoute } from 'vue-router';
|
||||||
import { useArrayData } from 'src/composables/useArrayData';
|
import { useArrayData } from 'src/composables/useArrayData';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { toDateFormat, toTimeFormat } from 'src/filters/date.js';
|
import { toDateFormat, toTimeFormat } from 'src/filters/date.js';
|
||||||
import { toCurrency } from 'filters/index';
|
import { dashOrCurrency, toCurrency } from 'filters/index';
|
||||||
import { dashIfEmpty } from 'src/filters';
|
import { dashIfEmpty } from 'src/filters';
|
||||||
import { useWeekdayStore } from 'src/stores/useWeekdayStore';
|
import { useWeekdayStore } from 'src/stores/useWeekdayStore';
|
||||||
import { useVnConfirm } from 'composables/useVnConfirm';
|
import { useVnConfirm } from 'composables/useVnConfirm';
|
||||||
|
@ -163,11 +163,15 @@ onMounted(async () => {
|
||||||
</span>
|
</span>
|
||||||
<span class="color-vn-label">
|
<span class="color-vn-label">
|
||||||
{{ t('eventsPanel.price') }}:
|
{{ t('eventsPanel.price') }}:
|
||||||
<span class="color-vn-text"> {{ toCurrency(event.price) }}</span>
|
<span class="color-vn-text">
|
||||||
|
{{ dashOrCurrency(event.price)() }}</span
|
||||||
|
>
|
||||||
</span>
|
</span>
|
||||||
<span class="color-vn-label">
|
<span class="color-vn-label">
|
||||||
{{ t('eventsPanel.bonus') }}:
|
{{ t('eventsPanel.bonus') }}:
|
||||||
<span class="color-vn-text"> {{ toCurrency(event.bonus) }}</span>
|
<span class="color-vn-text">
|
||||||
|
{{ dashOrCurrency(event.bonus)() }}</span
|
||||||
|
>
|
||||||
</span>
|
</span>
|
||||||
<span class="color-vn-label">
|
<span class="color-vn-label">
|
||||||
{{ t('eventsPanel.m3Max') }}:
|
{{ t('eventsPanel.m3Max') }}:
|
||||||
|
|
Loading…
Reference in New Issue