VISA 规则

hotfix/paypal-note
Jimmy Liow 3 years ago
parent c2ce27fd6a
commit 46e5ac5aad

@ -1157,15 +1157,11 @@ ready(el => {
if (diffInDays < 1 || diffInDays > 2 || indexOf72 == -1) {
visa72hours = false;
error_72hours.show();
} else {
qualify_72hours.show();
}
if (diffInDays < 1 || diffInDays > 7 || indexOf144 == -1) {
visa144hours = false;
error_72hours.show();
} else {
qualify_144hours.show();
}
validateSuccess = (visa144hours || visa72hours) && qualify2China && thirdCountry;
@ -1173,6 +1169,14 @@ ready(el => {
if (validateSuccess) {
tip_box.show();
reason_box.hide();
if (visa72hours) {
qualify_72hours.show();
}
if (visa144hours) {
qualify_144hours.show();
}
} else {
tip_box.hide();
qualify_no.show();

Loading…
Cancel
Save