车辆接口更新
This commit is contained in:
@ -44,7 +44,7 @@
|
||||
<nz-tab [nzTitle]="'运输中('+tabs?.cancelQuantity+')'"></nz-tab>
|
||||
<nz-tab [nzTitle]="'待签收('+tabs?.signQuantity+')'"></nz-tab>
|
||||
<nz-tab [nzTitle]="'已完成('+tabs?.compolatelQuantity+')'"></nz-tab>
|
||||
<nz-tab [nzTitle]="'已取消'"></nz-tab>
|
||||
<nz-tab [nzTitle]="'已取消('+tabs?.deltQuantity+')'"></nz-tab>
|
||||
</nz-tabset>
|
||||
<div style="margin-top: 15px;">
|
||||
<st #st [bordered]="true" [scroll]="{ x: '2000px' }" [data]="service.$api_get_wholePage" [columns]="columns"
|
||||
|
||||
@ -32,7 +32,8 @@ export class WaybillManagementVehicleComponent implements OnInit {
|
||||
receivedQuantity: 0,
|
||||
stayQuantity: 0,
|
||||
totalQuantity: 0,
|
||||
compolatelQuantity: 0
|
||||
compolatelQuantity: 0,
|
||||
deltQuantity: 0
|
||||
};
|
||||
constructor(
|
||||
public service: WaybillManagementServe,
|
||||
@ -378,6 +379,15 @@ export class WaybillManagementVehicleComponent implements OnInit {
|
||||
this.isVisibleEvaluate = true;
|
||||
}
|
||||
getGoodsSourceStatistical() {
|
||||
this.tabs = {
|
||||
signQuantity: 0,
|
||||
cancelQuantity: 0,
|
||||
receivedQuantity: 0,
|
||||
stayQuantity: 0,
|
||||
totalQuantity: 0,
|
||||
compolatelQuantity: 0,
|
||||
deltQuantity: 0
|
||||
};
|
||||
this.service.request(this.service.$api_get_getWholeStatistics, this.reqParams).subscribe(res => {
|
||||
if (res) {
|
||||
let totalCount = 0;
|
||||
@ -398,6 +408,9 @@ export class WaybillManagementVehicleComponent implements OnInit {
|
||||
case '5':
|
||||
this.tabs.compolatelQuantity = ele?.count;
|
||||
break;
|
||||
case '6':
|
||||
this.tabs.deltQuantity = ele?.count;
|
||||
break;
|
||||
}
|
||||
totalCount += ele.count
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user