gongchunyi
昨天 600d741431308365cfe4387ae5305d945bcd9eca
src/api/inventoryManagement/stockInventory.js
@@ -2,7 +2,7 @@
// 分页查询库存记录列表
export const getStockInventoryListPage = (params) => {
    return request({
        url: "/stockInventory/pagestockInventory",
        url: "/stockInventory/pageListCombinedStockInventory",
        method: "get",
        params,
    });
@@ -13,7 +13,7 @@
    return request({
        url: "/stockInventory/addstockInventory",
        method: "post",
        params,
        data: params,
    });
};
@@ -22,6 +22,41 @@
    return request({
        url: "/stockInventory/subtractStockInventory",
        method: "post",
        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,
    });
};