From 58dcace410b3a479fc8cc8efc02569e0df11a6d7 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期四, 19 十月 2023 11:30:24 +0800
Subject: [PATCH] feat: 搜索项默认使用路由带过来的参数

---
 src/views/reportForm/inventoryReport/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/reportForm/inventoryReport/index.vue b/src/views/reportForm/inventoryReport/index.vue
index 8f96fb2..6b5f827 100644
--- a/src/views/reportForm/inventoryReport/index.vue
+++ b/src/views/reportForm/inventoryReport/index.vue
@@ -146,7 +146,7 @@
       pageSizes: [15, 30],
       oldRadioBtn: "",
       metaTitle: this.$route.meta.title,
-      searchStr: ""
+      searchStr: this.$route.params.name ?? ''
     }
   },
   created() {

--
Gitblit v1.8.0