From 52e18000ace434b2acdebce5e118c45c337a3fe7 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 28 五月 2024 13:31:54 +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