mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 04:52:52 +08:00
[FIX]【电投】修复在账户信息页面银行卡未校验空白字符问题
This commit is contained in:
@@ -287,9 +287,9 @@ export default {
|
||||
this.$toast('本产品年龄大于65岁不能投保')
|
||||
return
|
||||
}
|
||||
let data
|
||||
let cardData = {}
|
||||
if (this.saleInsuredInfo.idNo) {
|
||||
data = {
|
||||
cardData = {
|
||||
account: this.bankId,
|
||||
idNo: this.saleInsuredInfo.idNo,
|
||||
idType: this.saleInsuredInfo.idType,
|
||||
@@ -297,7 +297,7 @@ export default {
|
||||
name: this.saleInsuredInfo.name
|
||||
}
|
||||
} else {
|
||||
data = {
|
||||
cardData = {
|
||||
account: this.bankId,
|
||||
idNo: this.appntDTO.idNo,
|
||||
idType: this.appntDTO.idType,
|
||||
@@ -316,7 +316,7 @@ export default {
|
||||
let valid = await this.$validator.validate()
|
||||
// that.$validator.validate().then(valid => {
|
||||
if (valid === true) {
|
||||
let res = await checkCard(data)
|
||||
let res = await checkCard(cardData)
|
||||
this.$toast.clear()
|
||||
if (res.result != '0') {
|
||||
return this.$toast(res.resultMessage)
|
||||
|
||||
Reference in New Issue
Block a user