From 3b3886389fc485d2ec516256d4746850bcc2021c Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 12 Jan 2022 17:04:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order-management/components/bulk/bulk.component.ts | 6 +++--- .../components/vehicle/vehicle.component.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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 } });