Procházet zdrojové kódy

fix(SCRM-4706): [DE][C端]临时停车,用户领取无牌车以后,缴费完成,在出口处扫码,离场,C端页面显示空白

john před 1 rokem
rodič
revize
f36ac0d51d

+ 7 - 1
src/pages/parkingFeeV2/mixins/parkingFeeDetail.js

@@ -807,6 +807,7 @@ export default {
       }  
     },
     orderInitCallBack(res) {
+      console.log('orderInitCallBack', res);
       try {
         setTimeout(() => {
           this.$store.dispatch('clearUnlicensed');
@@ -814,11 +815,16 @@ export default {
         // 如果 无牌车扫码出场扫码 无需缴费,直接展示无需缴费页面
         if(/unlicensedOut/.test(res.code) && res?.unlicensed) {
           this.clearOrderTimeEvent()
+          // console.log('818', {
+          //   type: 'pay',
+          //   ...this.$route.query,
+          // });
+          console.log('822822822822822', this.$route.query);
           this.$router.replace({
             path: 'parkingFeeMsg',
             query: {
-              type: 'pay',
               ...this.$route.query,
+              type: 'pay',
             }
           });
           return