From 20fa9f61227faa7514bf9305441535549b6af34a Mon Sep 17 00:00:00 2001 From: shijing Date: Sat, 21 May 2022 15:37:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=BA=8F=E8=AE=B0=E5=BD=95=E8=A1=A8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BC=95=E7=94=A8=E8=A1=A8=E5=8D=95=EF=BC=8C?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=93=8D=E4=BD=9C=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_client/src/views/mtm/productList.vue | 9 ++++- hb_client/src/views/mtm/step.vue | 49 ++++++++++++++++-------- hb_client/src/views/mtm/wproductList.vue | 9 ++++- hb_client/src/views/wpm/operationdo.vue | 37 +++++++++++------- 4 files changed, 73 insertions(+), 31 deletions(-) diff --git a/hb_client/src/views/mtm/productList.vue b/hb_client/src/views/mtm/productList.vue index 9b2e82b..f0dfaeb 100644 --- a/hb_client/src/views/mtm/productList.vue +++ b/hb_client/src/views/mtm/productList.vue @@ -268,7 +268,14 @@ }, //检查表 handlebind(scope) { - this.$router.push({name: "MaterialDO", params: {id: scope.row.id},}) + let materialItem = sessionStorage.getItem('materialItem'); + if(materialItem){ + sessionStorage.removeItem('materialItem'); + sessionStorage.setItem('materialItem',JSON.stringify(scope.row)); + }else{ + sessionStorage.setItem('materialItem',JSON.stringify(scope.row)); + } + this.$router.push({name: "MaterialDO", params: {id: scope.row.id}}) }, handleFilter() { this.listQuery.page = 1; diff --git a/hb_client/src/views/mtm/step.vue b/hb_client/src/views/mtm/step.vue index d2d90ca..1628577 100644 --- a/hb_client/src/views/mtm/step.vue +++ b/hb_client/src/views/mtm/step.vue @@ -157,19 +157,16 @@ >