From 4963aa4888fc1bcfa6de0c392ee26a134a460cfe Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 05 六月 2024 14:55:43 +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