From b6b824ae584853b31d4beebcb2c9350a0d4f49fd Mon Sep 17 00:00:00 2001
From: xiebin <123456>
Date: Wed, 20 Jul 2022 10:48:49 +0800
Subject: [PATCH] 农资库存和农事操作记录传入机构id
---
src/views/wel/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue
index 9bfd12c..e41d18e 100644
--- a/src/views/wel/index.vue
+++ b/src/views/wel/index.vue
@@ -278,14 +278,14 @@
//本年农事操作记录,分组统计
getFarmingStatis () {
var that = this
- getFarmingStatis(this.farm.id).then((res) => {
+ getFarmingStatis(this.userInfo.dept_id).then((res) => {
that.farmingList = res.data.data
})
},
//农资库存
StockCount () {
var that = this
- StockCount(this.farm.id).then((res) => {
+ StockCount(this.userInfo.dept_id).then((res) => {
that.stockList = res.data.data
console.log(that.stockList)
})
--
Gitblit v1.9.3