fix:label q-input year

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-10-09 17:02:11 +07:00
parent 7ecf76701a
commit f3bd67c93f
12 changed files with 20 additions and 20 deletions

View file

@ -438,8 +438,8 @@ watch(
:model-value="
commandYear == null ? null : commandYear + 543
"
:label="`${'พ.ศ.'}`"
:rules="[(val:string) => !!val || `${'กรุณากรอก พ.ศ.'}`]"
label="ปี พ.ศ."
:rules="[(val:string) => !!val || 'กรุณากรอกปี พ.ศ.']"
>
<template v-slot:prepend>
<q-icon
@ -478,8 +478,8 @@ watch(
outlined
hide-bottom-space
:model-value="commandYear == null ? null : commandYear + 543"
:label="`${'พ.ศ.'}`"
:rules="[(val:string) => !!val || `${'กรุณากรอก พ.ศ.'}`]"
label="ปี พ.ศ."
:rules="[(val:string) => !!val || 'กรุณากรอกปี พ.ศ.']"
>
<template v-slot:prepend>
<q-icon

View file

@ -431,8 +431,8 @@ watch(modal, async () => {
:model-value="
commandYear == null ? null : commandYear + 543
"
:label="`${'พ.ศ.'}`"
:rules="[(val:string) => !!val || `${'กรุณากรอก พ.ศ.'}`]"
label="ปี พ.ศ."
:rules="[(val:string) => !!val || 'กรุณากรอกปี พ.ศ.']"
>
<template v-slot:prepend>
<q-icon

View file

@ -182,8 +182,8 @@ watch(modal, () => {
:model-value="
commandYear == null ? null : commandYear + 543
"
:label="`${'พ.ศ.'}`"
:rules="[(val:string) => !!val || `${'กรุณากรอก พ.ศ.'}`]"
label="ปี พ.ศ."
:rules="[(val:string) => !!val || 'กรุณากรอกปี พ.ศ.']"
>
<template v-slot:prepend>
<q-icon

View file

@ -210,7 +210,7 @@ onMounted(async () => {
? null
: formData.commandYear + 543
"
:label="`${'พ.ศ.'}`"
label="ปี พ.ศ."
>
<template v-slot:prepend>
<q-icon

View file

@ -125,7 +125,7 @@ onMounted(async () => {
:model-value="
queryParams.year == null ? null : queryParams.year + 543
"
:label="`${'พ.ศ.'}`"
label="ปี พ.ศ."
>
<template v-slot:prepend>
<q-icon