Quellcode durchsuchen

加货准确率

chenrui  vor 1 Jahr
Ursprung
Commit
76687ce20e

+ 4 - 4
src/views/statisticalanalysis/components/echart/tableforms.vue

@@ -1484,8 +1484,8 @@ export default {
             sums[3] = this.listall.codeNumall;
             sums[4] = this.listall.reCodeNumall;
             sums[5] = this.listall.accNumall;
-            sums[6] = this.listall.codeNumall;
-            sums[7] = this.listall.reAccNumall;
+            sums[6] = this.listall.reAccNumall;
+            sums[7] = this.listall.pcsall;
             sums[8] = this.listall.piclvall;
             sums[9] = this.listall.acclvall;
             sums[10] = this.listall.readlvall;
@@ -1494,8 +1494,8 @@ export default {
             sums[3] = this.listall.codeNumall;
             sums[4] = this.listall.reCodeNumall;
             sums[5] = this.listall.accNumall;
-            sums[6] = this.listall.codeNumall;
-            sums[7] = this.listall.reAccNumall;
+            sums[6] = this.listall.reAccNumall;
+            sums[7] = this.listall.pcsall;
             sums[8] = this.listall.piclvall;
             sums[9] = this.listall.acclvall;
             sums[10] = this.listall.readlvall;

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

@@ -317,13 +317,13 @@ export default {
           if (this.listall.pcsall === 0) {
             this.listall.oklvall =
               (
-                ((this.listall.accNumall - this.listall.reAccNumall) * 100) /
+                ((this.listall.pcsall - this.listall.reAccNumall) * 100) /
                 1
               ).toFixed(2) + "%";
           } else {
             this.listall.oklvall =
               (
-                ((this.listall.accNumall - this.listall.reAccNumall) * 100) /
+                ((this.listall.pcsall - this.listall.reAccNumall) * 100) /
                 this.listall.pcsall
               ).toFixed(2) + "%";
           }