From f7791e81efb86d876aec23aeaa17fde3ff3efcaf Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 30 Jun 2022 20:55:20 +0800
Subject: [PATCH] 1、接口对接,增加库存判断,省市县对接 2、样式调整,修改为avue加载,增加判空条件,增加尾部图标 3、库存损耗
---
src/api/farm/farmingrecord.js | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/src/api/farm/farmingrecord.js b/src/api/farm/farmingrecord.js
index 804fa66..f237073 100644
--- a/src/api/farm/farmingrecord.js
+++ b/src/api/farm/farmingrecord.js
@@ -45,4 +45,25 @@
id
}
})
+}
+
+
+export const getFarmingCount = (deptId) => {
+ return request({
+ url: '/api/farmingRecord/getFarmingCount',
+ method: 'get',
+ params: {
+ deptId
+ }
+ })
+}
+
+export const getFarmingStatis = (deptId) => {
+ return request({
+ url: '/api/farmingRecord/getFarmingStatis',
+ method: 'get',
+ params: {
+ deptId
+ }
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3