convertDate วินัย
This commit is contained in:
parent
7ed5191db1
commit
60dcf38aa2
6 changed files with 45 additions and 38 deletions
|
|
@ -30,6 +30,7 @@ const {
|
|||
hideLoader,
|
||||
success,
|
||||
findOrgName,
|
||||
convertDateToAPI,
|
||||
} = mixin;
|
||||
|
||||
/**
|
||||
|
|
@ -129,7 +130,7 @@ async function onSubmit() {
|
|||
amountOld: salary.value.toString().replace(/,/g, ""),
|
||||
organization: organization.value,
|
||||
reason: reason.value,
|
||||
date: date.value,
|
||||
date: convertDateToAPI(date.value),
|
||||
};
|
||||
showLoader();
|
||||
await http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue