mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-24 06:44:20 +00:00
removed bookingform account number validation, since it no longer accept only integer but also string
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user