From 601aa69d7c07e7ca9e294f904c648177dc96bfce Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:43:46 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=20=E0=B9=81=E0=B8=81=E0=B9=89=20custome?= =?UTF-8?q?rType=20=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B9=80=E0=B8=9B=E0=B8=A5?= =?UTF-8?q?=E0=B8=B5=E0=B9=88=E0=B8=A2=E0=B8=99=E0=B8=84=E0=B9=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=95=E0=B8=AD=E0=B8=99=E0=B8=81=E0=B8=94=E0=B8=94=E0=B8=B9?= =?UTF-8?q?=E0=B8=99=E0=B8=B2=E0=B8=A2=E0=B8=88=E0=B9=89=E0=B8=B2=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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index a0420999..4ce2e6cd 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -788,6 +788,7 @@ watch(locale, () => { }" @enter-card=" () => { + currentCustomerUrlImage = i.imageUrl; currentCustomerId = i.id; isMainPage = false; } @@ -806,6 +807,10 @@ watch(locale, () => { @view-card=" () => { currentCustomerId = i.id; + customerType = + i.customerType === 'CORP' + ? 'customerLegalEntity' + : 'customerNaturalPerson'; assignFormData(i); openDialogInputForm('INFO', i.id); }