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
| import request from '@/utils/request'
|
| // 合格库存-分页查询
| export const getStockInventoryListPage = (params) => {
| return request({
| url: '/stockInventory/pagestockInventory',
| method: 'GET',
| params
| })
| }
|
| // 新增合格库存
| export const createStockInventory = (data) => {
| return request({
| url: '/stockInventory/addstockInventory',
| method: 'POST',
| data
| })
| }
|
| // 出库(减少库存)
| export const subtractStockInventory = (data) => {
| return request({
| url: '/stockInventory/subtractStockInventory',
| method: 'POST',
| data
| })
| }
|
| // 冻结库存
| export const frozenStockInventory = (data) => {
| return request({
| url: '/stockInventory/frozenStock',
| method: 'POST',
| data
| })
| }
|
| // 解冻库存
| export const thawStockInventory = (data) => {
| return request({
| url: '/stockInventory/thawStock',
| method: 'POST',
| data
| })
| }
|
| // 库存报表-日报/月报
| export const getStockInventoryReportList = (params) => {
| return request({
| url: '/stockInventory/stockInventoryPage',
| method: 'GET',
| params
| })
| }
|
| // 库存报表-进出存
| export const getStockInventoryInAndOutReportList = (params) => {
| return request({
| url: '/stockInventory/stockInAndOutRecord',
| method: 'GET',
| params
| })
| }
|
|