fix: mask leaveDaysUsed add beginningLeaveDays
This commit is contained in:
parent
f403813099
commit
26977319ed
1 changed files with 3 additions and 5 deletions
|
|
@ -265,7 +265,6 @@ watch(modal, async (val) => {
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
filterLeaveTypeData(),
|
filterLeaveTypeData(),
|
||||||
isStatusEdit.value && defineDataLeaveBeginning(rowData.value),
|
isStatusEdit.value && defineDataLeaveBeginning(rowData.value),
|
||||||
console.log(rowData.value),
|
|
||||||
]);
|
]);
|
||||||
} finally {
|
} finally {
|
||||||
hideLoader();
|
hideLoader();
|
||||||
|
|
@ -463,6 +462,7 @@ watch(modal, async (val) => {
|
||||||
outlined
|
outlined
|
||||||
label="จำนวนสิทธิ์การลา"
|
label="จำนวนสิทธิ์การลา"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
|
:rules="[(val: string) => !val || /^\d+(\.\d*)?$/.test(val) || 'กรุณากรอกเฉพาะตัวเลข']"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
|
|
@ -473,8 +473,7 @@ watch(modal, async (val) => {
|
||||||
outlined
|
outlined
|
||||||
label="ที่ใช้ไป (วัน)"
|
label="ที่ใช้ไป (วัน)"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
mask="#"
|
:rules="[(val: string) => !val || /^\d+(\.\d*)?$/.test(val) || 'กรุณากรอกเฉพาะตัวเลข']"
|
||||||
reverse-fill-mask
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
|
|
@ -498,8 +497,7 @@ watch(modal, async (val) => {
|
||||||
outlined
|
outlined
|
||||||
label="ยกมา (วัน)"
|
label="ยกมา (วัน)"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
mask="#"
|
:rules="[(val: string) => !val || /^\d+(\.\d*)?$/.test(val) || 'กรุณากรอกเฉพาะตัวเลข']"
|
||||||
reverse-fill-mask
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue