From 2b78cf0cd68e1809bc4cad7d730bef6ab9c4c118 Mon Sep 17 00:00:00 2001 From: zzq <a13193816592@163.com> Date: 星期四, 28 九月 2023 15:30:45 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/WMS --- 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