From 00d297be4f38bacb1f7a0efa3a17211fe97d07a5 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Mon, 30 Sep 2024 11:37:18 +0700 Subject: [PATCH] fix: quotation customer & dialog props --- src/components/DialogForm.vue | 4 +++- src/components/shared/SelectInput.vue | 4 +++- src/pages/05_quotation/MainPage.vue | 15 +-------------- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/src/components/DialogForm.vue b/src/components/DialogForm.vue index 533dd6ca..2d8e7abb 100644 --- a/src/components/DialogForm.vue +++ b/src/components/DialogForm.vue @@ -13,12 +13,13 @@ defineProps<{ badgeLabel?: string; customerLabel?: string; badgeClass?: string; - hideFooter?: boolean; maxWidth?: string; width?: string; height?: string; + bgColor?: string; employee?: boolean; edit?: boolean; + hideFooter?: boolean; hideDelete?: boolean; saveAmount?: number; @@ -160,6 +161,7 @@ const currentTab = defineModel('currentTab'); 'surface-0': !employee, 'surface-tab': employee || tabsList, }" + :style="`background: ${bgColor} !important`" >