Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2025-06-16 10:45:52 +07:00
commit 8f56dd773a
2 changed files with 6 additions and 2 deletions

View file

@ -24,7 +24,11 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
{ id: "position", name: "ตำแหน่งในสายงาน" },
{
id: "posNo",
name: route.name === "registryNew" ? "เลขที่ตำแหน่ง" : "ตำแหน่งเลขที่",
name:
route.name === "registryNew" ||
route.name === "registryRetireOfficer"
? "เลขที่ตำแหน่ง"
: "ตำแหน่งเลขที่",
},
];
});

View file

@ -722,7 +722,7 @@ onMounted(() => {
{{ `- ${row.position}`
}}{{
props.row.groupTarget === "OFFICER" &&
(row.posType || row.posLevel)
(row.posType && row.posLevel)
? ` (${
row.posType &&
(row.posType == "อำนวยการ" ||