84 lines
1.7 KiB
JavaScript
84 lines
1.7 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询运单调整申请列表
|
|
export function listEmisWaybillAjustApply(query) {
|
|
return request({
|
|
url: '/emis/emisWaybillAjustApply/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询运单调整申请详细
|
|
export function getEmisWaybillAjustApply(id) {
|
|
return request({
|
|
url: '/emis/emisWaybillAjustApply/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增运单调整申请
|
|
export function addEmisWaybillAjustApply(data) {
|
|
return request({
|
|
url: '/emis/emisWaybillAjustApply',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改运单调整申请
|
|
export function updateEmisWaybillAjustApply(data) {
|
|
return request({
|
|
url: '/emis/emisWaybillAjustApply',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除运单调整申请
|
|
export function delEmisWaybillAjustApply(id) {
|
|
return request({
|
|
url: '/emis/emisWaybillAjustApply/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
|
|
|
|
// 目的网点审核通过
|
|
export function auditDestPass(id) {
|
|
return request({
|
|
url: '/emis/emisWaybillAjustApply/auditDestPass/' + id,
|
|
method: 'post'
|
|
})
|
|
}
|
|
|
|
// 目的网点审核不通过
|
|
export function auditDestNoPass(id,note) {
|
|
return request({
|
|
url: '/emis/emisWaybillAjustApply/auditDestNoPass/' + id,
|
|
method: 'post',
|
|
data: {destConfirmNote: note}
|
|
})
|
|
}
|
|
|
|
|
|
|
|
// 中心审核通过
|
|
export function auditCenterPass(id) {
|
|
return request({
|
|
url: '/emis/emisWaybillAjustApply/auditCenterPass/' + id,
|
|
method: 'post'
|
|
})
|
|
}
|
|
|
|
// 中心审核不通过
|
|
export function auditCenterNoPass(id,note) {
|
|
return request({
|
|
url: '/emis/emisWaybillAjustApply/auditCenterNoPass/' + id,
|
|
method: 'post',
|
|
data: {centerConfirmNote: note}
|
|
})
|
|
}
|
|
|