Browse Source

Merge pull request #96 from John-Hong/John/release-2.0.0/SCRM-2339

feat(SCRM-2339): C端|停车开票失败订单重复提交开票申请
Tron 2 years ago
parent
commit
fe8946279e

+ 1 - 1
src/pages/parkingFee/parkingReceipt/parkingApplication.vue

@@ -332,7 +332,7 @@ export default {
     },
     changeHeader() {
       this.$router.push({
-        path: 'parkingChooseHeader?ids=' + this.ids,
+        path: 'parkingChooseHeader?ids=' + this.ids + '&invoiceId=' + this.pageOptions.invoiceId,
       });
     },
     gotoDetail() {

+ 4 - 0
src/pages/parkingFee/parkingReceipt/parkingChooseHeader.vue

@@ -88,6 +88,7 @@ export default {
       globalData: app.globalData,
       current: -1,
       ids: '',
+      invoiceId: '',
       list: [],
       preUrl: '',
     };
@@ -95,6 +96,7 @@ export default {
   created() {
     const options = this.$route.query;
     if (options.ids) this.ids = options.ids;
+    if (options.invoiceId) this.invoiceId = options.invoiceId;
     // 埋点本地化
     this.preUrl = uni.getStorageSync('previousUrl');
     uni.setStorageSync(
@@ -210,6 +212,8 @@ export default {
         path:
           'parkingApplication?ids=' +
           this.ids +
+          "&invoiceId=" +
+          this.invoiceId +
           '&header=' +
           JSON.stringify(item),
       });