|
@@ -83,6 +83,7 @@ export default {
|
|
|
userInfo: (state) => state.userInfo,
|
|
|
member: (state) => state.member,
|
|
|
mobile: (state) => state.mobile,
|
|
|
+ source: (state) => state.source,
|
|
|
}),
|
|
|
},
|
|
|
created() {
|
|
@@ -117,7 +118,12 @@ export default {
|
|
|
this.invoice(invoiceindex);
|
|
|
} else {
|
|
|
wxToLoginCallback('parkingReceipt', () => {
|
|
|
- this.$router.back();
|
|
|
+ // 如果用户未做登录的话
|
|
|
+ if(['JINGAN', 'PUDONG'].indexOf(this.source) > -1) {
|
|
|
+ this.invoice(invoiceindex);
|
|
|
+ } else {
|
|
|
+ this.$router.back();
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
},
|