gaoluyang
2025-11-11 1d9880e6ada168326e7516f23cf12db19e9a875d
src/api/inventoryManagement/stockManage.js
@@ -3,11 +3,30 @@
// 查询库存信息列表
export const getStockManagePage = (params) => {
    return request({
        url: "/stockmanagement/page",
        url: "/stockin/listPageCopy",
        method: "get",
        params,
    });
};
// 查询生产入库库存信息列表
export const getStockManagePageByProduction = (params) => {
    return request({
        url: "/stockin/listPageCopyByProduction",
        method: "get",
        params,
    });
};
// 查询手动入库库存信息列表
export const getStockManagePageByCustom = (params) => {
    return request({
        url: "/stockin/listPageCopyByCustom",
        method: "get",
        params,
    });
};
// 修改库存信息
export const updateStockManage = (data) => {
@@ -21,8 +40,8 @@
// 删除库存信息
export function delStockManage(ids) {
    return request({
        url: '/stockmanagement/del',
        method: 'delete',
        url: '/stockin/del',
        method: 'post',
        data: ids
    })
}
@@ -37,11 +56,21 @@
    })
}
//出库接口
// 出库管理-领用接口
export const stockOut = (data) => {
    return request({
        url: '/stockmanagement/stockout',
        method: 'post',
        data: data
    })
}
}
//根据id获取库存信息
export function getStockManageById(id) {
    return request({
        url: '/stockmanagement/' + id,
        method: 'get'
    })
}
//