This commit is contained in:
wangshiming
2022-03-21 15:27:17 +08:00
parent 28d48ec390
commit 2ae16dce5c

View File

@ -85,16 +85,18 @@ export class OrderManagementRiskComponent implements OnInit {
this.service.request(this.service.$api_get_listStatisticalStatus, this.reqParams).subscribe(res => {
if (res) {
res.forEach((element: any) => {
if(element.representationsStatusLabel === '待申述') {
console.log(element.representationsStatus);
if(element.representationsStatus === '1') {
this.tabs.stayQuantity = element.quantity
} else if (element.representationsStatusLabel === '申诉失败') {
this.tabs.receivedQuantity = element.quantity
} else if (element.representationsStatusLabel === '申述成功') {
} else if (element.representationsStatus == '4') {
this.tabs.cancelQuantity = element.quantity
} else if (element.representationsStatusLabel === '申诉中') {
} else if (element.representationsStatus == '3') {
this.tabs.receivedQuantity = element.quantity
}else if (element.representationsStatus == '2') {
this.tabs.underwayQuantity = element.quantity
}
}
});
console.log(this.tabs)
}
})
}
@ -234,7 +236,7 @@ export class OrderManagementRiskComponent implements OnInit {
title: '申诉状态',
width: '100px',
className: 'text-left',
index: 'representationsStatusLabel'
index: 'representationsStatus'
},
{
title: '货源编号',