refactor: set default
This commit is contained in:
parent
cd421c71e8
commit
1bdce4bed7
1 changed files with 3 additions and 7 deletions
|
|
@ -1,11 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
import {
|
||||
selectFilterOptionRefMod,
|
||||
commaInput,
|
||||
formatNumberDecimal,
|
||||
} from 'stores/utils';
|
||||
import { selectFilterOptionRefMod, commaInput } from 'stores/utils';
|
||||
import { onMounted, watch } from 'vue';
|
||||
import { ref, computed } from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import ThaiBahtText from 'thai-baht-text';
|
||||
|
||||
|
|
@ -21,7 +17,7 @@ const payDateEN = defineModel<string>('payDateEn');
|
|||
const wageRate = defineModel<string | number>('wageRate');
|
||||
const wageRateText = defineModel<string>('wageRateText', { default: '0' });
|
||||
|
||||
const rate = ref<string>(wageRate.value?.toString() || '0');
|
||||
const rate = ref<string>(commaInput(wageRate.value?.toString() || '0'));
|
||||
|
||||
const wageRate4Show = ref('');
|
||||
const typeBusinessOption = ref([]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue