|
@@ -618,6 +618,12 @@
|
|
showCancel: false,
|
|
showCancel: false,
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ if (!this.name) {
|
|
|
|
+ this.name = res.data.data.name
|
|
|
|
+ }
|
|
|
|
+ if (!this.idNumber) {
|
|
|
|
+ this.idNumber = res.data.data.cardNum
|
|
|
|
+ }
|
|
if (event.name === 'Front' && (res.data.data.cardNum != this.idNumber || res.data
|
|
if (event.name === 'Front' && (res.data.data.cardNum != this.idNumber || res.data
|
|
.data.name != this.name)) {
|
|
.data.name != this.name)) {
|
|
uni.showModal({
|
|
uni.showModal({
|
|
@@ -1290,7 +1296,10 @@
|
|
} else {
|
|
} else {
|
|
this.isMainCustomer = false
|
|
this.isMainCustomer = false
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ //是主入住人且姓名和身份证号为空,判断为新用户,直接跳转至上传身份证照片页面
|
|
|
|
+ if (this.isMainCustomer && (!this.userInfo.name || !this.userInfo.idNumber)) {
|
|
|
|
+ this.step = 1
|
|
|
|
+ }
|
|
// #ifdef MP-WEIXIN
|
|
// #ifdef MP-WEIXIN
|
|
this.isVKSupport = wx.isVKSupport('v1')
|
|
this.isVKSupport = wx.isVKSupport('v1')
|
|
if (!this.isVKSupport) {
|
|
if (!this.isVKSupport) {
|