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
| import request from "@/utils/request.js";
| // 分页查询库存记录列表
| export const getStockInventoryListPage = (params) => {
| return request({
| url: "/stockInventory/pagestockInventory",
| method: "get",
| params,
| });
| };
|
| // 创建库存记录
| export const createStockInventory = (params) => {
| return request({
| url: "/stockInventory/addstockInventory",
| method: "post",
| data: params,
| });
| };
|
| // 减少库存记录
| export const subtractStockInventory = (params) => {
| return request({
| url: "/stockInventory/subtractStockInventory",
| method: "post",
| data: params,
| });
| };
|
| export const getStockInventoryReportList = (params) => {
| return request({
| url: "/stockInventory/stockInventoryPage",
| method: "get",
| params,
| });
| };
|
| export const getStockInventoryInAndOutReportList = (params) => {
| return request({
| url: "/stockInventory/stockInAndOutRecord",
| method: "get",
| params,
| });
| };
|
| // 冻结库存记录
| export const frozenStockInventory = (params) => {
| return request({
| url: "/stockInventory/frozenStock",
| method: "post",
| data: params,
| });
| };
|
| // 解冻库存记录
| export const thawStockInventory = (params) => {
| return request({
| url: "/stockInventory/thawStock",
| method: "post",
| data: params,
| });
| };
|
|