fix bug
This commit is contained in:
@ -468,8 +468,10 @@ export class DatatableFundReportingComponent implements OnInit {
|
||||
routeToOrder(item: any) {
|
||||
if (item.orderType === '1') {
|
||||
window.open(location.origin + `/#/order-management/vehicle/vehicle-detail/${item.orderId}`);
|
||||
} else {
|
||||
} else if (item.orderType === '2') {
|
||||
window.open(location.origin + `/#/order-management/bulk/bulk-detail/${item.orderId}`);
|
||||
} else if (item.orderType === '3'){
|
||||
this.router.navigate(['/order-management/vehicle/vehicle-detail/' + item.orderId]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -477,9 +479,11 @@ export class DatatableFundReportingComponent implements OnInit {
|
||||
if (item.orderType === '1') {
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.wayBillId}`);
|
||||
|
||||
} else {
|
||||
} else if (item.orderType === '2') {
|
||||
window.open(location.origin + `/#/waybill-management/bulk/bulk-detail/${item.wayBillId}`);
|
||||
|
||||
} else if (item.orderType === '3') {
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.wayBillId}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -599,8 +599,10 @@ export class DatatableOrderReportingComponent implements OnInit {
|
||||
routeToOrder(item: any) {
|
||||
if (item.billType === '1') {
|
||||
window.open(location.origin + `/#/order-management/vehicle/vehicle-detail/${item.orderId}`);
|
||||
} else {
|
||||
} else if (item.billType === '2') {
|
||||
window.open(location.origin + `/#/order-management/bulk/bulk-detail/${item.orderId}`);
|
||||
} else if (item.billType === '3') {
|
||||
window.open(location.origin + `/#/order-management/vehicle/vehicle-detail/${item.orderId}`);
|
||||
}
|
||||
}
|
||||
|
||||
@ -608,8 +610,10 @@ export class DatatableOrderReportingComponent implements OnInit {
|
||||
if (item.billType === '1') {
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.waybillId}`);
|
||||
|
||||
} else {
|
||||
} else if (item.billType === '2') {
|
||||
window.open(location.origin + `/#/waybill-management/bulk/bulk-detail/${item.waybillId}`);
|
||||
} else if (item.billType === '3') {
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.waybillId}`);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user