spring
12 小时以前 b937241a2c20f62f45b31b232b6cebdec03d41d7
src/api/inventoryManagement/stockInventory.js
@@ -41,3 +41,37 @@
        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,
    });
};