เพิ่มแสดงเงินค่าตอบแทนพิเศษ
This commit is contained in:
parent
4ab2c5e139
commit
1fc8c41554
8 changed files with 63 additions and 9 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue