spring
6 小时以前 88a73fb2b1010eff9091f64525d6f5236ff3df1d
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
import request from "@/utils/request";
 
// 耗材入库管理-查询入库记录列表
export const getConsumablesInRecordListPage = (params) => {
    return request({
        url: "/consumablesInRecord/listPage",
        method: "get",
        params,
    });
};
 
export const updateConsumablesInRecord = (id, data) => {
    return request({
        url: "/consumablesInRecord/" + id,
        method: "put",
        data: data,
    });
};
 
// 编辑耗材入库(仅用于台账编辑)
export const editStockInStock = (data) => {
    return request({
        url: "/consumablesInRecord/editStockInStock",
        method: "post",
        data,
    });
};
 
export const batchDeleteConsumablesInRecords = (ids) => {
    return request({
        url: "/consumablesInRecord",
        method: "delete",
        data: ids,
    });
};