From 0723f2c7428d57458df1dca3a619d92b5f23d140 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期五, 28 三月 2025 15:26:00 +0800
Subject: [PATCH] 插回损功能开发

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

diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue
index df01346..7b8f74a 100644
--- a/src/views/quality/teststandard/index.vue
+++ b/src/views/quality/teststandard/index.vue
@@ -867,15 +867,12 @@
     dataFormTestStandardParam() {
       this.isSubmit = true
       if (this.testStandardParams.length > 0) {
-        for(let standardParam in this.testStandardParams) {
-            let value = this.testStandardParams[standardParam].referenceValue
-            if( value !=null) {
-                value = value.replace(',','锛�').replace('(','锛�').replace(')','锛�')
-                if (!isNaN(value)) {
-                  value='='+value
-                }
+        this.testStandardParams.map(m=>{
+          if(m.referenceValue != undefined) {
+              m.referenceValue = m.referenceValue.replace(',','锛�').replace('(','锛�').replace(')','锛�')
+            return m
             }
-        }
+        })
         addTestStandardParam(this.testStandardParams)
           .then((response) => {
             this.$message.success('妫�娴嬫爣鍑嗗弬鏁颁繚瀛樻垚鍔�')

--
Gitblit v1.9.3