From d1a6273bcf78f1106639046e7a6f9b8623f6dc03 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Wed, 30 Jul 2025 09:45:53 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87=E0=B8=A3=E0=B8=B1?= =?UTF-8?q?=E0=B8=81=E0=B8=A9=E0=B8=B2=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B9=83?= =?UTF-8?q?=E0=B8=99=E0=B8=95=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88?= =?UTF-8?q?=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Step/2_ListPersons.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/modules/18_command/components/Step/2_ListPersons.vue b/src/modules/18_command/components/Step/2_ListPersons.vue index 8a69fa33a..9f9722a45 100644 --- a/src/modules/18_command/components/Step/2_ListPersons.vue +++ b/src/modules/18_command/components/Step/2_ListPersons.vue @@ -75,6 +75,15 @@ const baseColumns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", }, + { + name: "posNo", + align: "left", + label: "รักษาการในตำแหน่ง", + field: "posNo", + sortable: false, + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, { name: "citizenId", align: "left", @@ -141,14 +150,20 @@ const columns = computed(() => { props.commandCode === "C-PM-04" ) { return baseColumns.value; - } else { + } else if (props.commandCode == "C-PM-40") { return baseColumns.value?.filter( (e) => e.name !== "position" && e.name !== "positionType" ); + } else { + return baseColumns.value?.filter( + (e) => + e.name !== "position" && e.name !== "positionType" && e.name !== "posNo" + ); } }); const visibleColumns = ref([ "no", + "posNo", "citizenId", "fullName", "amount",