fix leave position commander

This commit is contained in:
Warunee Tamkoo 2025-12-12 15:31:40 +07:00
parent 0372eb9726
commit 2ba418651b
4 changed files with 18 additions and 9 deletions

View file

@ -70,12 +70,15 @@ const columns = ref<QTableProps["columns"]>([
style: "font-size: 14px",
},
{
name: "posExecutiveName",
name: "positionSign",
align: "left",
label: "ตำแหน่งทางการบริหาร",
label: "ตำแหน่งใต้ลายเซ็น",
sortable: true,
field: "posExecutiveName",
field: "positionSign",
headerStyle: "font-size: 14px",
format(val, row) {
return val ?? row.posExecutiveName;
},
style: "font-size: 14px",
},
{
@ -147,6 +150,7 @@ function onSubmit() {
firstName: items.firstName,
lastName: items.lastName,
positionName: items.position,
positionSign: items.positionSign ?? items.posExecutiveName,
profileId: items.id,
keycloakId: items.keycloakId,
}));