车辆对接

This commit is contained in:
wangshiming
2022-01-14 14:39:00 +08:00
parent f03a738c98
commit eb783b95f1
12 changed files with 224 additions and 31 deletions

View File

@ -245,7 +245,13 @@ export class SupplyManagementVehicleComponent implements OnInit {
}
// 获取货源状态统计
getGoodsSourceStatistical() {
this.service.request(this.service.$api_get_goods_resource_statistical, { resourceType: 1 }).subscribe(res => {
this.tabs = {
totalQuantity: 0,
cancelQuantity: 0,
receivedQuantity: 0,
stayQuantity: 0
};
this.service.request(this.service.$api_get_goods_resource_statistical, { resourceType: 1, ...this.reqParams }).subscribe(res => {
if (res) {
console.log(res);
this.tabs = res;