From f5566f81e6d08d91e7fcb25ac34eedddb6c66cfc Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Wed, 18 Dec 2024 10:06:09 +0700 Subject: [PATCH] refactor: add new btn view and example --- src/pages/05_quotation/QuotationFormReceipt.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/pages/05_quotation/QuotationFormReceipt.vue b/src/pages/05_quotation/QuotationFormReceipt.vue index 04d84825..103188a7 100644 --- a/src/pages/05_quotation/QuotationFormReceipt.vue +++ b/src/pages/05_quotation/QuotationFormReceipt.vue @@ -2,6 +2,13 @@ import { formatNumberDecimal } from 'stores/utils'; import { dateFormatJS } from 'src/utils/datetime'; +import { MainButton, ViewButton } from 'components/button'; + +defineEmits<{ + (e: 'view', index: number): void; + (e: 'example', index: number): void; +}>(); + withDefaults( defineProps<{ payType: string; @@ -36,6 +43,15 @@ withDefaults(