|
|
@ -49,11 +49,7 @@ setAdditionalValidations({ |
|
|
|
|
|
|
|
|
|
|
|
const currencyList = currencyCodes || [] |
|
|
|
const currencyList = currencyCodes || [] |
|
|
|
|
|
|
|
|
|
|
|
const currencyLocaleList = [] |
|
|
|
const currencyLocaleList = ref<{ text: string; value: string }[]>([]) |
|
|
|
|
|
|
|
|
|
|
|
currencyLocales().then((locales) => { |
|
|
|
|
|
|
|
currencyLocaleList.push(...locales) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const isMoney = computed(() => vModel.value.dt === 'money') |
|
|
|
const isMoney = computed(() => vModel.value.dt === 'money') |
|
|
|
|
|
|
|
|
|
|
@ -72,6 +68,10 @@ vModel.value.meta = { |
|
|
|
currency_code: 'USD', |
|
|
|
currency_code: 'USD', |
|
|
|
...vModel.value.meta, |
|
|
|
...vModel.value.meta, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
currencyLocales().then((locales) => { |
|
|
|
|
|
|
|
currencyLocaleList.value.push(...locales) |
|
|
|
|
|
|
|
}) |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|