diff --git a/src/app/routes/order-management/components/bulk/bulk.component.ts b/src/app/routes/order-management/components/bulk/bulk.component.ts index e50fb456..216b3714 100644 --- a/src/app/routes/order-management/components/bulk/bulk.component.ts +++ b/src/app/routes/order-management/components/bulk/bulk.component.ts @@ -94,11 +94,11 @@ tabs = { this.service.request(this.service.$api_getBulkStatistical).subscribe(res => { if (res) { res.forEach((element: any) => { - if(element.statusLabel === '待发车') { + if(element.billStatusLabel === '待发车') { this.tabs.stayQuantity = element.quantity - } else if (element.statusLabel === '待接单') { + } else if (element.billStatusLabel === '待接单') { this.tabs.receivedQuantity = element.quantity - } else if (element.statusLabel === '待签收') { + } else if (element.billStatusLabel === '待签收') { this.tabs.cancelQuantity = element.quantity } }); diff --git a/src/app/routes/order-management/components/vehicle/vehicle.component.ts b/src/app/routes/order-management/components/vehicle/vehicle.component.ts index 73822a0a..5733a5b3 100644 --- a/src/app/routes/order-management/components/vehicle/vehicle.component.ts +++ b/src/app/routes/order-management/components/vehicle/vehicle.component.ts @@ -108,11 +108,11 @@ resourceStatus: any; this.service.request(this.service.$api_statisticalStatus).subscribe(res => { if (res) { res.forEach((element: any) => { - if(element.statusLabel === '待发车') { + if(element.billStatusLabel === '待发车') { this.tabs.stayQuantity = element.quantity - } else if (element.statusLabel === '待接单') { + } else if (element.billStatusLabel === '待接单') { this.tabs.receivedQuantity = element.quantity - } else if (element.statusLabel === '待签收') { + } else if (element.billStatusLabel === '待签收') { this.tabs.cancelQuantity = element.quantity } });