fix(leave-history):add field beginningLeaveDays beginningLeaveCount

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-02-11 13:42:19 +07:00
parent 5fb13c8cd4
commit b083bcb0ca
4 changed files with 76 additions and 7 deletions

View file

@ -98,6 +98,24 @@ const columns = ref<QTableColumn[]>([
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "beginningLeaveDays",
align: "left",
label: "ยกมา (วัน)",
sortable: true,
field: "beginningLeaveDays",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "beginningLeaveCount",
align: "left",
label: "ยกมา (ครั้ง)",
sortable: true,
field: "beginningLeaveCount",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
]);
const visibleColumns = ref<string[]>([
"fullName",
@ -106,6 +124,8 @@ const visibleColumns = ref<string[]>([
"leaveDays",
"leaveDaysUsed",
"leaveCount",
"beginningLeaveDays",
"beginningLeaveCount",
]);
const modalDialogForm = ref<boolean>(false); //modal Dialog