mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 16:46:43 +08:00
【fix】 修复在部分情况下,银行卡鉴权的数据取错的问题
This commit is contained in:
@@ -160,7 +160,8 @@ export default {
|
|||||||
changeCard: localStorage.changeCard,
|
changeCard: localStorage.changeCard,
|
||||||
age: null,
|
age: null,
|
||||||
productNo: null,
|
productNo: null,
|
||||||
salePageFlag: '6'
|
salePageFlag: '6',
|
||||||
|
appntDTO: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -286,13 +287,25 @@ export default {
|
|||||||
this.$toast('本产品年龄大于65岁不能投保')
|
this.$toast('本产品年龄大于65岁不能投保')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let data = {
|
let data
|
||||||
|
if(this.saleInsuredInfo.idNo){
|
||||||
|
data = {
|
||||||
"account": this.bankId,
|
"account": this.bankId,
|
||||||
"idNo": this.saleInsuredInfo.idNo,
|
"idNo": this.saleInsuredInfo.idNo,
|
||||||
"idType": this.saleInsuredInfo.idType,
|
"idType": this.saleInsuredInfo.idType,
|
||||||
"mobile": this.saleInsuredInfo.mobile,
|
"mobile": this.saleInsuredInfo.mobile,
|
||||||
"name": this.saleInsuredInfo.name
|
"name": this.saleInsuredInfo.name
|
||||||
}
|
}
|
||||||
|
}else {
|
||||||
|
data = {
|
||||||
|
"account": this.bankId,
|
||||||
|
"idNo": this.appntDTO.idNo,
|
||||||
|
"idType": this.appntDTO.idType,
|
||||||
|
"mobile": this.appntDTO.mobile,
|
||||||
|
"name": this.appntDTO.name
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.$toast.loading({
|
this.$toast.loading({
|
||||||
duration: 0, // 持续展示 toast
|
duration: 0, // 持续展示 toast
|
||||||
forbidClick: true, // 禁用背景点击
|
forbidClick: true, // 禁用背景点击
|
||||||
@@ -453,6 +466,9 @@ export default {
|
|||||||
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
|
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
|
|
||||||
|
this.appntDTO = res.orderDTO.appntDTO
|
||||||
|
|
||||||
//如果是从编辑进来的
|
//如果是从编辑进来的
|
||||||
if (this.$route.query.edit) {
|
if (this.$route.query.edit) {
|
||||||
//投被保险人关系
|
//投被保险人关系
|
||||||
|
|||||||
Reference in New Issue
Block a user