fix: แก้ ข้อมูลไม่แสดง
This commit is contained in:
parent
fc0abea637
commit
bc7070d0e3
1 changed files with 14 additions and 12 deletions
|
|
@ -2170,17 +2170,6 @@ watch(inputSearchProductAndService, async () => {
|
||||||
</div>
|
</div>
|
||||||
</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
|
dense
|
||||||
v-model="productAndServiceTab"
|
v-model="productAndServiceTab"
|
||||||
|
|
@ -2234,6 +2223,19 @@ watch(inputSearchProductAndService, async () => {
|
||||||
</div>
|
</div>
|
||||||
</q-tab>
|
</q-tab>
|
||||||
</q-tabs>
|
</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="col flex scroll full-height q-pa-md surface-1">
|
||||||
<div class="full-width">
|
<div class="full-width">
|
||||||
<q-table
|
<q-table
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue