车辆对接

This commit is contained in:
wangshiming
2022-01-12 17:04:53 +08:00
parent e1dad9183e
commit 3b3886389f
2 changed files with 6 additions and 6 deletions

View File

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

View File

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