consumable_stock_in.js
923 字节
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 listConsumable_stock_in(query) {
return request({
url: '/admin/yhp/consumable_stock_in/list',
method: 'get',
params: query
})
}
// 查询易耗品入库详细
export function getConsumable_stock_in(id) {
return request({
url: '/admin/yhp/consumable_stock_in/' + id,
method: 'get'
})
}
// 新增易耗品入库
export function addConsumable_stock_in(data) {
return request({
url: '/admin/yhp/consumable_stock_in',
method: 'post',
data: data
})
}
// 修改易耗品入库
export function updateConsumable_stock_in(data) {
return request({
url: '/admin/yhp/consumable_stock_in',
method: 'put',
data: data
})
}
// 删除易耗品入库
export function delConsumable_stock_in(id) {
return request({
url: '/admin/yhp/consumable_stock_in/' + id,
method: 'delete'
})
}