fix: Changing language doesn't work
This commit is contained in:
parent
07656eccde
commit
d9ba382f87
1 changed files with 2 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { Icon } from '@iconify/vue';
|
import { Icon } from '@iconify/vue';
|
||||||
import { ref, watch } from 'vue';
|
import { ref, watch, computed } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import { formatNumberDecimal, commaInput } from 'stores/utils';
|
import { formatNumberDecimal, commaInput } from 'stores/utils';
|
||||||
|
|
@ -60,8 +60,7 @@ const summaryPrice = defineModel<{
|
||||||
|
|
||||||
const finalDiscount = defineModel<number>('finalDiscount', { default: 0 });
|
const finalDiscount = defineModel<number>('finalDiscount', { default: 0 });
|
||||||
const finalDiscount4Show = ref<string>(finalDiscount.value.toString());
|
const finalDiscount4Show = ref<string>(finalDiscount.value.toString());
|
||||||
|
const payTypeOpion = computed(() => [
|
||||||
const payTypeOpion = ref([
|
|
||||||
{
|
{
|
||||||
value: 'Full',
|
value: 'Full',
|
||||||
label: t('quotation.type.fullAmountCash'),
|
label: t('quotation.type.fullAmountCash'),
|
||||||
|
|
@ -79,7 +78,6 @@ const payTypeOpion = ref([
|
||||||
label: t('quotation.type.installmentsBill'),
|
label: t('quotation.type.installmentsBill'),
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const amount4Show = ref<string[]>([]);
|
const amount4Show = ref<string[]>([]);
|
||||||
|
|
||||||
function calculateInstallments(param: {
|
function calculateInstallments(param: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue