From 4334e4d5f680b4375d7af4ba9e4d8c8baef7266b Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 14 九月 2026 11:02:29 +0800
Subject: [PATCH] feat(production): 添加工序颜色配置和显示功能

---
 src/views/productionManagement/processStatistics/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/productionManagement/processStatistics/index.vue b/src/views/productionManagement/processStatistics/index.vue
index 25fa531..c4bd777 100644
--- a/src/views/productionManagement/processStatistics/index.vue
+++ b/src/views/productionManagement/processStatistics/index.vue
@@ -33,7 +33,8 @@
                 class="mb-16">
           <div class="stats-card">
             <div class="card-header">
-              <span class="process-name">{{ item.name }}</span>
+              <span class="process-name"
+                    :style="item.color ? { backgroundColor: item.color, color: '#fff' } : {}">{{ item.name }}</span>
               <div class="header-stats">
                 <div class="stat-row">
                   <span class="label">璁″垝鏁�</span>
@@ -110,6 +111,7 @@
           good: item.goodQuantity || 0,
           bad: item.scrapQty || 0,
           percentage: Number(item.completionStatus || 0),
+          color: item.operationColor || "",
         }));
       })
       .finally(() => {

--
Gitblit v1.9.3