fix: mask leaveDaysUsed add beginningLeaveDays

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-04-02 15:49:48 +07:00
parent f403813099
commit 26977319ed

View file

@ -265,7 +265,6 @@ watch(modal, async (val) => {
await Promise.all([
filterLeaveTypeData(),
isStatusEdit.value && defineDataLeaveBeginning(rowData.value),
console.log(rowData.value),
]);
} finally {
hideLoader();
@ -463,6 +462,7 @@ watch(modal, async (val) => {
outlined
label="จำนวนสิทธิ์การลา"
hide-bottom-space
:rules="[(val: string) => !val || /^\d+(\.\d*)?$/.test(val) || 'กรุณากรอกเฉพาะตัวเลข']"
/>
</div>
<div class="col-12">
@ -473,8 +473,7 @@ watch(modal, async (val) => {
outlined
label="ที่ใช้ไป (วัน)"
hide-bottom-space
mask="#"
reverse-fill-mask
:rules="[(val: string) => !val || /^\d+(\.\d*)?$/.test(val) || 'กรุณากรอกเฉพาะตัวเลข']"
/>
</div>
<div class="col-12">
@ -498,8 +497,7 @@ watch(modal, async (val) => {
outlined
label="ยกมา (วัน)"
hide-bottom-space
mask="#"
reverse-fill-mask
:rules="[(val: string) => !val || /^\d+(\.\d*)?$/.test(val) || 'กรุณากรอกเฉพาะตัวเลข']"
/>
</div>