fix bug rules

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-09-27 16:56:52 +07:00
parent 0c1ae8c74f
commit 751953b569
83 changed files with 422 additions and 422 deletions

View file

@ -79,7 +79,7 @@ function onSubmit() {
label="เงินเดือนฐาน"
mask="###,###,###,###"
reverse-fill-mask
:rules="[(val) => !!val || `${'กรุณากรอกเงินเดือนฐาน'}`]"
:rules="[(val:string) => !!val || `${'กรุณากรอกเงินเดือนฐาน'}`]"
lazy-rules
hide-bottom-space
class="inputgreen"

View file

@ -104,7 +104,7 @@ watch(
option-label="name"
option-value="id"
:options="store.groupOp.filter((e) => e.name !== props.group)"
:rules="[(val) => !!val || `${'กรุณากลุ่ม'}`]"
:rules="[(val:string) => !!val || `${'กรุณากลุ่ม'}`]"
lazy-rules
hide-bottom-space
/>

View file

@ -135,7 +135,7 @@ watch(
option-label="name"
option-value="id"
:options="typeRangeOps"
:rules="[(val) => !!val || `${'กรุณาเลือก ขั้น'}`]"
:rules="[(val:string) => !!val || `${'กรุณาเลือก ขั้น'}`]"
lazy-rules
hide-bottom-space
@update:model-value="(isChange = true), chengType()"