ソースを参照

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

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