From 28b48e6c6f1e52ac7d84a45fec00e9386a2b4d4b Mon Sep 17 00:00:00 2001 From: puriphatt Date: Fri, 8 Nov 2024 10:55:58 +0700 Subject: [PATCH] refactor: quotation table width & clear warning --- .../05_quotation/TableQuotation.vue | 9 +- src/pages/05_quotation/MainPage.vue | 177 +++++++++--------- 2 files changed, 91 insertions(+), 95 deletions(-) diff --git a/src/components/05_quotation/TableQuotation.vue b/src/components/05_quotation/TableQuotation.vue index d192287f..080cb24b 100644 --- a/src/components/05_quotation/TableQuotation.vue +++ b/src/components/05_quotation/TableQuotation.vue @@ -55,6 +55,7 @@ defineEmits<{ flat hide-pagination card-container-class="q-col-gutter-sm" + class="full-width" > @@ -106,7 +107,7 @@ defineEmits<{ @@ -120,7 +121,7 @@ defineEmits<{ - + { async function fetchQuotationList() { { - console.log(pageState.currentTab); const ret = await quotationStore.getQuotationList({ page: quotationPage.value, pageSize: quotationPageSize.value, @@ -473,7 +472,7 @@ async function storeDataLocal(id: string) { :options=" fieldSelectedOption.map((v) => ({ ...v, - label: $t(v.label), + label: v.label && $t(v.label), })) " :display-value="$t('general.displayField')" @@ -591,101 +590,95 @@ async function storeDataLocal(id: string) { />
-
-
- - +