Эх сурвалжийг харах

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

yusheng 9 сар өмнө
parent
commit
8bef2b34cd

+ 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)+ '%'
         );
       },
       //切换检验方式