fix: แก้ ข้อมูลไม่แสดง
This commit is contained in:
parent
fc0abea637
commit
bc7070d0e3
1 changed files with 14 additions and 12 deletions
|
|
@ -2170,18 +2170,7 @@ watch(inputSearchProductAndService, async () => {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="
|
||||
(productAndServiceTab === 'product' && product?.length === 0) ||
|
||||
(productAndServiceTab === 'service' && service?.length === 0)
|
||||
"
|
||||
class="flex justify-center items-center surface-1 col"
|
||||
>
|
||||
<NoData :not-found="!!inputSearchProductAndService" />
|
||||
</div>
|
||||
<!-- tab -->
|
||||
<template v-else>
|
||||
<q-tabs
|
||||
<q-tabs
|
||||
dense
|
||||
v-model="productAndServiceTab"
|
||||
class="bordered-b q-px-md"
|
||||
|
|
@ -2234,6 +2223,19 @@ watch(inputSearchProductAndService, async () => {
|
|||
</div>
|
||||
</q-tab>
|
||||
</q-tabs>
|
||||
|
||||
<div
|
||||
v-if="
|
||||
(productAndServiceTab === 'product' && product?.length === 0) ||
|
||||
(productAndServiceTab === 'service' && service?.length === 0)
|
||||
"
|
||||
class="flex justify-center items-center surface-1 col"
|
||||
>
|
||||
<NoData :not-found="!!inputSearchProductAndService" />
|
||||
</div>
|
||||
<!-- tab -->
|
||||
<template v-else>
|
||||
|
||||
<div class="col flex scroll full-height q-pa-md surface-1">
|
||||
<div class="full-width">
|
||||
<q-table
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue