spring
12 小时以前 b937241a2c20f62f45b31b232b6cebdec03d41d7
src/api/inventoryManagement/stockInventory.js
@@ -26,12 +26,52 @@
    });
};
export const exportStockInventory = (params) => {
export const getStockInventoryReportList = (params) => {
    return request({
        url: "/stockInventory/exportStockInventory",
        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,
    });
};
export function getMaterials() {
    return request({
        url: "/stockInventory/getMaterials",
        method: "get",
    });
}
// 获取库存树(产品->规格/型号->批号->供应商)
export const getStockInventoryAll = (params = {}) => {
    return request({
        url: "/stockInventory/getStockInventoryAll",
        method: "get",
        params,
    });
};