车辆对接

This commit is contained in:
wangshiming
2021-12-24 15:36:49 +08:00
parent f45dfc4732
commit 78f4659a73
3 changed files with 25 additions and 30 deletions

View File

@ -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
}
});
}