chenrui  1 year ago
parent
commit
dce87106e0
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/views/statisticalanalysis/gantryframe/index.vue

+ 2 - 4
src/views/statisticalanalysis/gantryframe/index.vue

@@ -244,12 +244,10 @@ export default {
               item.readlvs = ((item.codeNum * 100) / item.pcs).toFixed(2);
             }
             if (item.pcs === 0) {
-              item.oklvs = (((item.accNum - item.reAccNum) * 100) / 1).toFixed(
-                2
-              );
+              item.oklvs = (((item.pcs - item.reAccNum) * 100) / 1).toFixed(2);
             } else {
               item.oklvs = (
-                ((item.accNum - item.reAccNum) * 100) /
+                ((item.pcs - item.reAccNum) * 100) /
                 item.pcs
               ).toFixed(2);
             }