From 5fe2ae31783054f8f772d65ec1b4875c5b0fb506 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 20 五月 2024 14:33:36 +0800
Subject: [PATCH] 完成优化

---
 src/components/do/b1-inspect-order-plan/Inspection.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index b41f179..ca447d2 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -571,7 +571,7 @@
         const mySet1 = new Set();
         this.tableLists = this.currentSample.insProduct.filter(m => {
           let num0 = mySet1.size;
-          if (m.templateId != null) {
+          if (m.templateId != null&&m.template != null) {
             mySet1.add(JSON.stringify({
               template: m.template,
               templateId: m.templateId

--
Gitblit v1.9.3