Sfoglia il codice sorgente

优化质检工单合格率显示格式,新增百分比符号

yusheng 9 mesi fa
parent
commit
8bef2b34cd
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/views/inspectionWork/edit.vue

+ 2 - 2
src/views/inspectionWork/edit.vue

@@ -434,12 +434,12 @@
         this.$set(
           this.form,
           'qualificationRate',
-          ((qualifiedNumber / total) * 100).toFixed(2)
+          ((qualifiedNumber / total) * 100).toFixed(2)+ '%'
         );
         this.$set(
           this.form,
           'noQualificationRate',
-          ((noQualifiedNumber / total) * 100).toFixed(2)
+          ((noQualifiedNumber / total) * 100).toFixed(2)+ '%'
         );
       },
       //切换检验方式