import request from '@/utils/request'
|
|
// 查询订单排产列表
|
export function listOrderScheduling(query) {
|
return request({
|
url: '/bs/orderScheduling/list',
|
method: 'get',
|
params: query
|
})
|
}
|
export function forceUploadMethod() {
|
return request({
|
url: '/bs/orderScheduling/forceUpload',
|
method: 'get',
|
})
|
}
|
export function getUrl() {
|
return request({
|
url: '/bs/orderScheduling/websocketUrl',
|
method: 'get',
|
})
|
}
|
//查询追溯报表
|
export function getFollowReport(query) {
|
return request({
|
url: '/bs/orderScheduling/getFollowReportList',
|
method: 'get',
|
params: query
|
})
|
}
|
//查询当天生产数据
|
export function getOffLineNum() {
|
return request({
|
url: '/bs/orderScheduling/getOffLineNum',
|
method: 'get'
|
})
|
}
|
export function listOrderScheduling2(query) {
|
return request({
|
url: '/bs/orderScheduling/list2',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function listOrderScheduling3(query) {
|
return request({
|
url: '/bs/orderScheduling/list3',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function getSumDataMethod(query) {
|
return request({
|
url: '/bs/orderScheduling/getSumData',
|
method: 'get',
|
params: query
|
})
|
}
|
|
|
export function engineNoIsInModel(param) {
|
return request({
|
url: '/bs/orderScheduling/engineNoIsInModel',
|
method: 'get',
|
params: param
|
})
|
}
|
export function changeBoxCode(param) {
|
return request({
|
url: '/bs/orderScheduling/changeBoxCode',
|
method: 'get',
|
params: param
|
})
|
}
|
|
// 查询订单排产详细
|
export function getOrderScheduling(id) {
|
return request({
|
url: '/bs/orderScheduling/' + id,
|
method: 'get'
|
})
|
}
|
|
|
|
// 新增订单排产
|
export function addOrderScheduling(data) {
|
return request({
|
url: '/bs/orderScheduling',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改订单排产
|
export function updateOrderScheduling(data) {
|
return request({
|
url: '/bs/orderScheduling',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除订单排产
|
export function delOrderScheduling(id) {
|
return request({
|
url: '/bs/orderScheduling/' + id,
|
method: 'delete'
|
})
|
}
|