|
@@ -400,7 +400,7 @@ export default {
|
|
|
data.dateTime[0] +
|
|
|
"--" +
|
|
|
data.dateTime[1];
|
|
|
- this.listHeader = ["序号", "时间", "重量", "环比"];
|
|
|
+ this.listHeader = ["序号", "时间", "重量", "环比(%)"];
|
|
|
} else if (this.action === 1) {
|
|
|
this.listname =
|
|
|
"航班量统计" +
|
|
@@ -410,7 +410,7 @@ export default {
|
|
|
data.dateTime[0] +
|
|
|
"--" +
|
|
|
data.dateTime[1];
|
|
|
- this.listHeader = ["序号", "时间", "重量", "环比"];
|
|
|
+ this.listHeader = ["序号", "时间", "重量", "环比(%)"];
|
|
|
} else if (this.action === 2) {
|
|
|
this.listname =
|
|
|
"特货统计" +
|
|
@@ -422,9 +422,9 @@ export default {
|
|
|
"--" +
|
|
|
data.dateTime[1];
|
|
|
if (data.set == 1) {
|
|
|
- this.listHeader = ["序号", "时间", "单", "环比"];
|
|
|
+ this.listHeader = ["序号", "时间", "单", "环比(%)"];
|
|
|
} else if (data.set == 2) {
|
|
|
- this.listHeader = ["序号", "时间", "重量", "环比"];
|
|
|
+ this.listHeader = ["序号", "时间", "重量", "环比(%)"];
|
|
|
}
|
|
|
} else if (this.action === 3) {
|
|
|
this.listname =
|
|
@@ -435,7 +435,7 @@ export default {
|
|
|
data.dateTime[0] +
|
|
|
"--" +
|
|
|
data.dateTime[1];
|
|
|
- this.listHeader = ["序号", "时间", "重量", "环比"];
|
|
|
+ this.listHeader = ["序号", "时间", "重量", "环比(%)"];
|
|
|
} else if (this.action === 4) {
|
|
|
this.listname =
|
|
|
"拉货统计" +
|
|
@@ -446,9 +446,9 @@ export default {
|
|
|
"--" +
|
|
|
data.dateTime[1];
|
|
|
if (data.set == 1) {
|
|
|
- this.listHeader = ["序号", "时间", "单", "环比"];
|
|
|
+ this.listHeader = ["序号", "时间", "单", "环比(%)"];
|
|
|
} else if (data.set == 2) {
|
|
|
- this.listHeader = ["序号", "时间", "重量", "环比"];
|
|
|
+ this.listHeader = ["序号", "时间", "重量", "环比(%)"];
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -479,27 +479,40 @@ export default {
|
|
|
indexs: "合计",
|
|
|
weight: returnData.listValues[0].totalWeight,
|
|
|
};
|
|
|
+ this.tableListcop.push(objar);
|
|
|
} else if (this.action === 2) {
|
|
|
- let objar = {
|
|
|
- indexs: "合计",
|
|
|
- weight:
|
|
|
- dat == 1
|
|
|
- ? returnData.listValues[0].totalFlightNum
|
|
|
- : returnData.listValues[0].totalWeight,
|
|
|
- };
|
|
|
+ if (dat == 1) {
|
|
|
+ let objar = {
|
|
|
+ indexs: "合计",
|
|
|
+ flightNum: returnData.listValues[0].totalFlightNum,
|
|
|
+ };
|
|
|
+ this.tableListcop.push(objar);
|
|
|
+ } else if (dat == 2) {
|
|
|
+ let objar = {
|
|
|
+ indexs: "合计",
|
|
|
+ weight: returnData.listValues[0].totalWeight,
|
|
|
+ };
|
|
|
+ this.tableListcop.push(objar);
|
|
|
+ }
|
|
|
} else if (this.action === 3) {
|
|
|
let objar = {
|
|
|
indexs: "合计",
|
|
|
weight: returnData.listValues[0].totalWeight,
|
|
|
};
|
|
|
} else if (this.action === 4) {
|
|
|
- let objar = {
|
|
|
- indexs: "合计",
|
|
|
- weight:
|
|
|
- dat == 1
|
|
|
- ? returnData.listValues[0].totalFlightNum
|
|
|
- : returnData.listValues[0].totalWeight,
|
|
|
- };
|
|
|
+ if (dat == 1) {
|
|
|
+ let objar = {
|
|
|
+ indexs: "合计",
|
|
|
+ pullFlightNum: returnData.listValues[0].totalPullFlightNum,
|
|
|
+ };
|
|
|
+ this.tableListcop.push(objar);
|
|
|
+ } else if (dat == 2) {
|
|
|
+ let objar = {
|
|
|
+ indexs: "合计",
|
|
|
+ pullWeight: returnData.listValues[0].totalPullWeight,
|
|
|
+ };
|
|
|
+ this.tableListcop.push(objar);
|
|
|
+ }
|
|
|
}
|
|
|
returnData.listValues.forEach((element) => {
|
|
|
if (this.action === 0) {
|