From 9e0a038387707684c2222d188528f9cecb8b4681 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 25 四月 2024 09:48:51 +0800
Subject: [PATCH] 检测标准bug

---
 src/views/quality/teststandard/index.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue
index ff128d8..df01346 100644
--- a/src/views/quality/teststandard/index.vue
+++ b/src/views/quality/teststandard/index.vue
@@ -869,13 +869,12 @@
       if (this.testStandardParams.length > 0) {
         for(let standardParam in this.testStandardParams) {
             let value = this.testStandardParams[standardParam].referenceValue
-            if( value !== undefined) {
+            if( value !=null) {
                 value = value.replace(',','锛�').replace('(','锛�').replace(')','锛�')
-          } else{
-            this.$message.warning('瑕佹眰鑼冨洿娌℃湁濉啓!')
-            this.isSubmit = false
-            return;
-          }
+                if (!isNaN(value)) {
+                  value='='+value
+                }
+            }
         }
         addTestStandardParam(this.testStandardParams)
           .then((response) => {

--
Gitblit v1.9.3