fix(leave) : max-date บันทึกวันลาย้อนหลัง
This commit is contained in:
parent
2e3fb77655
commit
e08e0e7da2
1 changed files with 2 additions and 0 deletions
|
|
@ -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`"
|
||||
>
|
||||
<template #year="{ year }">{{ year + 543 }}</template>
|
||||
<template #year-overlay-value="{ value }">{{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue