From 753940eb6c41b7c48b4e84a42db2e898716dfc89 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Fri, 28 Jun 2024 10:09:53 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=A1=E0=B9=88=E0=B8=AA=E0=B9=88=E0=B8=87=20zinCode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/01_branch-management/MainPage.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index c7afa790..de817f26 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -297,14 +297,15 @@ function triggerDelete(id: string) { dialog({ color: 'negative', icon: 'mdi-alert', - title: 'ยืนยังการลบข้อมูล', - actionText: 'ตกลง', + title: t('deleteConfirmTitle'), + actionText: t('agree'), persistent: true, - message: 'ท่านต้องการลบข้อมูลหรือมั้ย', + message: t('deleteConfirmMessage'), action: async () => { await branchStore.deleteById(id); await branchStore.fetchList({ pageSize: 99999 }); modalDrawer.value = false; + stats.value[0].count = stats.value[0].count - 1; flowStore.rotate(); }, cancel: () => {}, @@ -863,6 +864,7 @@ watch(locale, () => { v-model:province-id="formData.provinceId" v-model:district-id="formData.districtId" v-model:sub-district-id="formData.subDistrictId" + v-model:zip-code="formData.zipCode" :title="changeTitle(formType, formTypeBranch) + ' ' + currentEdit.code" :titleFormAddress="$t('formDialogTitleAddress')" :address-title="$t('formDialogAddress')" @@ -965,6 +967,7 @@ watch(locale, () => { v-model:province-id="formData.provinceId" v-model:district-id="formData.districtId" v-model:sub-district-id="formData.subDistrictId" + v-model:zip-code="formData.zipCode" :title-form-address="$t('formDialogTitleAddress')" :address-title="$t('formDialogAddress')" :address-title-e-n="$t('formDialogAddressEN')"