huminmin
2 天以前 75d99a1160ca9bc5e13590b769b7b8f793b698ff
src/api/warehouseManagement/index.js
@@ -9,12 +9,26 @@
        params: query
    })
}
export function batchDeletePendingInventoryByIds(ids) {
    return request({
        url: '/pendingInventory/delPending',
        method: 'delete',
        data: ids
    })
}
// 查询正式入库管理列表
export function officialInventoryList(query) {
    return request({
        url: '/officialInventory/list',
        method: 'get',
        params: query
    })
}
export function batchDeleteOfficialInventoryByIds(ids) {
    return request({
        url: '/officialInventory/delete',
        method: 'delete',
        data: ids
    })
}
// All煤质方案查询
@@ -36,7 +50,31 @@
// 审核入库
export function addOrEditCoalValue(query) {
    return request({
        url: '/basic/coalValue/addOrEditCoalValue',
        url: '/pendingInventory/addOrEditCoalValue',
        method: 'post',
        data: query
    })
}
// 根据id查询煤质方案查询
export function coalPlanById(query) {
    return request({
        url: '/coalPlan/coalPlanById',
        method: 'get',
        params: query
    })
}
// 提交合并
export function merge(query) {
    return request({
        url: '/officialInventory/merge',
        method: 'post',
        data: query
    })
}
// 正式库存编辑
export function editOfficial(query) {
    return request({
        url: '/officialInventory/editOfficial',
        method: 'post',
        data: query
    })