consumable_inventory_check.js
993 字节
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_inventory_check(query) {
return request({
url: '/admin/yhp/consumable_inventory_check/list',
method: 'get',
params: query
})
}
// 查询易耗品盘点详细
export function getConsumable_inventory_check(id) {
return request({
url: '/admin/yhp/consumable_inventory_check/' + id,
method: 'get'
})
}
// 新增易耗品盘点
export function addConsumable_inventory_check(data) {
return request({
url: '/admin/yhp/consumable_inventory_check',
method: 'post',
data: data
})
}
// 修改易耗品盘点
export function updateConsumable_inventory_check(data) {
return request({
url: '/admin/yhp/consumable_inventory_check',
method: 'put',
data: data
})
}
// 删除易耗品盘点
export function delConsumable_inventory_check(id) {
return request({
url: '/admin/yhp/consumable_inventory_check/' + id,
method: 'delete'
})
}