feed_stock_in.js
843 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import request from '@/utils/request'
// 查询饲料入库列表
export function listFeed_stock_in(query) {
return request({
url: '/admin/cl/feed_stock_in/list',
method: 'get',
params: query
})
}
// 查询饲料入库详细
export function getFeed_stock_in(id) {
return request({
url: '/admin/cl/feed_stock_in/' + id,
method: 'get'
})
}
// 新增饲料入库
export function addFeed_stock_in(data) {
return request({
url: '/admin/cl/feed_stock_in',
method: 'post',
data: data
})
}
// 修改饲料入库
export function updateFeed_stock_in(data) {
return request({
url: '/admin/cl/feed_stock_in',
method: 'put',
data: data
})
}
// 删除饲料入库
export function delFeed_stock_in(id) {
return request({
url: '/admin/cl/feed_stock_in/' + id,
method: 'delete'
})
}