fix: show service count
This commit is contained in:
parent
63aca38e83
commit
05d7c70f97
2 changed files with 3 additions and 3 deletions
|
|
@ -1246,7 +1246,7 @@ watch(inputSearchProductAndService, async () => {
|
|||
isType
|
||||
:count-product="v._count.product"
|
||||
:count-type="v._count.type"
|
||||
:count-service="78"
|
||||
:count-service="v._count.service"
|
||||
:title="v.name"
|
||||
:subtitle="v.code"
|
||||
:date="new Date(v.updatedAt)"
|
||||
|
|
@ -1302,7 +1302,7 @@ watch(inputSearchProductAndService, async () => {
|
|||
:subtitle="v.code"
|
||||
:count-product="v._count.product"
|
||||
:count-type="v._count.type"
|
||||
:count-service="78"
|
||||
:count-service="v._count.service"
|
||||
:date="new Date(v.updatedAt)"
|
||||
:status="v.status"
|
||||
color="var(--pink-6-hsl)"
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ export type ProductGroup = {
|
|||
createdAt: string;
|
||||
updatedBy: string;
|
||||
updatedAt: string;
|
||||
_count: { product: number; type: number };
|
||||
_count: { product: number; type: number; service: number };
|
||||
};
|
||||
|
||||
export interface ProductGroupCreate {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue