comment LeaveHistory

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-04-28 09:29:35 +07:00
parent 6db51b1343
commit f13832667c
2 changed files with 24 additions and 7 deletions

View file

@ -76,10 +76,10 @@ const leaveTypeCode = ref<string>("");
const profileId = ref<string>("");
const rowId = ref<string>("");
const formData = reactive({
leaveTypeId: "",
leaveYear: new Date().getFullYear(),
leaveDays: "",
leaveDaysUsed: "",
leaveTypeId: "", //
leaveYear: new Date().getFullYear(), //
leaveDays: "", //
leaveDaysUsed: "", //
});
const leaveTypeOptions = ref<DataLeaveType[]>([]);
const leaveTypeOptionsMain = ref<DataLeaveType[]>([]);
@ -141,6 +141,10 @@ async function fetchDataPerson() {
});
}
/**
* งกนกำหนดคาของ formData เมอมการแกไขขอม
* @param data อมลทองการแกไข
*/
async function defineDataLeaveBeginning(data: DataLeaveBeginning) {
profileId.value = data.profileId;
rowId.value = data.id;
@ -235,6 +239,7 @@ function classInput(val: boolean) {
};
}
/** Hook*/
watch(
() => formFilter.pageSize,
() => {