ปรับ ข้อมูลเงินเดือน/ค่าจ้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-03-25 11:10:53 +07:00
parent 4364bd26aa
commit 179a2b395e
6 changed files with 114 additions and 46 deletions

View file

@ -588,7 +588,7 @@ const OpsFilter = ref<InsigniaOps>({
insigniaOptions: [],
});
const note = ref<string>();
const note = ref<string | null>();
const insigniaType = ref<string>();
const year = ref<number | null>(0);
const no = ref<string>();
@ -1356,7 +1356,7 @@ const selectData = async (props: DataProps) => {
refCommandDateInput.value = props.row.refCommandDate
? convertDateDisplay(props.row.refCommandDate as Date)
: "";
note.value = props.row.note;
note.value = props?.row?.note;
await checkRowPage();
};
@ -1451,6 +1451,7 @@ const clickHistory = async (row: RequestItemsObject) => {
e.refCommandDate == null ? null : new Date(e.refCommandDate),
createdFullName: e.createdFullName,
createdAt: new Date(e.createdAt),
note: e.note,
});
});
})

View file

@ -17,11 +17,12 @@ interface RequestItemsObject {
section: string;
page: string;
receiveDate: Date;
dateAnnounce: Date|string|null;
dateAnnounce: Date | string | null;
refCommandNo: string;
refCommandDate: Date | null|string;
refCommandDate: Date | null | string;
createdFullName: string;
createdAt: Date;
note: string | null;
}
//columns

View file

@ -17,6 +17,7 @@ interface ResponseObject {
refCommandDate: Date | null;
createdFullName: string;
createdAt: Date;
note: string;
}
export type { ResponseObject };