refactor(leave-history): change leaveDays from integer to float
This commit is contained in:
parent
1f0ec397ff
commit
bad9bd3adf
1 changed files with 2 additions and 1 deletions
|
|
@ -401,6 +401,7 @@ watch(modal, async (val) => {
|
|||
year-picker
|
||||
:enableTimePicker="false"
|
||||
:max-date="`${calculateFiscalYear(new Date())}, 12, 31`"
|
||||
:class="classInput(true)"
|
||||
>
|
||||
<template #year="{ year }">{{ year + 543 }}</template>
|
||||
<template #year-overlay-value="{ value }">{{
|
||||
|
|
@ -465,8 +466,8 @@ watch(modal, async (val) => {
|
|||
dense
|
||||
outlined
|
||||
label="จำนวนสิทธิ์การลา"
|
||||
:rules="[(val: string) => !val || /^\d+$/.test(val) || 'กรุณากรอกเฉพาะตัวเลขที่เป็นจำนวนเต็ม']"
|
||||
hint="* สำหรับลาพักผ่อนเท่านั้น คือสิทธิ์ลาประจำปี + สิทธิ์สะสม"
|
||||
:rules="[(val: string) => !val || /^\d+(\.\d*)?$/.test(val) || 'กรุณากรอกเฉพาะตัวเลข']"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue