From 07c0bb74b024b673bf54bf9d1ca6abfd9b027ac4 Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Fri, 12 Apr 2024 08:44:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/qms/sampleCode/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/qms/sampleCode/index.vue b/src/views/qms/sampleCode/index.vue index 2f7dae698..faa6d874c 100644 --- a/src/views/qms/sampleCode/index.vue +++ b/src/views/qms/sampleCode/index.vue @@ -156,6 +156,11 @@ const openForm = (type: string, row?: any) => { // form表单提交 const formsSuccess = async (formType,data) => { + if(data.batchLowLimiting >= data.batchUpperLimiting){ + message.alertWarning('批量上限须大于批量下限') + basicFormRef.value.formLoading = false + return + } var isHave =SampleCode.allSchemas.formSchema.some(function (item) { return item.field === 'activeTime' || item.field === 'expireTime'; });