From 16d9e3cf38fd1f5c24c63b744205a3838d79ea3e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 19 Feb 2024 11:52:12 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=82=E0=B8=84=E0=B8=A3=E0=B8=87=E0=B8=AA?= =?UTF-8?q?=E0=B8=A3=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=AD=E0=B8=B1=E0=B8=95?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=81=E0=B8=B3=E0=B8=A5=E0=B8=B1=E0=B8=87?= =?UTF-8?q?=20=3D>=20=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=E0=B8=95=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99?= =?UTF-8?q?=E0=B9=88=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DialogHistoryPos.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/modules/02_organizationalNew/components/DialogHistoryPos.vue b/src/modules/02_organizationalNew/components/DialogHistoryPos.vue index ee1a5f692..8a8e5885d 100644 --- a/src/modules/02_organizationalNew/components/DialogHistoryPos.vue +++ b/src/modules/02_organizationalNew/components/DialogHistoryPos.vue @@ -10,6 +10,8 @@ import type { HistoryPos } from "@/modules/02_organizationalNew/interface/respon import Header from "@/components/DialogHeader.vue"; import { useCounterMixin } from "@/stores/mixin"; +import { useOrganizational } from "@/modules/02_organizationalNew/store/organizational"; +const store = useOrganizational(); const { showLoader, hideLoader, messageError, date2Thai } = useCounterMixin(); const $q = useQuasar(); const modal = defineModel("modal", { required: true }); @@ -140,7 +142,15 @@ watch(
- {{ props.rowIndex + 1 == 1 ? "1 (แบบร่าง)":props.rowIndex + 1 == 2 ? "2 (ปัจจุบัน)":props.rowIndex + 1 }} + {{ + store.typeOrganizational === "current" + ? props.rowIndex + 1 + : props.rowIndex + 1 == 1 + ? "1 (แบบร่าง)" + : props.rowIndex + 1 == 2 + ? "2 (ปัจจุบัน)" + : props.rowIndex + 1 + }}