เอาเงื่อนไขการดักโควต้าของเงินเดือนออก
This commit is contained in:
parent
caa75897e3
commit
295a3d87aa
1 changed files with 8 additions and 8 deletions
|
|
@ -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();
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue