车辆接口更新
This commit is contained in:
@ -112,7 +112,9 @@ export class OrderManagementBulkComponent implements OnInit {
|
|||||||
GoingQuantity: 0,
|
GoingQuantity: 0,
|
||||||
totalCount: 0
|
totalCount: 0
|
||||||
};
|
};
|
||||||
this.service.request(this.service.$api_getBulkStatistical, { ...this.reqParams }).subscribe(res => {
|
const params: any = Object.assign({}, this.reqParams || {});
|
||||||
|
delete params.billStatus
|
||||||
|
this.service.request(this.service.$api_getBulkStatistical, params).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
let totalCount = 0;
|
let totalCount = 0;
|
||||||
res.forEach((element: any) => {
|
res.forEach((element: any) => {
|
||||||
|
|||||||
@ -127,7 +127,9 @@ resourceStatus: any;
|
|||||||
GoingQuantity: 0,
|
GoingQuantity: 0,
|
||||||
totalCount: 0
|
totalCount: 0
|
||||||
};
|
};
|
||||||
this.service.request(this.service.$api_statisticalStatus,{...this.reqParams}).subscribe(res => {
|
const params: any = Object.assign({}, this.reqParams || {});
|
||||||
|
delete params.billStatus
|
||||||
|
this.service.request(this.service.$api_statisticalStatus,params).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
let totalCount = 0;
|
let totalCount = 0;
|
||||||
res.forEach((element: any) => {
|
res.forEach((element: any) => {
|
||||||
|
|||||||
@ -578,7 +578,9 @@ export class SupplyManagementBulkComponent implements OnInit {
|
|||||||
receivedQuantity: 0,
|
receivedQuantity: 0,
|
||||||
stayQuantity: 0
|
stayQuantity: 0
|
||||||
};
|
};
|
||||||
this.service.request(this.service.$api_get_goods_resource_statistical, { resourceType: 2, ...this.reqParams }).subscribe(res => {
|
const params: any = Object.assign({}, this.reqParams || {});
|
||||||
|
delete params.resourceStatus
|
||||||
|
this.service.request(this.service.$api_get_goods_resource_statistical, { resourceType: 2, ...params }).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
this.tabs = res;
|
this.tabs = res;
|
||||||
|
|||||||
@ -309,7 +309,9 @@ export class SupplyManagementVehicleComponent implements OnInit {
|
|||||||
receivedQuantity: 0,
|
receivedQuantity: 0,
|
||||||
stayQuantity: 0
|
stayQuantity: 0
|
||||||
};
|
};
|
||||||
this.service.request(this.service.$api_get_goods_resource_statistical, { resourceType: 1, ...this.reqParams }).subscribe(res => {
|
const params: any = Object.assign({}, this.reqParams || {});
|
||||||
|
delete params.resourceStatus
|
||||||
|
this.service.request(this.service.$api_get_goods_resource_statistical, { resourceType: 1, ...params }).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
this.tabs = res;
|
this.tabs = res;
|
||||||
|
|||||||
@ -398,7 +398,9 @@ tabs = {
|
|||||||
compolatelQuantity: 0,
|
compolatelQuantity: 0,
|
||||||
deltQuantity: 0
|
deltQuantity: 0
|
||||||
};
|
};
|
||||||
this.service.request(this.service.$api_get_getBulkStatistics, this.reqParams).subscribe(res => {
|
const params: any = Object.assign({}, this.reqParams || {});
|
||||||
|
delete params.wayBillStatus
|
||||||
|
this.service.request(this.service.$api_get_getBulkStatistics, params).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
let totalCount = 0;
|
let totalCount = 0;
|
||||||
res.forEach((ele: any) => {
|
res.forEach((ele: any) => {
|
||||||
|
|||||||
@ -387,7 +387,9 @@ export class WaybillManagementVehicleComponent implements OnInit {
|
|||||||
compolatelQuantity: 0,
|
compolatelQuantity: 0,
|
||||||
deltQuantity: 0
|
deltQuantity: 0
|
||||||
};
|
};
|
||||||
this.service.request(this.service.$api_get_getWholeStatistics, this.reqParams).subscribe(res => {
|
const params: any = Object.assign({}, this.reqParams || {});
|
||||||
|
delete params.wayBillStatus
|
||||||
|
this.service.request(this.service.$api_get_getWholeStatistics, params).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
let totalCount = 0;
|
let totalCount = 0;
|
||||||
res.forEach((ele: any) => {
|
res.forEach((ele: any) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user