inventory.js
1.39 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import http from './interface'
// 选取补充入库的库位
export const pickLocation = () => {
return http.request({
url: '/inventory/mobile/pickLocation',
method: 'POST'
})
}
// 查询库存明细列表
export const inventoryDetailList = (data) => {
return http.request({
url: '/inventory/inventoryDetail/inventoryDetailList',
method: 'GET',
data
})
}
// 盘点查询库存明细列表
export const cycleCountLookInventoryDetail = (data) => {
return http.request({
url: '/inventory/inventoryDetail/cycleCountLookInventoryDetail',
method: 'GET',
data
})
}
// 获取首页库存分布
export const getInventoryProp = () => {
return http.request({
url: '/inventory/inventoryHeader/home/getInventoryProp',
method: 'GET',
})
}
// 查询库存交易列表
export const listTransaction = (data) => {
return http.request({
url: '/inventory/inventoryTransaction',
method: 'GET',
data
})
}
// 获取物料分析
export const getMaterialWarningProp = () => {
return http.request({
url: '/inventory/inventoryWarning/summary',
method: 'GET'
})
}
// 查询库存预警
export const listInventoryWarning = (data) => {
return http.request({
url: '/inventory/inventoryWarning/list',
method: 'GET',
data
})
}
export default {
pickLocation,
inventoryDetailList,
getInventoryProp,
listTransaction,
getMaterialWarningProp,
listInventoryWarning,
cycleCountLookInventoryDetail
}