import request from '@/utils/request'
|
|
// 查询生产工单列表
|
export function listProductionOrde(query) {
|
return request({
|
url: '/om/productionOrde/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询生产工单列表
|
export function bindYzSfcFlag(query) {
|
return request({
|
url: '/om/productionOrde/bindYzSfcFlag',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询生产工单列表
|
export function checkYzSfcCode(query) {
|
return request({
|
url: '/om/productionOrde/checkYzSfcCode',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询生产工单列表
|
export function checkCarCode(query) {
|
return request({
|
url: '/om/productionOrde/checkCarCode',
|
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 jieBang(id) {
|
return request({
|
url: '/om/productionOrde/jieBang/' + id,
|
method: 'get'
|
})
|
}
|
|
// 查询生产工单详细
|
export function getProductionOrde(id) {
|
return request({
|
url: '/om/productionOrde/' + id,
|
method: 'get'
|
})
|
}
|
|
export function workReportingByStation(id,stationCode) {
|
return request({
|
url: '/om/productionOrde/workReportingByStation/' + id+'/' + stationCode,
|
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'
|
})
|
}
|