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