From 6df13d034e37bdee671572a9fdb1e0ae87185fa1 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Mon, 21 Oct 2024 13:34:12 +0700 Subject: [PATCH] refactor: search quotation --- src/pages/05_quotation/MainPage.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index 0ae2a3bc..2c0d8b9f 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -256,6 +256,7 @@ async function fetchQuotationList() { } as const )[pageState.currentTab] : undefined, + query: pageState.inputSearch, }); if (ret) { @@ -275,6 +276,7 @@ async function fetchQuotationList() { } watch(() => pageState.currentTab, fetchQuotationList); +watch(() => pageState.inputSearch, fetchQuotationList); async function storeDataLocal(id: string) { await quotationFormStore.assignFormData(id, 'assign');