import request from "@/utils/request.js"; // 分页查询耗材库存记录列表 export const getConsumablesInListPage = (params) => { return request({ url: "/consumablesInventory/pageConsumablesInventory", method: "get", params, }); }; // 创建耗材库存记录(新增库存) export const createConsumablesIn = (params) => { return request({ url: "/consumablesInventory/addConsumablesInventory", method: "post", data: params, }); }; // 减少耗材库存记录(扣减库存) export const subtractConsumablesIn = (params) => { return request({ url: "/consumablesInventory/subtractConsumablesInventory", method: "post", data: params, }); }; // 耗材库存报表分页 export const getConsumablesInReportList = (params) => { return request({ url: "/consumablesInventory/ConsumablesInventoryPage", method: "get", params, }); }; // 耗材进出存报表(统计各个产品的入库和出库记录) export const getConsumablesInInAndOutReportList = (params) => { return request({ url: "/consumablesInventory/ConsumablesInAndOutRecord", method: "get", params, }); }; // 冻结耗材库存记录 export const frozenConsumablesIn = (params) => { return request({ url: "/consumablesInventory/frozenConsumables", method: "post", data: params, }); }; // 解冻耗材库存记录 export const thawConsumablesIn = (params) => { return request({ url: "/consumablesInventory/thawConsumables", method: "post", data: params, }); };