diff --git a/src/views/system/param/busTypePre.vue b/src/views/system/param/busTypePre.vue index 227b1b90..30388134 100644 --- a/src/views/system/param/busTypePre.vue +++ b/src/views/system/param/busTypePre.vue @@ -234,6 +234,14 @@ export default { this.$message.error("补单方式不能为空!") return; } + if (this.inputQuery.beforeTime < 0){ + this.$message.error("时间间隔不能为负数!") + return; + } + if (this.inputQuery.busBeforeTime < 0){ + this.$message.error("时间间隔不能为负数!") + return; + } // if (isBlank(this.inputQuery.invCode)) { // this.$message.error("目标所在仓库不能为空!") // return;