|
@@ -457,9 +457,10 @@ export default {
|
|
},
|
|
},
|
|
// 校验车牌号
|
|
// 校验车牌号
|
|
async preHandleSearch() {
|
|
async preHandleSearch() {
|
|
|
|
+ const member = uni.getStorageSync('member');
|
|
if (this.disabledBtn) return
|
|
if (this.disabledBtn) return
|
|
// 不是杭州的车牌 或者 用户拒绝登陆的场景
|
|
// 不是杭州的车牌 或者 用户拒绝登陆的场景
|
|
- if (!isHZ(this.mallId) || this.$route.query.isLogin === 'loginDenied') {
|
|
|
|
|
|
+ if (!isHZ(this.mallId) || this.$route.query.isLogin === 'loginDenied' || !member) {
|
|
this.toParkingFeeDetail()
|
|
this.toParkingFeeDetail()
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -492,8 +493,9 @@ export default {
|
|
},
|
|
},
|
|
// 历史车牌快速查询
|
|
// 历史车牌快速查询
|
|
async toHandleSearchBefore(vehicleNo) {
|
|
async toHandleSearchBefore(vehicleNo) {
|
|
|
|
+ const member = uni.getStorageSync('member');
|
|
// 不是杭州的车牌 或者 用户拒绝登陆的场景
|
|
// 不是杭州的车牌 或者 用户拒绝登陆的场景
|
|
- if (!isHZ(this.mallId) || this.$route.query.isLogin === 'loginDenied') {
|
|
|
|
|
|
+ if (!isHZ(this.mallId) || this.$route.query.isLogin === 'loginDenied' || !member) {
|
|
this.toHandleSearch(vehicleNo)
|
|
this.toHandleSearch(vehicleNo)
|
|
return
|
|
return
|
|
}
|
|
}
|