From b65353d272db3bb2b265a8d919b14029a3810c6b Mon Sep 17 00:00:00 2001
From: schry <2433098676@qq.com>
Date: Mon, 22 May 2023 15:52:13 +0800
Subject: [PATCH] =?UTF-8?q?=20=E8=87=AA=E5=8A=A8=E8=A1=A5=E5=8D=95?=
 =?UTF-8?q?=E6=97=B6=E9=97=B4=E9=97=B4=E9=9A=94=E4=B8=8D=E5=BA=94=E4=B8=BA?=
 =?UTF-8?q?=E8=B4=9F=E6=95=B0=20230522?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/system/param/busTypePre.vue | 8 ++++++++
 1 file changed, 8 insertions(+)

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;