chenrui  2 yıl önce
ebeveyn
işleme
061f4ee3f7

+ 2 - 1
src/views/securityCheck/views/cargoRelevanceTable.vue

@@ -292,7 +292,8 @@ export default {
           this.tableData = result.data;
           this.tableData = result.data;
           this.tableData.forEach((item) => {
           this.tableData.forEach((item) => {
             item.datas.forEach((data) => {
             item.datas.forEach((data) => {
-              data["mix"] = (data.count / item.count).toFixed(2) * 100 + "%";
+              data["mix"] =
+                Math.floor((data.count / item.count).toFixed(2) * 100) + "%";
             });
             });
           });
           });
           this.loading = false;
           this.loading = false;