รายการอื่นๆ ==> ตำแหน่งที่บรรจุกลับ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-28 17:53:32 +07:00
parent 5865438d9d
commit 6fa064bb7c
2 changed files with 136 additions and 1 deletions

View file

@ -68,6 +68,9 @@ const columns = computed(() => [
align: "left",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format(val: number, row: RetirementList) {
return val === 0 ? "ว่าง" : val;
},
},
{
name: "name",
@ -77,7 +80,7 @@ const columns = computed(() => [
field: "name",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format(val: any, row: any) {
format(val: string, row: RetirementList) {
return `${row.prefix ?? ""}${row.firstName ?? ""} ${row.lastName ?? ""}`;
},
},