From 3c124094ad06306dcb2dbbace5af8a4a1e26e3ac Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 16 Aug 2022 16:59:00 +0800
Subject: [PATCH] 修正错误

---
 src/views/statistics/stock.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/views/statistics/stock.vue b/src/views/statistics/stock.vue
index 004dce5..3592f5b 100644
--- a/src/views/statistics/stock.vue
+++ b/src/views/statistics/stock.vue
@@ -261,17 +261,17 @@
       // this.query['endTime'] = thisDay;
       return thisDay;
     },
-    initData() {
-      var that = this;
-      //获取农产品数据
-      getStrainList(0).then((res) => {
-        if (res.data.code == 200) {
-          var strainId = that.findObject(that.option.column, "strainId");
-          strainId.dicData = res.data.data;
-        }
-      });
-    }
-    ,
+    // initData() {
+    //   var that = this;
+    //   //获取农产品数据
+    //   getStrainList(0).then((res) => {
+    //     if (res.data.code == 200) {
+    //       var strainId = that.findObject(that.option.column, "strainId");
+    //       strainId.dicData = res.data.data;
+    //     }
+    //   });
+    // }
+    // ,
     //新增
     rowSave(row, done, loading) {
       row["strainType"] = 0;

--
Gitblit v1.9.3