车辆对接

This commit is contained in:
wangshiming
2021-12-24 14:00:19 +08:00
parent 6418d33dfb
commit 1c627d5705
5 changed files with 35 additions and 14 deletions

View File

@ -15,7 +15,6 @@ import { OrderManagementService } from '../../services/order-management.service'
styleUrls: ['./risk.component.less']
})
export class OrderManagementRiskComponent implements OnInit {
url = `/user?_allow_anonymous=true`;
ui: SFUISchema = {};
uiView: SFUISchema = {};
schema: SFSchema = {};
@ -59,10 +58,25 @@ export class OrderManagementRiskComponent implements OnInit {
return this.st?.list.filter(item => item.checked) || [];
}
ngOnInit(): void {
this.getGoodsSourceStatistical()
this.initSF();
this.initST();
}
getGoodsSourceStatistical() {
this.service.request(this.service.$api_get_listStatisticalStatus, {}).subscribe(res => {
if (res) {
res.forEach((element: any) => {
if(element.statusLabel === '待发车') {
this.tabs.stayQuantity = element.quantity
} else if (element.statusLabel === '待接单') {
this.tabs.receivedQuantity = element.quantity
} else if (element.statusLabel === '待签收') {
this.tabs.cancelQuantity = element.quantity
}
});
}
})
}
/**
* 初始化查询表单
*/