From b92def04872a38977c9ec9a89a1006bac72322d9 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 13 十一月 2023 19:08:23 +0800
Subject: [PATCH] 位置id查位置报表

---
 src/views/warehouseManage/position/AddDialog.vue |    2 +-
 src/views/reportForm/locationReport/index.vue    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/reportForm/locationReport/index.vue b/src/views/reportForm/locationReport/index.vue
index fd09e6c..a26c37d 100644
--- a/src/views/reportForm/locationReport/index.vue
+++ b/src/views/reportForm/locationReport/index.vue
@@ -224,8 +224,8 @@
           pageSize: this.pagerOptions.pageSize,
           keyWord:this.keyWord,
         }
-        if(this.$route.params.positionId){
-          params.positionId=this.$route.params.positionId
+        if(this.$route.params.locationId){
+          params.locationId=this.$route.params.locationId
         }
         this.getLocationData(params)
       }
diff --git a/src/views/warehouseManage/position/AddDialog.vue b/src/views/warehouseManage/position/AddDialog.vue
index 54147c9..b7f7ca6 100644
--- a/src/views/warehouseManage/position/AddDialog.vue
+++ b/src/views/warehouseManage/position/AddDialog.vue
@@ -255,7 +255,7 @@
         this.$router.push({
           name: "locationReport",
           params: {
-            positionId: this.editConfig.infomation.id
+            locationId: this.editConfig.infomation.id
           }
         })
       }

--
Gitblit v1.8.0