fix(leave) : max-date บันทึกวันลาย้อนหลัง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-10-03 17:54:44 +07:00
parent 2e3fb77655
commit e08e0e7da2

View file

@ -20,6 +20,7 @@ import type {
} from "@/modules/09_leave/interface/response/leaveHistory";
import DialogHeader from "@/components/DialogHeader.vue";
import { max } from "moment";
/** useStore*/
const $q = useQuasar();
@ -400,6 +401,7 @@ watch(modal, async (val) => {
autoApply
year-picker
:enableTimePicker="false"
:max-date="`${calculateFiscalYear(new Date())}, 12, 31`"
>
<template #year="{ year }">{{ year + 543 }}</template>
<template #year-overlay-value="{ value }">{{