From b1295d00ffe11280333fe8d6843da3cff7bb4b40 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 11 Apr 2025 09:45:09 +0700 Subject: [PATCH] feat: set addr of current customer --- .../shared/select/SelectCustomer.vue | 2 + .../QuotationFormWorkerSelect.vue | 39 +++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/src/components/shared/select/SelectCustomer.vue b/src/components/shared/select/SelectCustomer.vue index f6fbf9cd..73fafd79 100644 --- a/src/components/shared/select/SelectCustomer.vue +++ b/src/components/shared/select/SelectCustomer.vue @@ -65,6 +65,8 @@ onMounted(async () => { } await getSelectedOption(); + + valueOption.value = selectOptions.value.find((v) => v.id === value.value); });