Currency input

This commit is contained in:
AnandaTon 2023-08-22 09:33:53 +07:00
parent 4c6f18176d
commit 20e8780d70
8 changed files with 380 additions and 89 deletions

View file

@ -533,7 +533,7 @@
/>
</div>
<div class="col-xs-6 col-sm-3">
<q-input
<!-- <q-input
:class="getClass(edit)"
:outlined="edit"
dense
@ -545,6 +545,14 @@
hide-bottom-space
:label="`${'เงินเดือน'}`"
type="number"
/> -->
<CurrencyInput
v-model="salary"
:edit="edit"
:options="{
currency: 'THB',
}"
:label="`${'เงินเดือน'}`"
/>
</div>
<div class="col-xs-12">
@ -574,8 +582,7 @@ import { useQuasar } from "quasar";
import { useRoute, useRouter } from "vue-router";
import { useCounterMixin } from "@/stores/mixin";
import { useProfileDataStore } from "@/modules/08_registryEmployee/store";
import CurruncyInput from "@/components/CurruncyInput.vue";
import CurrencyInput from "@/components/CurruncyInput.vue";
import type { QTableProps, QForm } from "quasar";
import type { ResponseTitle } from "@/modules/05_placement/interface/response/Receive";
import type { InformationOps } from "@/modules/04_registry/interface/index/Main";