val:string

This commit is contained in:
STW_TTTY\stwtt 2024-09-20 15:23:06 +07:00
parent a147bd70ec
commit 4344ee4a44
42 changed files with 163 additions and 572 deletions

View file

@ -425,7 +425,7 @@ onMounted(() => {
map-options
hide-bottom-space
:options="complainstStore.complainantoptions"
:rules="[(val) => !!val || `${'กรุณาเลือกผู้ร้องเรียน'}`]"
:rules="[(val:string) => !!val || `${'กรุณาเลือกผู้ร้องเรียน'}`]"
@filter="(inputValue: any,
doneFn: Function) => filterSelector(inputValue, doneFn, 'filterrespondentType'
)"
@ -493,7 +493,7 @@ onMounted(() => {
:readonly="isReadonly || checkRoutePermisson"
hide-bottom-space
map-options
:rules="[(val) => !!val || `${'กรุณาเลือกหน่วยงาน'}`]"
:rules="[(val:string) => !!val || `${'กรุณาเลือกหน่วยงาน'}`]"
@update:model-value="changeFormData()"
use-input
@filter="filterOptionFnAgency"
@ -641,7 +641,7 @@ onMounted(() => {
:readonly="isReadonly || checkRoutePermisson"
hide-bottom-space
v-model="formData.title"
:rules="[(val) => !!val || 'กรุณากรอกเรื่องร้องเรียน']"
:rules="[(val:string) => !!val || 'กรุณากรอกเรื่องร้องเรียน']"
label="เรื่องร้องเรียน"
type="textarea"
rows="5"