เอาเงื่อนไขการดักโควต้าของเงินเดือนออก
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 ฟอร์ม */
|
/*** ฟังก์ชั่นสำหรับ validate ฟอร์ม */
|
||||||
function validateForm() {
|
function validateForm() {
|
||||||
if (typeRef.value.validate()) {
|
if (typeRef.value.validate()) {
|
||||||
if (
|
// if (
|
||||||
store.roundMainCode === "APR" &&
|
// store.roundMainCode === "APR" &&
|
||||||
store.remaining === 0 &&
|
// store.remaining === 0 &&
|
||||||
type.value === "FULL"
|
// type.value === "FULL"
|
||||||
) {
|
// ) {
|
||||||
dialogMessageNotify($q, "ไม่สามารถย้ายขั้นได้เนื่องจากโควตาคงเหลือไม่พอ");
|
// dialogMessageNotify($q, "ไม่สามารถย้ายขั้นได้เนื่องจากโควตาคงเหลือไม่พอ");
|
||||||
} else {
|
// } else {
|
||||||
onSubmit();
|
onSubmit();
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue