|
@@ -118,16 +118,12 @@ export default {
|
|
|
}, 500)
|
|
|
const invoiceindex = Number.parseInt(uni.getStorageSync('invoiceindex') || 1)
|
|
|
this.$store.dispatch('clearUnlicensed');
|
|
|
- if (JSON.stringify(this.member) !== '{}') {
|
|
|
+ // 如果用户登录时 或者 是浦东和静安访问的话,展示开票内容
|
|
|
+ if (JSON.stringify(this.member) !== '{}' || ['JINGAN', 'PUDONG'].indexOf(this.source) > -1) {
|
|
|
this.invoice(invoiceindex);
|
|
|
} else {
|
|
|
wxToLoginCallback('parkingReceipt', () => {
|
|
|
- // 如果用户未做登录的话
|
|
|
- if(['JINGAN', 'PUDONG'].indexOf(this.source) > -1) {
|
|
|
- this.invoice(invoiceindex);
|
|
|
- } else {
|
|
|
- this.$router.back();
|
|
|
- }
|
|
|
+ this.$router.back();
|
|
|
});
|
|
|
}
|
|
|
},
|