车辆对接
This commit is contained in:
@ -29,7 +29,7 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
@ViewChild('sfView', { static: false }) sfView!: SFComponent;
|
||||
columns: STColumn[] = [];
|
||||
tabs = {
|
||||
totalQuantity: 0,
|
||||
underwayQuantity: 0,
|
||||
cancelQuantity: 0,
|
||||
receivedQuantity: 0,
|
||||
stayQuantity: 0
|
||||
@ -66,12 +66,14 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
this.service.request(this.service.$api_get_listStatisticalStatus, {}).subscribe(res => {
|
||||
if (res) {
|
||||
res.forEach((element: any) => {
|
||||
if(element.statusLabel === '待发车') {
|
||||
if(element.representationsStatusLabel === '待申述') {
|
||||
this.tabs.stayQuantity = element.quantity
|
||||
} else if (element.statusLabel === '待接单') {
|
||||
} else if (element.representationsStatusLabel === '申诉失败') {
|
||||
this.tabs.receivedQuantity = element.quantity
|
||||
} else if (element.statusLabel === '待签收') {
|
||||
} else if (element.representationsStatusLabel === '申述成功') {
|
||||
this.tabs.cancelQuantity = element.quantity
|
||||
} else if (element.representationsStatusLabel === '申诉中') {
|
||||
this.tabs.underwayQuantity = element.quantity
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user