소스 검색

解决不能输入小数点问题

longfenglin 1 년 전
부모
커밋
eab439c00f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/produce/components/jobBooking/components/semiProductJobBomPL.vue

+ 2 - 2
src/views/produce/components/jobBooking/components/semiProductJobBomPL.vue

@@ -714,7 +714,7 @@
       },
       blurWeight(it, idx, yyIdx) {
         let value = it.allReportWeight;
-        value = value.replace(/\./g, '');
+        // value = value.replace(/\./g, '');
         this.$set(
           this.list[idx].extInfo.batchReportInfo[yyIdx],
           'allReportWeight',
@@ -758,7 +758,7 @@
       },
       blurWeight2(it, idx, yyIdx) {
         let value = it.allReportWeight;
-        value = value.replace(/\./g, '');
+        // value = value.replace(/\./g, '');
         this.$set(
           this.list[idx].extInfo.notBatchReportInfo[yyIdx],
           'allReportWeight',