Ver Fonte

解决不能输入小数点问题

longfenglin há 1 ano atrás
pai
commit
eab439c00f

+ 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',