Prechádzať zdrojové kódy

修改小数点的限制

695593266@qq.com 9 mesiacov pred
rodič
commit
e5c3a2a590

+ 6 - 2
src/views/produce/components/jobBooking/components/batchSemiProductJobBom.vue

@@ -552,7 +552,7 @@
           <el-input
             v-model="batchForm.quantity"
             style="width: 220px"
-            @change="batchInput"
+            @input="batchInput"
           ></el-input>
           {{ batchForm.unit }}
         </el-form-item>
@@ -597,7 +597,11 @@
             batchForm.notType != 8
           "
         >
-          <el-input v-model="batchForm.notReason" placeholder="原因" />
+          <el-input
+            v-model="batchForm.notReason"
+            placeholder="原因"
+            style="width: 220px"
+          />
         </el-form-item>
         <!--  <div
             v-if="![1, 2, 3, 4, 6, 9, 7].includes(Number(batchForm.notType))"

+ 1 - 1
src/views/produce/components/jobBooking/index.vue

@@ -942,7 +942,7 @@
                   formedWeight: null,
                   taskId: this.taskObj.id,
                   notFormedNum: null,
-                  notFormedWeigh: null,
+                  notFormedWeight: null,
                   lossNum: null,
                   lossWeight: null
                 };