From 053025d1e3952826ec570072d62cf8ed845ce9c7 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 17 八月 2026 11:42:23 +0800
Subject: [PATCH] feat(mdm): 添加物料同步到MES功能

---
 src/views/basicData/mdm/data.ts |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/views/basicData/mdm/data.ts b/src/views/basicData/mdm/data.ts
index a9d6ca9..a2fb42c 100644
--- a/src/views/basicData/mdm/data.ts
+++ b/src/views/basicData/mdm/data.ts
@@ -333,6 +333,17 @@
       },
     },
     {
+      component: 'Switch',
+      fieldName: 'syncMes',
+      label: '鍚屾鍒癕ES',
+      defaultValue: true,
+      componentProps: {
+        checkedChildren: '鏄�',
+        unCheckedChildren: '鍚�',
+      },
+      rules: z.boolean().default(true),
+    },
+    {
       component: "RadioGroup",
       fieldName: "status",
       label: "鐘舵��",
@@ -597,7 +608,7 @@
     {
       field: "syncedMes",
       title: "鍚屾鐘舵��",
-      width: 90,
+      width: 100,
       fixed: "right",
       slots: { default: "syncedMes" },
     },

--
Gitblit v1.9.3