From 7462fd192326d7cf3418b6185ca437b2667cbeab Mon Sep 17 00:00:00 2001
From: YangYuGang <1378265336@qq.com>
Date: 星期二, 11 三月 2025 11:14:45 +0800
Subject: [PATCH] 批次字段增加

---
 src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue |   32 +++++++++++++++++++-------------
 1 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue b/src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue
index 710b308..b252f3c 100644
--- a/src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue
+++ b/src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue
@@ -4,7 +4,7 @@
  * @version: 
  * @Date: 2024-05-25 00:27:00
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-07-18 15:47:31
+ * @LastEditTime: 2024-07-21 18:07:27
 -->
 <template>
   <div>
@@ -32,6 +32,7 @@
               icon: 'clarity:note-edit-line',
               tooltip: '淇敼',
               onClick: handleEdit.bind(null, record),
+              name: undefined
             },
             {
               icon: 'ant-design:delete-outlined',
@@ -42,27 +43,30 @@
                 placement: 'left',
                 confirm: handleDelete.bind(null, record),
               },
+              name: undefined
             },
             {
               icon: 'config|svg',
               tooltip: '閰嶇疆宸ヨ壓',
               onClick: handleConfig.bind(null, record),
+              name: undefined
             },
             {
               icon: 'release|svg',
               tooltip: '涓嬪彂',
               onClick: handleRelease.bind(null, record),
+              name: undefined
             },
-            {
-              icon: 'unrelease|svg',
-              tooltip: '鍙栨秷涓嬪彂',
-              onClick: handleUnRelease.bind(null, record),
-            },
-            {
-              icon: 'suspend-blue|svg',
-              tooltip: '鏆傚仠',
-              onClick: handlePause.bind(null, record),
-            },
+            // {
+            //   icon: 'unrelease|svg',
+            //   tooltip: '鍙栨秷涓嬪彂',
+            //   onClick: handleUnRelease.bind(null, record),
+            // },
+            // {
+            //   icon: 'suspend-blue|svg',
+            //   tooltip: '鏆傚仠',
+            //   onClick: handlePause.bind(null, record),
+            // },
           ]"
         />
       </template>
@@ -274,7 +278,7 @@
       RowKey: '',
       fnName: 'SaveCofig', //淇濆瓨鏂规硶鍚�
       // initFnName: { BIZ_MES_WO_Config: 'initRoute' }, //鍒濆鍖栨柟娉曞悕
-      isCustEl: isCustEl.value,
+      // isCustEl: isCustEl.value,
       others: routeData.value,
       values: record, //琛ㄥ崟璁板綍
     });
@@ -459,7 +463,9 @@
     var values = GetSelectSuccess(d, u, cType.value);
     selectVals.value = values; //淇濆瓨寮瑰嚭妗嗛�夋嫨鐨勭粨鏋�
     let _val = {};
-    _val[d.returnFieldName] = values[d.returnFieldName];
+    d.returnFieldName.map((x) => {
+          _val[x] = values[x];
+        });
     useFormData.value[item][1].setFieldsValue(_val);
     if (d.returnFieldName == 'ROUTE_CODE' && cType.value == 'BIZ_MES_WO_Config') {
       routeData.value = {

--
Gitblit v1.9.3