车辆对接
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-03 15:31:52
|
||||
* @LastEditTime: 2021-12-30 16:09:00
|
||||
* @LastEditTime: 2021-12-31 15:26:07
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\services\order-management.service.ts
|
||||
@ -111,14 +111,17 @@ export class OrderManagementService extends ShipperBaseService {
|
||||
* @returns
|
||||
*/
|
||||
getNetworkFreightForwarderHistory(params: any) {
|
||||
return this.request(this.$api_get_getEnterpriseNetTransHis, params).pipe(
|
||||
const param = {
|
||||
enterpriseIds: params.ids
|
||||
}
|
||||
return this.request(this.$api_get_getEnterpriseNetTransHis, param).pipe(
|
||||
map((res: any) => {
|
||||
if (!res) {
|
||||
return [];
|
||||
}
|
||||
const list = res.map((item: any) => ({
|
||||
label: item.enterpriseName,
|
||||
value: item.id
|
||||
label: item.networkTransporterName,
|
||||
value: item.networkTransporterId
|
||||
}));
|
||||
return [{ value: '', label: '全部' }, ...list];
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user