|
@@ -234,6 +234,11 @@ it .ql-editor,
|
|
|
type="number"
|
|
|
maxlength="6"
|
|
|
v-model.number="table.factor"
|
|
|
+ @input="
|
|
|
+ value = table.factor + '';
|
|
|
+ if (value.length > 8) value = value.slice(0, 8);
|
|
|
+ table.factor = parseFloat(value);
|
|
|
+ "
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
@@ -249,6 +254,11 @@ it .ql-editor,
|
|
|
type="number"
|
|
|
maxlength="6"
|
|
|
v-model.number="table.constant"
|
|
|
+ @input="
|
|
|
+ value = table.constant + '';
|
|
|
+ if (value.length > 8) value = value.slice(0, 8);
|
|
|
+ table.constant = parseFloat(value);
|
|
|
+ "
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</div>
|