gaoluyang
6 天以前 5929167e8fb9577df9502ba091e7c8071e79b717
src/api/inventoryManagement/stockIn.js
@@ -9,11 +9,63 @@
    });
};
// 修改库存信息
// 查询生产入库信息列表
export const getStockInPageByProduction = (params) => {
    return request({
        url: "/stockin/listPageByProduction",
        method: "get",
        params,
    });
};
// 出库台账-查询自定义入库信息列表
export const getStockInPageByCustom = (params) => {
    return request({
        url: "/stockmanagement/listPageByCustom",
        method: "get",
        params,
    });
};
// 入库管理-查询自定义入库信息列表
export const getInPageByCustom = (params) => {
    return request({
        url: "/stockin/listPageByCustom",
        method: "get",
        params,
    });
};
// 出库台账-查询生产出库信息列表
export const getStockInPageByProduct = (params) => {
    return request({
        url: "/stockmanagement/listPageByProduct",
        method: "get",
        params,
    });
};
// 修改入库存信息
export const updateStockIn = (data) => {
    return request({
        url: "/stockin/update",
        method: "put",
        method: "post",
        data,
    });
};
// 修改库存信息
export const updateManagement = (data) => {
    return request({
        url: "/stockin/updateManagement",
        method: "post",
        data,
    });
};
// 修改材料库存信息
export const updateManagementByCustom = (data) => {
    return request({
        url: "/stockin/updateManagementByCustom ",
        method: "post",
        data,
    });
};
@@ -27,11 +79,46 @@
    })
}
// 新增自定义入库信息
export function addStockInCustom(data) {
    return request({
        url: '/stockin/addCustom',
        method: 'post',
        data: data
    })
}
// 编辑自定义入库信息
export function updateStockInCustom(data) {
    return request({
        url: '/stockin/updateCustom',
        method: 'post',
        data: data
    })
}
// 编辑成品入库信息
export function updateProduct(data) {
    return request({
        url: '/stockin/update',
        method: 'post',
        data: data
    })
}
// 删除入库信息
export function delStockIn(ids) {
    return request({
        url: '/stockin/del',
        method: 'delete',
        method: 'post',
        data: ids
    })
}
// 删除自定义入库信息
export function delStockInCustom(ids) {
    return request({
        url: '/stockin/delteCustom',
        method: 'post',
        data: ids
    })
}