From fe3c5262523524890fe1c7a07c8922e3d277752c Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 10 Oct 2024 09:48:36 +0700 Subject: [PATCH] fix: layout --- src/components/05_quotation/ProductItem.vue | 4 +--- src/pages/05_quotation/QuotationForm.vue | 19 +++++++------------ 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/src/components/05_quotation/ProductItem.vue b/src/components/05_quotation/ProductItem.vue index 6bc728fe..35168c2c 100644 --- a/src/components/05_quotation/ProductItem.vue +++ b/src/components/05_quotation/ProductItem.vue @@ -46,7 +46,7 @@ const groupList = ref< title: string; product: QuotationPayload['productServiceList'][number][]; }[] ->([]); +>([{ title: '', product: [] }]); const finalDiscount = defineModel('finalDiscount', { default: 0 }); @@ -183,7 +183,6 @@ function openEmployeeTable(title: string, index: number) { } function groupByServiceId() { - console.log(rows.value); const groupedItems: { title: string; product: QuotationPayload['productServiceList'][number][]; @@ -247,7 +246,6 @@ function groupByServiceId() { } groupList.value = groupedItems; - console.log(groupedItems); } watch( diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 2f72ee7d..ae9a790e 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -567,18 +567,17 @@ watch(
@@ -755,12 +754,8 @@ watch(