From 2ec168020f20539a8d9a6264e70c5fd688a87940 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 29 三月 2025 14:02:26 +0800
Subject: [PATCH] 成品下单-添加修改样品型号功能

---
 src/views/statisticalCharts/inspectionItemWarning/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/statisticalCharts/inspectionItemWarning/index.vue b/src/views/statisticalCharts/inspectionItemWarning/index.vue
index 2199965..41ef602 100644
--- a/src/views/statisticalCharts/inspectionItemWarning/index.vue
+++ b/src/views/statisticalCharts/inspectionItemWarning/index.vue
@@ -96,7 +96,11 @@
           width: 150,
           dataType: "tag",
           formatType: (params) => {
-            return 'danger'
+            if (this.tableData1.find((m) => m.testValue == params).isIssue == 1) {
+              return 'danger'
+            } else {
+              return 'success'
+            }
           },
         },
         { label: '妫�娴嬫椂闂�', prop: 'detectionTime',width: 160 },

--
Gitblit v1.9.3