From 70b7935fc261cd5e8eaaf1cfbc8078b04db576d2 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期六, 07 十一月 2026 14:51:06 +0800
Subject: [PATCH] fix(mes): 自动回填销售订单生产信息
---
src/views/basicData/mdm/data.ts | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/src/views/basicData/mdm/data.ts b/src/views/basicData/mdm/data.ts
index a9d6ca9..bf3285e 100644
--- a/src/views/basicData/mdm/data.ts
+++ b/src/views/basicData/mdm/data.ts
@@ -93,6 +93,13 @@
},
},
{
+ component: 'InputNumber',
+ fieldName: 'sort',
+ label: '鎺掑簭',
+ defaultValue: 0,
+ componentProps: { min: 0, max: 2147483647, precision: 0, placeholder: '鏁板�艰秺灏忚秺闈犲墠' },
+ },
+ {
component: "Input",
fieldName: "code",
label: "鐗╂枡缂栫爜",
@@ -333,6 +340,17 @@
},
},
{
+ component: 'Switch',
+ fieldName: 'syncMes',
+ label: '鍚屾鍒癕ES',
+ defaultValue: true,
+ componentProps: {
+ checkedChildren: '鏄�',
+ unCheckedChildren: '鍚�',
+ },
+ rules: z.boolean().default(true),
+ },
+ {
component: "RadioGroup",
fieldName: "status",
label: "鐘舵��",
@@ -514,6 +532,7 @@
export function useGridColumns(): VxeTableGridOptions["columns"] {
return [
{ type: "checkbox", width: 40 },
+ { field: 'sort', title: '鎺掑簭', width: 80 },
{
field: "code",
title: "鐗╂枡缂栫爜",
@@ -597,7 +616,7 @@
{
field: "syncedMes",
title: "鍚屾鐘舵��",
- width: 90,
+ width: 100,
fixed: "right",
slots: { default: "syncedMes" },
},
--
Gitblit v1.9.3