修复输入框输入较大数值会报错

prod
1178634255 2 years ago
parent 948c1cf26f
commit f61148166b

@ -159,6 +159,7 @@
type="number"
splaceholder="请输入内容"
v-model="editQuery.recentDateTime"
@change="handleChange"
></el-input>
</el-form-item>
</el-col>
@ -674,6 +675,12 @@ export default {
this.detailList = [];
});
},
handleChange() {
if (this.editQuery.recentDateTime > 30) {
this.$message.error("近效期预警时间必须小于等于30");
this.editQuery.recentDateTime = 0;
}
},
addSelectErp(row) {
this.defaultSys = row.sysId;
this.isImport = false;

Loading…
Cancel
Save