fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-24 16:58:02
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-03-23 14:44:37
|
||||
* @LastEditTime : 2022-04-11 19:03:20
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail-change\\bulk-detail-change.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -589,6 +589,7 @@ export class OrderManagementBulkDetailChangeComponent implements OnInit {
|
||||
nzContent: AmapPoiPickerComponent,
|
||||
nzWidth: 900,
|
||||
nzOnOk: item => {
|
||||
if(item?.poi) {
|
||||
const poi = item.poi;
|
||||
const locList = poi.pois;
|
||||
switch (type) {
|
||||
@ -620,7 +621,10 @@ export class OrderManagementBulkDetailChangeComponent implements OnInit {
|
||||
this.totalTime = res?.time;
|
||||
});
|
||||
}
|
||||
} else {
|
||||
this.service.msgSrv.warning('请重新手动选择地址!')
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
initSF3() {
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-23 13:39:58
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-04-06 15:12:24
|
||||
* @LastEditTime : 2022-04-11 19:03:47
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail-change\\vehicle-detail-change.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -560,6 +560,7 @@ export class OrderManagementVehicleDetailChangeComponent implements OnInit {
|
||||
nzContent: AmapPoiPickerComponent,
|
||||
nzWidth: 900,
|
||||
nzOnOk: item => {
|
||||
if(item?.poi) {
|
||||
const poi = item.poi;
|
||||
const locList = poi.pois;
|
||||
switch (type) {
|
||||
@ -591,6 +592,9 @@ export class OrderManagementVehicleDetailChangeComponent implements OnInit {
|
||||
this.totalTime = res?.time;
|
||||
});
|
||||
}
|
||||
} else {
|
||||
this.service.msgSrv.warning('请重新手动选择地址!')
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user