|
|
|
@ -4,20 +4,22 @@ import { axios } from '@/utils/request'
|
|
|
|
|
*/
|
|
|
|
|
export function TmsForwarderOrderCreate(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/tmsaip/TmsForwarderOrder/create',
|
|
|
|
|
// url: '/tmsaip/TmsForwarderOrder/create',
|
|
|
|
|
url: '/tmsaip/tmsTruckerOrder/create',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 根据id删除货代派车单信息
|
|
|
|
|
*/
|
|
|
|
|
export function TmsForwarderOrderDelete(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: `/tmsaip/TmsForwarderOrder/delete/${parameter.id}`,
|
|
|
|
|
method: 'post'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// /**
|
|
|
|
|
// * 根据id删除货代派车单信息
|
|
|
|
|
// */
|
|
|
|
|
// export function TmsForwarderOrderDelete(parameter) {
|
|
|
|
|
// return axios({
|
|
|
|
|
// // url: `/tmsaip/TmsForwarderOrder/delete/${parameter.id}`,
|
|
|
|
|
// url: `/tmsaip/tmsTruckerOrder/delete/${parameter.id}`,
|
|
|
|
|
// method: 'post'
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
/**
|
|
|
|
|
* 根据id查询车队派车单信息
|
|
|
|
|
*/
|
|
|
|
@ -40,9 +42,10 @@ export function TmsTruckerOrderList(parameter) {
|
|
|
|
|
/**
|
|
|
|
|
* 根据id更新货代派车单信息
|
|
|
|
|
*/
|
|
|
|
|
export function TmsForwarderOrderUpdate(parameter) {
|
|
|
|
|
export function tmsTruckerOrderUpdate(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/tmsaip/TmsForwarderOrder/update',
|
|
|
|
|
// url: '/tmsaip/TmsForwarderOrder/update',
|
|
|
|
|
url: `/tmsaip/tmsTruckerOrder/update/${parameter.id}`,
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter.values
|
|
|
|
|
})
|
|
|
|
|