Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2024-03-07 15:23:20 +07:00
commit a5b53a705c
9 changed files with 525 additions and 30 deletions

View file

@ -54,15 +54,15 @@ const typeRangeOps = computed(() => {
/*** ฟังก์ชั่นสำหรับ validate ฟอร์ม */
function validateForm() {
if (typeRef.value.validate()) {
if (
store.roundMainCode === "APR" &&
store.remaining === 0 &&
type.value === "FULL"
) {
dialogMessageNotify($q, "ไม่สามารถย้ายขั้นได้เนื่องจากโควตาคงเหลือไม่พอ");
} else {
// if (
// store.roundMainCode === "APR" &&
// store.remaining === 0 &&
// type.value === "FULL"
// ) {
// dialogMessageNotify($q, "");
// } else {
onSubmit();
}
// }
}
}