inventory.js
885 Bytes
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
import http from './interface'
// 选取补充入库的库位
export const pickLocation = () => {
return http.request({
url: '/inventory/mobile/pickLocation',
method:'POST'
})
}
// 查询库存明细列表
export const inventoryDetailList = (containerCode) => {
const data = {
containerCode
}
return http.request({
url: '/inventory/inventoryDetail/inventoryDetailList',
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 default {
pickLocation,
inventoryDetailList,
getInventoryProp,
listTransaction
}