资金上报
This commit is contained in:
@ -37,10 +37,10 @@
|
||||
<span *ngIf="item?.verifyStatus === '1'">{{item?.verifyStatusLabel}}</span>
|
||||
</ng-template>
|
||||
<ng-template st-row="orderCode" let-item>
|
||||
<span class="text-blue-dark">{{item?.orderCode}}</span>
|
||||
<a (click)="routeToOrder(item)">{{item?.orderCode}}</a>
|
||||
</ng-template>
|
||||
<ng-template st-row="wayBillCode" let-item>
|
||||
<span class="text-blue-dark">{{item?.wayBillCode}}</span>
|
||||
<a (click)="routeTowaybill(item)">{{item?.wayBillCode}}</a>
|
||||
</ng-template>
|
||||
<ng-template st-row="tolalAmount" let-item let-index="index">
|
||||
<div class="text-right">{{item?.tolalAmount | currency }}</div>
|
||||
|
||||
@ -465,6 +465,23 @@ export class DatatableFundReportingComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
routeToOrder(item: any) {
|
||||
if (item.orderType === '1') {
|
||||
window.open(location.origin + `/#/order-management/vehicle/vehicle-detail/${item.orderId}`);
|
||||
} else {
|
||||
window.open(location.origin + `/#/order-management/bulk/bulk-detail/${item.orderId}`);
|
||||
}
|
||||
}
|
||||
|
||||
routeTowaybill(item: any) {
|
||||
if (item.orderType === '1') {
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.waybillId}`);
|
||||
|
||||
} else {
|
||||
window.open(location.origin + `/#/waybill-management/bulk/bulk-detail/${item.waybillId}`);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -596,17 +596,19 @@ export class DatatableOrderReportingComponent implements OnInit {
|
||||
|
||||
routeToOrder(item: any) {
|
||||
if (item.billType === '1') {
|
||||
this.router.navigate(['/order-management/vehicle/vehicle-detail/' + item.orderId]);
|
||||
window.open(location.origin + `/#/order-management/vehicle/vehicle-detail/${item.orderId}`);
|
||||
} else {
|
||||
this.router.navigate(['/order-management/bulk/bulk-detail/' + item.orderId]);
|
||||
window.open(location.origin + `/#/order-management/bulk/bulk-detail/${item.orderId}`);
|
||||
}
|
||||
}
|
||||
|
||||
routeTowaybill(item: any) {
|
||||
if (item.billType === '1') {
|
||||
this.router.navigate(['/waybill-management/vehicle/vehicle-detail/' + item.waybillId]);
|
||||
window.open(location.origin + `/#/waybill-management/vehicle/vehicle-detail/${item.waybillId}`);
|
||||
|
||||
} else {
|
||||
this.router.navigate(['/waybill-management/bulk/bulk-detail/' + item.waybillId]);
|
||||
window.open(location.origin + `/#/waybill-management/bulk/bulk-detail/${item.waybillId}`);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user