From 872bd2916ea03acf1467e5df73071c49e8317693 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期一, 02 十一月 2026 17:41:06 +0800
Subject: [PATCH] feat(mes): 物料新增颜色字段 - 表单/列表/搜索/选择弹窗/BOM 全链路展示

---
 src/views/mes/md/item/data.ts |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/src/views/mes/md/item/data.ts b/src/views/mes/md/item/data.ts
index f477734..9f53ff8 100644
--- a/src/views/mes/md/item/data.ts
+++ b/src/views/mes/md/item/data.ts
@@ -83,6 +83,15 @@
       },
     },
     {
+      fieldName: 'color',
+      label: '棰滆壊',
+      component: 'Input',
+      componentProps: {
+        maxLength: 64,
+        placeholder: '璇疯緭鍏ラ鑹诧紝鐢ㄤ簬鍖哄垎鍚屽瀷鍙蜂笉鍚岄鑹茬殑鐗╂枡',
+      },
+    },
+    {
       fieldName: 'unitMeasureId',
       label: '鍗曚綅',
       component: markRaw(MdUnitMeasureSelect),
@@ -226,6 +235,12 @@
       componentProps: { allowClear: true, placeholder: '璇疯緭鍏ヨ鏍煎瀷鍙�' },
     },
     {
+      fieldName: 'color',
+      label: '棰滆壊',
+      component: 'Input',
+      componentProps: { allowClear: true, placeholder: '璇疯緭鍏ラ鑹�' },
+    },
+    {
       fieldName: 'status',
       label: '鐘舵��',
       component: 'Select',
@@ -280,6 +295,12 @@
       field: 'specification',
       title: '瑙勬牸鍨嬪彿',
       minWidth: 160,
+    },
+    {
+      field: 'color',
+      title: '棰滆壊',
+      width: 110,
+      align: 'center',
     },
     {
       field: 'unitMeasureName',
@@ -365,6 +386,12 @@
       component: 'Input',
       componentProps: { allowClear: true, placeholder: '璇疯緭鍏ヨ鏍煎瀷鍙�' },
     },
+    {
+      fieldName: 'color',
+      label: '棰滆壊',
+      component: 'Input',
+      componentProps: { allowClear: true, placeholder: '璇疯緭鍏ラ鑹�' },
+    },
   ];
 }
 
@@ -390,6 +417,12 @@
       title: '瑙勬牸鍨嬪彿',
       minWidth: 140,
       align: 'left',
+    },
+    {
+      field: 'color',
+      title: '棰滆壊',
+      width: 100,
+      align: 'center',
     },
     {
       field: 'unitMeasureName',
@@ -447,6 +480,12 @@
         align: 'center',
       },
       {
+        field: 'bomItemColor',
+        title: '棰滆壊',
+        width: 100,
+        align: 'center',
+      },
+      {
         field: 'unitMeasureName',
         title: '鍗曚綅',
         width: 80,

--
Gitblit v1.9.3