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(