车辆对接
This commit is contained in:
@ -94,11 +94,11 @@ tabs = {
|
|||||||
this.service.request(this.service.$api_getBulkStatistical).subscribe(res => {
|
this.service.request(this.service.$api_getBulkStatistical).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
res.forEach((element: any) => {
|
res.forEach((element: any) => {
|
||||||
if(element.statusLabel === '待发车') {
|
if(element.billStatusLabel === '待发车') {
|
||||||
this.tabs.stayQuantity = element.quantity
|
this.tabs.stayQuantity = element.quantity
|
||||||
} else if (element.statusLabel === '待接单') {
|
} else if (element.billStatusLabel === '待接单') {
|
||||||
this.tabs.receivedQuantity = element.quantity
|
this.tabs.receivedQuantity = element.quantity
|
||||||
} else if (element.statusLabel === '待签收') {
|
} else if (element.billStatusLabel === '待签收') {
|
||||||
this.tabs.cancelQuantity = element.quantity
|
this.tabs.cancelQuantity = element.quantity
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -108,11 +108,11 @@ resourceStatus: any;
|
|||||||
this.service.request(this.service.$api_statisticalStatus).subscribe(res => {
|
this.service.request(this.service.$api_statisticalStatus).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
res.forEach((element: any) => {
|
res.forEach((element: any) => {
|
||||||
if(element.statusLabel === '待发车') {
|
if(element.billStatusLabel === '待发车') {
|
||||||
this.tabs.stayQuantity = element.quantity
|
this.tabs.stayQuantity = element.quantity
|
||||||
} else if (element.statusLabel === '待接单') {
|
} else if (element.billStatusLabel === '待接单') {
|
||||||
this.tabs.receivedQuantity = element.quantity
|
this.tabs.receivedQuantity = element.quantity
|
||||||
} else if (element.statusLabel === '待签收') {
|
} else if (element.billStatusLabel === '待签收') {
|
||||||
this.tabs.cancelQuantity = element.quantity
|
this.tabs.cancelQuantity = element.quantity
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user