วินัย => fix bug
This commit is contained in:
parent
7a483649d4
commit
17b801eede
15 changed files with 197 additions and 90 deletions
|
|
@ -355,7 +355,9 @@ onMounted(async () => {
|
|||
dense
|
||||
outlined
|
||||
:model-value="
|
||||
formData.year === 0 ? null : Number(formData.year) + 543
|
||||
formData.year === 0
|
||||
? 'ทั้งหมด'
|
||||
: Number(formData.year) + 543
|
||||
"
|
||||
:label="`${'ปีงบประมาณ'}`"
|
||||
>
|
||||
|
|
@ -390,9 +392,17 @@ onMounted(async () => {
|
|||
option-value="id"
|
||||
:options="type"
|
||||
@update:model-value="dataUpdate"
|
||||
/>
|
||||
>
|
||||
<template v-if="formData.type !== 'ALL'" v-slot:append>
|
||||
<q-icon
|
||||
name="cancel"
|
||||
@click.stop.prevent="(formData.type = 'ALL'), dataUpdate()"
|
||||
class="cursor-pointer"
|
||||
/>
|
||||
</template>
|
||||
</q-select>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div class="col-3">
|
||||
<q-select
|
||||
v-model="formData.status"
|
||||
label="สถานะ"
|
||||
|
|
@ -404,7 +414,15 @@ onMounted(async () => {
|
|||
option-value="id"
|
||||
:options="dataStore.statusOptions"
|
||||
@update:model-value="dataUpdate"
|
||||
/>
|
||||
class="select_ellipsis2"
|
||||
>
|
||||
<template v-if="formData.status !== 'ALL'" v-slot:append>
|
||||
<q-icon
|
||||
name="cancel"
|
||||
@click.stop.prevent="(formData.status = 'ALL'), dataUpdate()"
|
||||
class="cursor-pointer"
|
||||
/> </template
|
||||
></q-select>
|
||||
</div>
|
||||
</div>
|
||||
</q-card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue