From 547c91649da47f4dd8c6706e632797dbd9d79d87 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期六, 07 十二月 2024 16:26:49 +0800
Subject: [PATCH] 工艺路线工序节点保存更新

---
 src/views/tigerprojects/bas/mesWorkshop/mesWorkshop.data.ts |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/src/views/tigerprojects/bas/mesWorkshop/mesWorkshop.data.ts b/src/views/tigerprojects/bas/mesWorkshop/mesWorkshop.data.ts
index a66a25f..c796393 100644
--- a/src/views/tigerprojects/bas/mesWorkshop/mesWorkshop.data.ts
+++ b/src/views/tigerprojects/bas/mesWorkshop/mesWorkshop.data.ts
@@ -2,6 +2,7 @@
 import { FormSchema } from '/@/components/Table';
 import { h } from 'vue';
 import { Tag } from 'ant-design-vue';
+import { getEntity } from '/@/api/tigerapi/system';
 //鍒楄〃鏄剧ず
 export const columns: BasicColumn[] = [
   {
@@ -77,13 +78,20 @@
     component: 'Input',
     colProps: { span: 24 },
   },
-  {
-    field: 'FTY_CODE',
-    label: '宸ュ巶缂栫爜',
-    required: true,
-    component: 'Input',
-    colProps: { span: 24 },
-  },
+  // {
+  //   field: 'FTY_CODE',
+  //   label: '宸ュ巶缂栫爜',
+  //   required: true,
+  //   component: 'ApiSelect',
+  //   colProps: { span: 24 },
+  //   componentProps: {
+  //     api: getEntity,
+  //     params: { entityName: 'MES_FACTORY', sqlcmd: ' 1=1 ' },
+  //     resultField: 'Data.Items',
+  //     labelField: 'FTY_NAME',
+  //     valueField: 'FTY_CODE',
+  //   },
+  // },
   {
     field: 'IS_ACTIVE',
     label: '鏄惁鍚敤',

--
Gitblit v1.9.3