fix:add function calculateFiscalYear

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-10-01 15:20:45 +07:00
parent 70be19b5c4
commit 7877f26ac6
47 changed files with 131 additions and 68 deletions

View file

@ -9,6 +9,7 @@ import genReportXLSX from "@/plugins/genreportxlsx";
import { useDevelopmentDataStore } from "@/modules/15_development/store/developmentStore";
import { useCounterMixin } from "@/stores/mixin";
import { checkPermission } from "@/utils/permissions";
import { calculateFiscalYear } from "@/utils/function";
/**
* importType
@ -32,7 +33,7 @@ const formFilter = reactive({
page: 1,
pageSize: 10,
keyword: "",
year: new Date().getFullYear(),
year: calculateFiscalYear(new Date()), //
});
const agencyOp = ref<DataOption[]>([]); //