edit
This commit is contained in:
@ -77,16 +77,18 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||
this.i = res;
|
||||
this.pois = [
|
||||
{
|
||||
markerLabel: '起',
|
||||
markerLabel: '装',
|
||||
color: 'blue',
|
||||
position: [res.startingPoint.longitude, res.startingPoint.latitude],
|
||||
title: res.startingPoint.detailedAddress
|
||||
title: '发货地:' + res.startingPoint.detailedAddress,
|
||||
time: '计划出发时间:' +res.loadPlanTime
|
||||
},
|
||||
{
|
||||
markerLabel: '卸',
|
||||
color: 'red',
|
||||
position: [res.endPoint.longitude, res.endPoint.latitude],
|
||||
title: res.endPoint.detailedAddress
|
||||
title: '卸货地地:' + res.endPoint.detailedAddress,
|
||||
time: '计划卸货时间:' + res.unloadPlanTime
|
||||
}
|
||||
];
|
||||
this.billExpenses = this.i?.billExpenseDetails?.filter(
|
||||
@ -210,6 +212,9 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
getLocalTime(time: any) {
|
||||
if (!time) {
|
||||
return '';
|
||||
}
|
||||
return format(new Date(parseInt(time)), 'yyyy-MM-dd HH:mm:ss');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user