edit
This commit is contained in:
@ -36,7 +36,7 @@ function getBase64(file: File): Promise<string | ArrayBuffer | null> {
|
||||
@Component({
|
||||
selector: 'app-supply-management-bulk-detail-change',
|
||||
templateUrl: './bulk-detail-change.component.html',
|
||||
styleUrls: ['./bulk-detail-change.component.less']
|
||||
styleUrls: ['./bulk-detail-change.component.less', '../../../commom/less/trajectory.less']
|
||||
})
|
||||
export class OrderManagementBulkDetailChangeComponent implements OnInit {
|
||||
validateForm1: FormGroup;
|
||||
@ -932,7 +932,7 @@ export class OrderManagementBulkDetailChangeComponent implements OnInit {
|
||||
handleOK() {
|
||||
this.isVisible = false;
|
||||
}
|
||||
goDistance(elf: NzCardComponent) {
|
||||
goDistance(elf: any) {
|
||||
if (elf) {
|
||||
elf['elementRef'].nativeElement.scrollIntoView({ behavior: 'smooth', block: 'start', inline: 'start' });
|
||||
}
|
||||
@ -997,12 +997,16 @@ export class OrderManagementBulkDetailChangeComponent implements OnInit {
|
||||
});
|
||||
});
|
||||
this.mapList = list;
|
||||
this.addressItems = [...res?.enclosureDataAppTrack];
|
||||
if (this.addressItems && this.addressItems.length > 0) {
|
||||
this.addressItems.forEach(item => {
|
||||
item.vinOutTime = this.getLocalTime(item.gtm);
|
||||
item.cityName = item.appAdress;
|
||||
const addressItems = [...res.tracks];
|
||||
if (addressItems) {
|
||||
addressItems.forEach(item => {
|
||||
// item.parkBte = item.gtm;
|
||||
item.parkBte = this.getLocalTime(item.gtm);
|
||||
item.parkAdr = item.appAdress;
|
||||
});
|
||||
this.addressItems = [...addressItems];
|
||||
} else {
|
||||
this.addressItems = [];
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user