From 1702ec93d79a0c629f6202738fa639c93ca45cf4 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Fri, 19 Apr 2024 14:30:26 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B9=81=E0=B8=81=E0=B9=89=20=20?= =?UTF-8?q?=E0=B9=80=E0=B8=AD=E0=B8=B2=E0=B9=80=E0=B8=9A=E0=B8=AD=E0=B8=A3?= =?UTF-8?q?=E0=B9=8C=E0=B8=95=E0=B8=B4=E0=B8=94=E0=B8=95=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B8=A1=E0=B8=B2=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/01_branch-management/MainPage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index 34c241d9..e33644d6 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -179,7 +179,7 @@ function openDialog() { } async function fetchBranchById(id: string) { - const res = await branchStore.fetchById(id); + const res = await branchStore.fetchById(id, { includeContact: true }); if (res) { qrCodeimageUrl.value = res.qrCodeImageUrl; @@ -198,7 +198,7 @@ async function fetchBranchById(id: string) { zipCode: res.zipCode, email: res.email, contactName: res.contactName, - contact: '', + contact: res.contact[0].telephoneNo, telephoneNo: res.telephoneNo, longitude: res.longitude, latitude: res.latitude,