fix:convertDateToAPI

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-10-17 17:22:40 +07:00
parent 97aa731d2f
commit 1fc7882918
8 changed files with 42 additions and 13 deletions

View file

@ -27,6 +27,7 @@ const {
success,
dialogConfirm,
onSearchDataTable,
convertDateToAPI
} = mixin;
/** คอลัมน์ */
@ -206,7 +207,7 @@ async function saveAppoint() {
if (result) {
dialogConfirm($q, async () => {
const body = {
appointDate: dateBreak.value,
appointDate: convertDateToAPI(dateBreak.value),
};
showLoader();
await http