gaoluyang
3 天以前 f936f4a3b32a0bf2b99399ced63944f218e582b9
src/api/inventoryManagement/stockManage.js
@@ -3,11 +3,12 @@
// 查询库存信息列表
export const getStockManagePage = (params) => {
    return request({
        url: "/stockmanagement/page",
        url: "/stockin/listPageCopy",
        method: "get",
        params,
    });
};
// 修改库存信息
export const updateStockManage = (data) => {
@@ -21,8 +22,8 @@
// 删除库存信息
export function delStockManage(ids) {
    return request({
        url: '/stockmanagement/del',
        method: 'delete',
        url: '/stockin/del',
        method: 'post',
        data: ids
    })
}
@@ -35,4 +36,23 @@
        params: query,
        responseType: 'blob'
    })
}
}
//出库接口
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'
    })
}
//