Преглед на файлове

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

yusheng преди 9 месеца
родител
ревизия
8bef2b34cd
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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)+ '%'
         );
       },
       //切换检验方式