// 库存管理
|
import request from '@/utils/request'
|
|
// 查询待入库管理列表
|
export function pendingInventoryList(query) {
|
return request({
|
url: '/pendingInventory/list',
|
method: 'get',
|
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煤质方案查询
|
export function coalPlanList(query) {
|
return request({
|
url: '/coalPlan/coalPlanList',
|
method: 'get',
|
params: query
|
})
|
}
|
// All煤质维护字段查询
|
export function coalFieldList(query) {
|
return request({
|
url: '/coalField/coalFieldList',
|
method: 'get',
|
params: query
|
})
|
}
|
// 审核入库
|
export function addOrEditCoalValue(query) {
|
return request({
|
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
|
})
|
}
|