diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index 6bd78dfa..594045e0 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -6,7 +6,7 @@ import { onMounted, reactive, ref } from 'vue'; import { useRouter } from 'vue-router'; import { storeToRefs } from 'pinia'; -// NOTE at stores +// NOTE: Import stores import useProductServiceStore from 'src/stores/product-service'; import { useQuotationStore } from 'src/stores/quotations'; import { baseUrl, waitAll } from 'src/stores/utils'; @@ -16,11 +16,11 @@ import useFlowStore from 'src/stores/flow'; import useOcrStore from 'stores/ocr'; import useMyBranch from 'stores/my-branch'; -// NOTE at type +// NOTE Import Types import { CustomerBranchCreate } from 'stores/customer/types'; import { Employee } from 'src/stores/employee/types'; -// NOTE at component +// NOTE: Import Components import BasicInformation from 'components/03_customer-management/employee/BasicInformation.vue'; import FormReferDocument from 'src/components/05_quotation/FormReferDocument.vue'; import { UploadFileGroup, noticeJobEmployment } from 'components/upload-file'; @@ -701,8 +701,9 @@ watch(() => pageState.currentTab, fetchQuotationList); :name="tab" :key="tab" @click=" - async () => { - pageState.currentPage = 1; + () => { + quotationPage = 1; + pageState.currentTab = tab; pageState.inputSearch = ''; pageState.statusFilter = 'all'; @@ -735,7 +736,7 @@ watch(() => pageState.currentTab, fetchQuotationList);
-
+
pageState.currentTab, fetchQuotationList);