From efd6221d2e22dd2e7468301554ff1be1e9271df5 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 04 Aug 2022 10:37:46 +0800
Subject: [PATCH] 修复农产品库存选择农场后还能选择其他农场地块
---
src/api/land/land.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/api/land/land.js b/src/api/land/land.js
index f92a836..6e301c3 100644
--- a/src/api/land/land.js
+++ b/src/api/land/land.js
@@ -96,12 +96,13 @@
})
}
- export const selectByStrainId = (strainId)=>{
+ export const selectByStrainId = (strainId,farmId)=>{
return request({
url: '/api/land/land/selcetByStrainId',
method: 'get',
params: {
- strainId
+ strainId,
+ farmId
}
})
}
--
Gitblit v1.9.3