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/workOrderManagement/index.vue |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/views/productionManagement/workOrderManagement/index.vue b/src/views/productionManagement/workOrderManagement/index.vue
index f388a69..bbb1858 100644
--- a/src/views/productionManagement/workOrderManagement/index.vue
+++ b/src/views/productionManagement/workOrderManagement/index.vue
@@ -44,6 +44,11 @@
                        :color="progressColor(toProgressPercentage(row?.completionStatus))"
                        :status="toProgressPercentage(row?.completionStatus) >= 100 ? 'success' : ''" />
         </template>
+        <template #operationName="{ row }">
+          <span v-if="row.operationColor"
+                :style="{ display: 'inline-block', width: '8px', height: '8px', borderRadius: '50%', marginRight: '4px', background: row.operationColor }"></span>
+          <span>{{ row.operationName }}</span>
+        </template>
         <template #picked="{ row }">
           <el-tag :type="row.picked ? 'success' : 'info'"
                   size="small">
@@ -332,6 +337,8 @@
       label: "宸ュ簭鍚嶇О",
       prop: "operationName",
       width: "100",
+      dataType: "slot",
+      slot: "operationName",
     },
     {
       label: "闇�姹傛暟閲�",

--
Gitblit v1.9.3