From 62dd7a29fb929865cfcd72e8412beb3b5d41a7fc Mon Sep 17 00:00:00 2001
From: zzq <a13193816592@163.com>
Date: 星期四, 28 九月 2023 15:25:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/zzq'

---
 src/views/reportForm/inboundOutboundDetail/index.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/views/reportForm/inboundOutboundDetail/index.vue b/src/views/reportForm/inboundOutboundDetail/index.vue
index 8876f1d..0531503 100644
--- a/src/views/reportForm/inboundOutboundDetail/index.vue
+++ b/src/views/reportForm/inboundOutboundDetail/index.vue
@@ -67,9 +67,19 @@
     };
   },
   created() {
-    this.setTable();
-    this.getData();
-    console.log(this.$route, "璺敱淇℃伅");
+    this.setTable()
+    console.log(this.$route.params)
+    var paramsData = sessionStorage.getItem("paramsList")
+    let params = {}
+    if (paramsData) {
+      params = JSON.parse(sessionStorage.getItem("paramsList"))
+    } else {
+      params = this.$route.params
+      sessionStorage.setItem("paramsList", JSON.stringify(params))
+    }
+    this.params = params
+    console.log(this.params)
+    this.getData()
   },
   methods: {
     setTable() {

--
Gitblit v1.8.0