เพิ่มแสดงเงินค่าตอบแทนพิเศษ

This commit is contained in:
setthawutttty 2024-12-06 17:15:02 +07:00
parent 4ab2c5e139
commit 1fc8c41554
8 changed files with 63 additions and 9 deletions

View file

@ -78,8 +78,13 @@ const dataMapToSend = computed(() => {
firstName: i.firstName,
lastName: i.lastName,
citizenId: i.citizenId,
...(props.systemName?.includes("SALARY") && {
amount: i.positionSalaryAmount,
amountSpecial: i.amountSpecial,
}),
}));
});
//Table
const rows = ref<any[]>([]);
const selected = ref<any[]>([]);
@ -143,6 +148,7 @@ function onSubmit() {
commandNo: commandNo.value,
persons: selected.value ? dataMapToSend.value : [],
};
await http
.post(config.API.command + `/person`, body)
.then(async (res) => {