From cb148dff84eca0145f36407fa821066884fc62e7 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 12 四月 2024 16:09:08 +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