周宾
昨天 cd17315666ec8099678c55329d3e5889efb23c1e
src/api/inventoryManagement/stockIn.js
@@ -9,6 +9,41 @@
    });
};
// 查询生产入库信息列表
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({
@@ -26,6 +61,14 @@
        data,
    });
};
// 修改材料库存信息
export const updateManagementByCustom = (data) => {
    return request({
        url: "/stockin/updateManagementByCustom ",
        method: "post",
        data,
    });
};
// 新增商品入库信息
export function addSutockIn(data) {
@@ -36,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: 'post',
        data: ids
    })
}
// 删除自定义入库信息
export function delStockInCustom(ids) {
    return request({
        url: '/stockin/deleteCustom',
        method: 'delete',
        data: ids
    })
}
@@ -63,6 +141,23 @@
    })
}
// 自定义入库-详情
export function detailManagementByCustom(query) {
    return request({
        url: '/stockin/detailManagementByCustom',
        method: 'get',
        params: query
    })
}
// 采购入库-详情
export function stockinDetail(query) {
    return request({
        url: '/stockin/detail',
        method: 'get',
        params: query
    })
}
//