import request from '@/utils/request'
|
|
// 查询生产工单列表
|
export function listProductionOrde(query) {
|
return request({
|
url: '/om/productionOrde/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function getProductionNotice(query) {
|
return request({
|
url: '/om/productionOrde/getProductionNotice',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function upDownMove(query) {
|
return request({
|
url: '/om/productionOrde/upDownMove',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询生产工单详细
|
export function getProductionOrde(id) {
|
return request({
|
url: '/om/productionOrde/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增订单排产
|
export function addOrderSchedulingForBoxCode(data) {
|
return request({
|
url: '/om/productionOrde/orderSchedulingForBoxCode',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 新增生产工单
|
export function addProductionOrde(data) {
|
return request({
|
url: '/om/productionOrde',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改生产工单
|
export function updateProductionOrde(data) {
|
return request({
|
url: '/om/productionOrde',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除生产工单
|
export function delProductionOrde(id) {
|
return request({
|
url: '/om/productionOrde/' + id,
|
method: 'delete'
|
})
|
}
|