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

@ -144,7 +144,7 @@ watch(
bg-color="white"
dense
class="inputgreen"
:rules="[(val) => !!val || `${'กรุณากรอกลำดับ/รหัสตัวชี้วัด'}`]"
:rules="[(val:string) => !!val || `${'กรุณากรอกลำดับ/รหัสตัวชี้วัด'}`]"
hide-bottom-space
lazy-rules
/>
@ -334,7 +334,7 @@ watch(
type="textarea"
dense
class="inputgreen"
:rules="[(val) => !!val || `${'กรุณากรอกสูตรคำนวณ'}`]"
:rules="[(val:string) => !!val || `${'กรุณากรอกสูตรคำนวณ'}`]"
hide-bottom-space
lazy-rules
/>

View file

@ -627,7 +627,7 @@ onMounted(() => {
lazy-rules
:rules="
typeReport === 'KPI8'
? [(val) => !!val || 'กรุณาเลือกรอบการประเมิน']
? [(val:string) => !!val || 'กรุณาเลือกรอบการประเมิน']
: []
"
/>