fix:add function calculateFiscalYear
This commit is contained in:
parent
72aa6f44ac
commit
27280c393f
5 changed files with 18 additions and 4 deletions
|
|
@ -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*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue