From af243af3bf856560c30b8e1abf114c28252b3d5a Mon Sep 17 00:00:00 2001 From: puriphatt Date: Fri, 11 Oct 2024 14:01:17 +0700 Subject: [PATCH] fix: quotation customer --- src/components/05_quotation/FormAbout.vue | 20 +++++++++----------- src/pages/05_quotation/QuotationForm.vue | 11 +++++------ 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/src/components/05_quotation/FormAbout.vue b/src/components/05_quotation/FormAbout.vue index 46f065c0..db8071bc 100644 --- a/src/components/05_quotation/FormAbout.vue +++ b/src/components/05_quotation/FormAbout.vue @@ -63,7 +63,6 @@ async function init(val: string, type: 'branch' | 'customer') { }) : await customerStore.fetchListCustomeBranch({ query: val, - registeredBranchId: branchId.value || undefined, pageSize: 30, }); if (res) { @@ -91,15 +90,15 @@ onMounted(async () => { await init('', 'customer'); }); -watch( - () => branchId.value, - async (v) => { - if (v && customerBranchId.value && props.onCreate) { - console.log('form'); - customerBranchId.value = ''; - } - }, -); +// watch( +// () => branchId.value, +// async (v) => { +// if (v && customerBranchId.value && props.onCreate) { +// console.log('form'); +// customerBranchId.value = ''; +// } +// }, +// );