fix bug calendar
This commit is contained in:
parent
2737810c6c
commit
6f5f1f90c9
111 changed files with 2002 additions and 1866 deletions
|
|
@ -226,7 +226,6 @@ watch(
|
|||
class="bg-white"
|
||||
outlined
|
||||
dense
|
||||
lazy-rules
|
||||
borderless
|
||||
:model-value="date ? date2Thai(date) : null"
|
||||
:label="`${'วันที่'}`"
|
||||
|
|
@ -261,7 +260,6 @@ watch(
|
|||
class="bg-white"
|
||||
outlined
|
||||
dense
|
||||
lazy-rules
|
||||
borderless
|
||||
:label="`${'เดือน'}`"
|
||||
:model-value="monthYearThai(dateMonth)"
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@ function calculateMaxDate() {
|
|||
for="selectDate"
|
||||
dense
|
||||
outlined
|
||||
lazy-rules
|
||||
:model-value="
|
||||
workStore.selectDate !== null
|
||||
? date2Thai(workStore.selectDate)
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@ function filterFn() {
|
|||
for="selectDate"
|
||||
dense
|
||||
outlined
|
||||
lazy-rules
|
||||
:model-value="
|
||||
workStore.selectDate !== null
|
||||
? date2Thai(workStore.selectDate)
|
||||
|
|
|
|||
|
|
@ -170,7 +170,6 @@ onMounted(async () => {
|
|||
<template #trigger>
|
||||
<q-input
|
||||
dense
|
||||
lazy-rules
|
||||
outlined
|
||||
:model-value="Number(leaveStore.filter.year) + 543"
|
||||
:label="`${'ปีงบประมาณ'}`"
|
||||
|
|
|
|||
|
|
@ -316,7 +316,6 @@ onMounted(() => {
|
|||
<q-input
|
||||
class="bg-white"
|
||||
dense
|
||||
lazy-rules
|
||||
outlined
|
||||
:model-value="Number(year) + 543"
|
||||
:label="`${'ปีงบประมาณ'}`"
|
||||
|
|
@ -352,7 +351,6 @@ onMounted(() => {
|
|||
class="bg-white"
|
||||
outlined
|
||||
dense
|
||||
lazy-rules
|
||||
borderless
|
||||
:model-value="dateStart ? date2Thai(dateStart) : null"
|
||||
:label="`${'ตั้งเเต่วันที่'}`"
|
||||
|
|
@ -385,7 +383,6 @@ onMounted(() => {
|
|||
class="bg-white"
|
||||
outlined
|
||||
dense
|
||||
lazy-rules
|
||||
borderless
|
||||
:model-value="dateEnd ? date2Thai(dateEnd) : null"
|
||||
:label="`${'ถึงวันที่'}`"
|
||||
|
|
|
|||
|
|
@ -299,7 +299,6 @@ watch(
|
|||
:rules="[
|
||||
(val) => !!val || `${'กรุณาเลือกวันที่ให้มีผล'}`,
|
||||
]"
|
||||
lazy-rules
|
||||
>
|
||||
<template v-slot:prepend>
|
||||
<q-icon
|
||||
|
|
|
|||
|
|
@ -211,7 +211,6 @@ watch(
|
|||
dense
|
||||
outlined
|
||||
readonly
|
||||
lazy-rules
|
||||
:model-value="props.dateFix"
|
||||
hide-bottom-space
|
||||
:label="`${'วันที่ขอแก้ไข'}`"
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ function resetFilter() {
|
|||
for="selectDate"
|
||||
dense
|
||||
outlined
|
||||
lazy-rules
|
||||
:model-value="
|
||||
SpecialTimeStore.selectDate !== null
|
||||
? date2Thai(SpecialTimeStore.selectDate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue