From 9edefe563de10226e322004e21e1db82f7ea227d Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 24 四月 2025 14:10:14 +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