From c30b850bdf5c48a2279f293d414850c32501192a Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期一, 29 四月 2024 16:25:25 +0800 Subject: [PATCH] 修改首页样式 --- src/views/quality/teststandard/index.vue | 16 ++++++---------- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue index ff128d8..7b8f74a 100644 --- a/src/views/quality/teststandard/index.vue +++ b/src/views/quality/teststandard/index.vue @@ -867,16 +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 !== undefined) { - value = value.replace(',','锛�').replace('(','锛�').replace(')','锛�') - } else{ - this.$message.warning('瑕佹眰鑼冨洿娌℃湁濉啓!') - this.isSubmit = false - return; - } - } + 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