import request from '@/utils/request'
|
|
// 查询生产工单列表
|
export function listProductionOrde(query) {
|
return request({
|
url: '/om/productionOrde/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function upDownMove(query) {
|
return request({
|
url: '/om/productionOrde/upDownMove',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function importTemplate() {
|
return request({
|
url: '/om/productionOrde/importTemplate',
|
method: 'get',
|
})
|
}
|
|
export function receivingWorkOrders() {
|
return request({
|
url: '/om/productionOrde/receivingWorkOrders',
|
method: 'get',
|
})
|
}
|
|
// 查询生产工单详细
|
export function getProductionOrde(id) {
|
return request({
|
url: '/om/productionOrde/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增生产工单
|
export function addProductionOrde(data) {
|
return request({
|
url: '/om/productionOrde',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function trolleyYardBinDing(data) {
|
return request({
|
url: '/om/productionOrde/trolleyYardBinDing',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function findBytrolleyYardGetOne(data) {
|
return request({
|
url: '/om/productionOrde/findBytrolleyYardGetOne',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function getCarCodeSize(data) {
|
return request({
|
url: '/om/productionOrde/getCarCodeSize',
|
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'
|
})
|
}
|