2024-02-29 08:24:34 +00:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// 查询运单列表列表
|
|
|
|
|
export function listEmisWaybill(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/list',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-11 11:49:02 +00:00
|
|
|
export function listSimpleEmisWaybill(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/listSimple',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-02 02:25:06 +00:00
|
|
|
export function queryPrintListSimple(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/queryPrintListSimple',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2024-06-11 13:26:55 +00:00
|
|
|
export function selectEmisWaybillByMutiBillCode(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/selectEmisWaybillByMutiBillCode',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-11 11:49:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// 检查单号是否已存在
|
|
|
|
|
export function checkWaybillIsExists(billCode) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/checkWaybillIsExists',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: {billCode: billCode}
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-04-22 05:33:25 +00:00
|
|
|
|
2024-05-07 04:53:25 +00:00
|
|
|
export function getWaybillDetail(billCode) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/getWaybillDetail',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: {billCode: billCode}
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-04-22 05:33:25 +00:00
|
|
|
|
2024-02-29 08:24:34 +00:00
|
|
|
// 查询运单列表详细
|
|
|
|
|
export function getEmisWaybill(id) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/' + id,
|
|
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 新增运单列表
|
|
|
|
|
export function addEmisWaybill(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-16 07:08:12 +00:00
|
|
|
// 草稿下单
|
|
|
|
|
export function draftSubmitOrder(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/draftSubmitOrder',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-07 04:53:25 +00:00
|
|
|
// 实时下单
|
|
|
|
|
export function realSubmitOrder(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/realSubmitOrder',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 运费计算
|
|
|
|
|
export function calcWaybillFee(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/calcWaybillFee',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-11 11:49:02 +00:00
|
|
|
// 运费试算
|
|
|
|
|
export function preCalcWaybillFee(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/preCalcWaybillFee',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-07 04:53:25 +00:00
|
|
|
// 结算重量计算
|
|
|
|
|
export function calcSetteldWeight(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/calcSetteldWeight',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-11 08:32:24 +00:00
|
|
|
// 体积重量计算
|
|
|
|
|
export function calcVolumeWeight(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/calcVolumeWeight',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-07 04:53:25 +00:00
|
|
|
|
|
|
|
|
|
2024-02-29 08:24:34 +00:00
|
|
|
// 修改运单列表
|
|
|
|
|
export function updateEmisWaybill(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill',
|
|
|
|
|
method: 'put',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 删除运单列表
|
|
|
|
|
export function delEmisWaybill(id) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisWaybill/' + id,
|
|
|
|
|
method: 'delete'
|
|
|
|
|
})
|
|
|
|
|
}
|