chenrui  2 年之前
父节点
当前提交
ef49bdb02a
共有 1 个文件被更改,包括 47 次插入47 次删除
  1. 47 47
      src/views/statisticsCharts/components/tableformbrs.vue

+ 47 - 47
src/views/statisticsCharts/components/tableformbrs.vue

@@ -186,53 +186,53 @@ export default {
           if (titleColumn) {
             this.rowTitle = titleColumn.columnName;
           }
-          returnData.listValues.forEach((res) => {
-            if (!res.A) {
-              res.A = 0;
-            }
-            if (!res.totalfly) {
-              res.totalfly = 0;
-            }
-            if (!res.totalbag) {
-              res.totalbag = 0;
-            }
-            if (!res.brsfly) {
-              res.brsfly = 0;
-            }
-            if (!res.brsbag) {
-              res.brsbag = 0;
-            }
-            if (!res.ra_brsfly) {
-              res.ra_brsfly = 0;
-            }
-            if (!res.ra_brsbag) {
-              res.ra_brsbag = 0;
-            }
-            if (!res.starfly) {
-              res.starfly = 0;
-            }
-            if (!res.starbag) {
-              res.starbag = 0;
-            }
-            if (!res.ra_starfly) {
-              res.ra_starfly = 0;
-            }
-            if (!res.ra_starfly) {
-              res.ra_starfly = 0;
-            }
-            if (!res.hyxfly) {
-              res.hyxfly = 0;
-            }
-            if (!res.hyxbag) {
-              res.hyxbag = 0;
-            }
-            if (!res.ra_hyxfly) {
-              res.ra_hyxfly = 0;
-            }
-            if (!res.ra_hyxbag) {
-              res.ra_hyxbag = 0;
-            }
-          });
+          // returnData.listValues.forEach((res) => {
+          //   if (!res.A) {
+          //     res.A = 0;
+          //   }
+          //   if (!res.totalfly) {
+          //     res.totalfly = 0;
+          //   }
+          //   if (!res.totalbag) {
+          //     res.totalbag = 0;
+          //   }
+          //   if (!res.brsfly) {
+          //     res.brsfly = 0;
+          //   }
+          //   if (!res.brsbag) {
+          //     res.brsbag = 0;
+          //   }
+          //   if (!res.ra_brsfly) {
+          //     res.ra_brsfly = 0;
+          //   }
+          //   if (!res.ra_brsbag) {
+          //     res.ra_brsbag = 0;
+          //   }
+          //   if (!res.starfly) {
+          //     res.starfly = 0;
+          //   }
+          //   if (!res.starbag) {
+          //     res.starbag = 0;
+          //   }
+          //   if (!res.ra_starfly) {
+          //     res.ra_starfly = 0;
+          //   }
+          //   if (!res.ra_starfly) {
+          //     res.ra_starfly = 0;
+          //   }
+          //   if (!res.hyxfly) {
+          //     res.hyxfly = 0;
+          //   }
+          //   if (!res.hyxbag) {
+          //     res.hyxbag = 0;
+          //   }
+          //   if (!res.ra_hyxfly) {
+          //     res.ra_hyxfly = 0;
+          //   }
+          //   if (!res.ra_hyxbag) {
+          //     res.ra_hyxbag = 0;
+          //   }
+          // });
           this.tableData = returnData.listValues;
           this.tableCols = returnData.columnSet;
           this.serviceId = returnData.submitID;