Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2024-02-07 10:22:42 +07:00
commit 85f71f1c27
20 changed files with 255 additions and 212 deletions

View file

@ -46,6 +46,7 @@ const {
messageError,
success,
dialogRemove,
dialogMessageNotify,
} = mixin;
const selected = ref<any>([]);
const search = ref<string>("");
@ -309,7 +310,11 @@ function validateForm() {
}
}
if (hasError.every((result) => result === true)) {
onSubmit();
if (rows.value.length !== 0) {
onSubmit();
} else {
dialogMessageNotify($q, "กรุณาเลือกตำแหน่งอย่างน้อย 1 ตำแหน่ง");
}
} else {
}
}