fix:add function calculateFiscalYear
This commit is contained in:
parent
70be19b5c4
commit
7877f26ac6
47 changed files with 131 additions and 68 deletions
|
|
@ -8,6 +8,7 @@ import genReportXLSX from "@/plugins/genreportxlsx";
|
|||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
import { usePagination } from "@/composables/usePagination";
|
||||
import { calculateFiscalYear } from "@/utils/function";
|
||||
|
||||
/** importType*/
|
||||
import type {
|
||||
|
|
@ -36,7 +37,7 @@ const organization = ref<string>("");
|
|||
const organizationOpsMain = ref<DataOption[]>([]);
|
||||
const organizationOps = ref<DataOption[]>([]);
|
||||
|
||||
const year = ref<number>(new Date().getFullYear());
|
||||
const year = ref<number>(calculateFiscalYear(new Date()));
|
||||
const modalReport = ref<boolean>(false); //ตัวแปร popup report
|
||||
const loadingBtn = ref<boolean>(false); //ตัวแปร popup report
|
||||
const filter = ref<string>(""); //คำค้นหา
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue