fix: กด item เเล้วไม่ปิด

This commit is contained in:
Net 2024-07-10 09:44:10 +07:00
parent 9a7bbe601c
commit 41e896b98f
4 changed files with 43 additions and 11 deletions

View file

@ -1621,6 +1621,8 @@ watch(inputSearchProductAndService, async () => {
<q-menu class="bordered">
<q-list v-close-popup>
<q-item
v-close-popup
clickable
:id="`view-detail-btn-${props.row.name}-view`"
@click.stop="
() => {
@ -1644,7 +1646,7 @@ watch(inputSearchProductAndService, async () => {
}
}
"
clickable
dense
class="row q-py-sm"
style="white-space: nowrap"
@ -1661,8 +1663,10 @@ watch(inputSearchProductAndService, async () => {
</q-item>
<q-item
:id="`view-detail-btn-${props.row.name}-edit`"
clickable
v-close-popup
clickable
dense
class="row q-py-sm"
style="white-space: nowrap"
@ -1697,6 +1701,8 @@ watch(inputSearchProductAndService, async () => {
</span>
</q-item>
<q-item
v-close-popup
:id="`view-detail-btn-${props.row.name}-delete`"
dense
:clickable="props.row.status === 'CREATED'"
@ -2047,6 +2053,7 @@ watch(inputSearchProductAndService, async () => {
<q-menu class="bordered">
<q-list v-close-popup dense>
<q-item
clickable
class="flex items-center"
@click="
@ -2454,6 +2461,7 @@ watch(inputSearchProductAndService, async () => {
<q-menu class="bordered">
<q-list v-close-popup>
<q-item
:id="`view-detail-btn-${props.row.name}-view`"
@click.stop="
async () => {
@ -2471,7 +2479,8 @@ watch(inputSearchProductAndService, async () => {
await fetchListOfOptionBranch();
}
"
clickable
v-close-popup
clickable
dense
class="row q-py-sm"
style="white-space: nowrap"
@ -2489,7 +2498,8 @@ watch(inputSearchProductAndService, async () => {
<q-item
:id="`view-detail-btn-${props.row.name}-edit`"
clickable
v-close-popup
clickable
dense
class="row q-py-sm"
style="white-space: nowrap"
@ -2525,6 +2535,8 @@ watch(inputSearchProductAndService, async () => {
<q-item
:id="`view-detail-btn-${props.row.name}-delete`"
dense
v-close-popup
:clickable="props.row.status === 'CREATED'"
class="row"
:class="{