From ff0fead1e49efbd80cc5a8cc5d80a000bf509aa1 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 04 Aug 2022 18:16:39 +0800
Subject: [PATCH] 修复农资库存选择框问题

---
 src/views/stock/stockmanage.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/stock/stockmanage.vue b/src/views/stock/stockmanage.vue
index 8f6cbba..20cc7b2 100644
--- a/src/views/stock/stockmanage.vue
+++ b/src/views/stock/stockmanage.vue
@@ -185,7 +185,7 @@
   data() {
     return {
       formInline: {
-        stype: "0",
+        stype: "",
         state: "0",
         keyword: "",
       },
@@ -964,9 +964,10 @@
     onLoad(page, params = {}) {
       this.loading = true;
       var datas = this.$route.query.sid;
-      var type = this.$route.query.type;
+      // var type = this.$route.query.type;
+      // var type = this.$route.query.type;
       params.sid=datas;
-      params.stype=type;
+      // params.stype=type;
       getList(
         page.currentPage,
         page.pageSize,
@@ -976,7 +977,7 @@
         this.page.total = data.total;
         this.data = data.records;
         this.loading = false;
-        this.selectionClear();
+        // this.selectionClear();
       });
     }
     ,

--
Gitblit v1.9.3