From e08e0e7da2797b3512feb46146650772c407235d Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 3 Oct 2025 17:54:44 +0700 Subject: [PATCH] =?UTF-8?q?fix(leave)=20:=20max-date=20=E0=B8=9A=E0=B8=B1?= =?UTF-8?q?=E0=B8=99=E0=B8=97=E0=B8=B6=E0=B8=81=E0=B8=A7=E0=B8=B1=E0=B8=99?= =?UTF-8?q?=E0=B8=A5=E0=B8=B2=E0=B8=A2=E0=B9=89=E0=B8=AD=E0=B8=99=E0=B8=AB?= =?UTF-8?q?=E0=B8=A5=E0=B8=B1=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/09_leave/components/07_LeaveHistory/DialogForm.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/09_leave/components/07_LeaveHistory/DialogForm.vue b/src/modules/09_leave/components/07_LeaveHistory/DialogForm.vue index 2642a3572..70621f169 100644 --- a/src/modules/09_leave/components/07_LeaveHistory/DialogForm.vue +++ b/src/modules/09_leave/components/07_LeaveHistory/DialogForm.vue @@ -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`" >