From 4f7d326b68c18ced8aeeb9bc538de7acdbcb8eb0 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 05 Aug 2022 14:49:41 +0800
Subject: [PATCH] 优化农资入库表单规格值1规格值2显示,优化退回,详情按钮位置
---
src/api/land/land.js | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/src/api/land/land.js b/src/api/land/land.js
index 3817b91..7e6c667 100644
--- a/src/api/land/land.js
+++ b/src/api/land/land.js
@@ -1,3 +1,11 @@
+/*
+ * @Author: shuishen 1109946754@qq.com
+ * @Date: 2022-08-02 11:43:42
+ * @LastEditors: shuishen 1109946754@qq.com
+ * @LastEditTime: 2022-08-02 15:56:01
+ * @FilePath: \zhny_web\src\api\land\land.js
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+ */
import request from '@/router/axios';
export const getList = (current, size, params) => {
@@ -77,3 +85,36 @@
}
})
}
+
+export const submit = (params) => {
+ return request({
+ url: '/api/land/land/submit',
+ method: 'post',
+ data: {
+ ...params
+ }
+ })
+ }
+
+ export const selectByStrainId = (strainId,farmId)=>{
+ return request({
+ url: '/api/land/land/selcetByStrainId',
+ method: 'get',
+ params: {
+ strainId,
+ farmId
+ }
+ })
+ }
+
+ export const getByStrainIdFarmId = (strainId,farmId)=>{
+ return request({
+ url: '/api/land/land/getByStrainIdFarmId',
+ method: 'get',
+ params: {
+ strainId,
+ farmId
+ }
+ })
+ }
+
\ No newline at end of file
--
Gitblit v1.9.3