From f790df0ea99dbc98d4f3db5b7ca83efa769355d3 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 4 Oct 2024 13:23:05 +0700 Subject: [PATCH] refactor: use relation count instead --- src/pages/05_quotation/MainPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index c723f50c..8c3f15d8 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -750,7 +750,7 @@ watch(() => pageState.currentTab, fetchQuotationList); :code="v.code" :title="v.workName" :date="new Date(v.createdAt).toLocaleString()" - :amount="v.workerCount" + :amount="v._count.worker" :customer-name=" v.customerBranch.registerName || `${v.customerBranch.firstName || '-'} ${v.customerBranch.lastName || ''}`