From 4c1557b4c0cc76b24620c8f52e2ae01d65a95e42 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 12 四月 2024 10:57:10 +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