huminmin
2026-02-03 f2485e01843a569549bef74aa65ac44df3cfaa3b
src/api/inventoryManagement/stockInventory.js
@@ -8,6 +8,17 @@
    });
};
// 根据ID查询库存记录详情
export const getStockInventoryById = (params) => {
    return request({
        url: "/stockInventory/getById",
        method: "get",
        params,
    });
};
// 创建库存记录
export const createStockInventory = (params) => {
    return request({
@@ -25,3 +36,47 @@
        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,
    });
};
// 获取产品大类的select列表
// /basic/product/listProduct
export const getProductList = (params) => {
    return request({
        url: "/basic/product/listProduct",
        method: "get",
        params,
    });
};