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
| 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",
| params,
| });
| };
|
| // 减少库存记录
| export const subtractStockInventory = (params) => {
| return request({
| url: "/stockInventory/subtractStockInventory",
| method: "post",
| params,
| });
| };
|
|