You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
1.9 KiB
100 lines
1.9 KiB
import request from '@/axios'; |
|
|
|
/** |
|
* 初始化获取配载信息 |
|
*/ |
|
export const postloadFindLoadInitData = (data = {}) => { |
|
return request({ |
|
url: '/api/logpm-trunkline/carsLoad/findLoadInitData', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 通过名称查询仓库信息 |
|
*/ |
|
export const postFindWarehouseListByName = data => { |
|
return request({ |
|
url: '/api/logpm-trunkline/carsLoad/findWarehouseListByName', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 查询可用订单 |
|
*/ |
|
export const postFindAllOrderList = data => { |
|
return request({ |
|
url: '/api/logpm-trunkline/carsLoad/findAllOrderList', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 根据名称查询车辆 |
|
*/ |
|
export const postFindCarListByName = data => { |
|
return request({ |
|
url: '/api/logpm-trunkline/billlading/findCarListByName', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 通过名称查司机 |
|
*/ |
|
export const postFindDriverListByName = data => { |
|
return request({ |
|
url: '/api/logpm-trunkline/billlading/findDriverListByName', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 新增配载计划 |
|
*/ |
|
export const postSaveNewTripartiteTransfer = data => { |
|
return request({ |
|
url: '/api/logpm-trunkline/tripartiteTransfer/saveNewTripartiteTransfer', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 编辑配载计划 |
|
*/ |
|
export const postUpdateTripartiteTransfer = data => { |
|
return request({ |
|
url: '/api/logpm-trunkline/tripartiteTransfer/updateTripartiteTransfer', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 通过名称查询承运商 |
|
*/ |
|
export const postFindCarrierByName = data => { |
|
return request({ |
|
url: '/api/logpm-trunkline/billlading/findCarrierByName', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 通过名称查司机 |
|
*/ |
|
export const postFindDriverListByNameAndWarehouseId = data => { |
|
return request({ |
|
url: '/api/logpm-trunkline/billlading/findDriverListByNameAndWarehouseId', |
|
method: 'post', |
|
data, |
|
}); |
|
};
|
|
|