From d69611b526c9b269727c8b301ca1a6b7b108c887 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 24 四月 2024 10:16:20 +0800 Subject: [PATCH] 参数及模板,工艺路线,车间订单里面参数要求值英文符号替换 --- src/views/quality/teststandard/index.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue index 72deceb..241ac69 100644 --- a/src/views/quality/teststandard/index.vue +++ b/src/views/quality/teststandard/index.vue @@ -867,8 +867,12 @@ this.isSubmit = true if (this.testStandardParams.length > 0) { this.testStandardParams.map(m=>{ - m.referenceValue = m.referenceValue.replace(',','锛�').replace('(','锛�').replace(')','锛�') + if(m.referenceValue !== undefined) { + m.referenceValue = m.referenceValue.replace(',','锛�').replace('(','锛�').replace(')','锛�') return m + } else{ + this.$message.warning('瑕佹眰鑼冨洿娌℃湁濉啓!') + } }) addTestStandardParam(this.testStandardParams) .then((response) => { -- Gitblit v1.9.3