fix bug calendar

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-30 10:59:11 +07:00
parent 2737810c6c
commit 6f5f1f90c9
111 changed files with 2002 additions and 1866 deletions

View file

@ -475,7 +475,7 @@ function fetchSalaryRound() {
}}</template>
<template #trigger>
<q-input
lazy-rules
class="inputgreen"
:model-value="dateYear !== null ? dateYear + 543 : null"
:rules="[(val) => !!val || `${'กรุณากรอก พ.ศ.'}`]"
@ -508,7 +508,7 @@ function fetchSalaryRound() {
<q-input
outlined
dense
lazy-rules
class="inputgreen"
:model-value="
dateCommand != null ? date2Thai(dateCommand) : null
@ -644,7 +644,7 @@ function fetchSalaryRound() {
<template #trigger>
<q-input
dense
lazy-rules
outlined
:model-value="year === 0 ? null : Number(year) + 543"
:label="`${'ปีงบประมาณ'}`"