fix:add function calculateFiscalYear

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-10-02 13:21:41 +07:00
parent 72aa6f44ac
commit 27280c393f
5 changed files with 18 additions and 4 deletions

View file

@ -4,6 +4,7 @@ import { useQuasar } from "quasar";
import type { PropsTable } from "@/interface/PropsTable";
import { useLeaveStore } from "@/modules/05_leave/store";
import { calculateFiscalYear } from "@/utils/functions";
const $q = useQuasar();
const attrs = ref<any>(useAttrs());
@ -82,7 +83,7 @@ watch(
);
/** filter */
const year = ref<number>(new Date().getFullYear());
const year = ref<number>(calculateFiscalYear(new Date()));
const filter = ref<string>("");
/** updateVisible*/