From 47c6a7dc2ddcf3112a5562f4dcf85380fcb6c2ac Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Fri, 5 Jul 2024 09:34:07 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B8=AA=E0=B8=B2=E0=B8=82=E0=B8=B2?= =?UTF-8?q?=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=A5=E0=B8=87=E0=B8=97=E0=B8=B0?= =?UTF-8?q?=E0=B9=80=E0=B8=9A=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B9=84=E0=B8=A1?= =?UTF-8?q?=E0=B9=88=20=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/03_customer-management/MainPage.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index 5dd3695d..05b8a783 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -1800,7 +1800,7 @@ watch([inputSearch, currentStatus], async () => { " @dialog="dialogInputCustomerBranchForm = true" @viewDetail=" - (v) => { + async (v) => { currentBranchId = v[0].id; statusToggle = v[0].status === 'INACTIVE' ? false : true; @@ -1812,6 +1812,8 @@ watch([inputSearch, currentStatus], async () => { if (currentCustomer) assignFormData(currentCustomer.id); + await fetchListOfOptionBranch(); + infoDrawerBranch = true; } " @@ -2697,6 +2699,8 @@ watch([inputSearch, currentStatus], async () => { separator :readonly="true" :type-customer="customerType" + :options-branch="branchOption" + v-model:registered-branch-id="formData.registeredBranchId" v-model:customer-name="formData.customerName" v-model:customer-name-en="formData.customerNameEN" v-model:person-name="formData.personName"