chenrui  1 년 전
부모
커밋
dce87106e0
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  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);
             }