fix search ==> ประวัติถือครองตำแหน่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-21 11:56:48 +07:00
parent e82bc57406
commit f15883195c

View file

@ -199,6 +199,7 @@ function closeDialog() {
@update:model-value="(Keyword = ''), (positionKeyword = '')"
/>
</div>
<div class="col-3" v-if="typeKeyword === 'no'">
<q-input
outlined
@ -210,10 +211,10 @@ function closeDialog() {
? 'เลขที่ตำแหน่ง'
: 'ตำแหน่งเลขที่'
"
:rules="[(val:string) => !!val || employeeClass === 'officer'
? 'กรุณากรอก เลขที่ตำแหน่ง'
: 'กรุณากรอก ตำแหน่งเลขที่']"
:rules="[(val:string) => !!val || `${employeeClass === 'officer' ? 'กรุณากรอก เลขที่ตำแหน่ง' :
'กรุณากรอก ตำแหน่งเลขที่'}`]"
hide-bottom-space
@keyup.enter="clickSearch(employeeClass)"
/>
</div>
@ -226,6 +227,7 @@ function closeDialog() {
placeholder="ตำแหน่ง"
:rules="[(val:string) => !!val || `${'กรุณากรอก ตำแหน่ง'}`]"
hide-bottom-space
@keyup.enter="clickSearch(employeeClass)"
/>
</div>
<div :class="typeKeyword ? 'offset-3 col-3' : 'col-3 offset-6'">