From b868cffb33fd52b0897128b92649dbfd61f89fb8 Mon Sep 17 00:00:00 2001 From: Jack Goh Date: Tue, 31 Jul 2018 15:10:50 +0800 Subject: [PATCH] removed bookingform account number validation, since it no longer accept only integer but also string --- resources/assets/js/pages/home.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/resources/assets/js/pages/home.vue b/resources/assets/js/pages/home.vue index 230c6b25..5246b3ee 100644 --- a/resources/assets/js/pages/home.vue +++ b/resources/assets/js/pages/home.vue @@ -545,14 +545,6 @@ export default { }, // Get calculation before submitting booking getCalculationValue (formName) { - if ((this.bookingForm.account_num < 0) || isNaN(this.bookingForm.account_num)) { - this.$message({ - message: 'Issue with Last input: Account number must be a valid China bank account number', - type: 'warning' - }) - return - } - this.loading = true this.$refs[formName].validate((valid) => { if (valid) { @@ -585,7 +577,7 @@ export default { this.loading = false this.$message({ showClose: true, - message: 'Please fill the booking form in full.', + message: 'Please fill the booking form.', type: 'error', duration: 10000 })