From 6e6fec028ffc9a27b3c8d30eb484cd361a119d76 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期一, 25 十一月 2024 23:53:12 +0800
Subject: [PATCH] 入库单更新

---
 src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_TEMP.ts |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_TEMP.ts b/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_TEMP.ts
index 2bf2f66..542c71c 100644
--- a/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_TEMP.ts
+++ b/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_TEMP.ts
@@ -4,7 +4,7 @@
  * @version:
  * @Date: 2024-06-19 20:34:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-08-04 14:20:29
+ * @LastEditTime: 2024-08-20 15:03:44
  */
 
 import { DeleteLabelTemplate } from '/@/api/tigerapi/mes/label';
@@ -100,7 +100,7 @@
      */
     CustFunc: (param: CustModalParams) => {
       const webSocketStore = useWebSocketStore();
-      if (webSocketStore.GetSocketState == 1) {
+      if (webSocketStore.GetSocketState == 1 && param.values['TEMP_TYPE'] == 0) {
         webSocketStore.sendMessage(
           `wsSubStrings ${param.values['ID']}_#_${param.values['TEMP_PATH']}`,
         );
@@ -185,18 +185,18 @@
           type: 'one',
           keyName: 'BAS_LABEL_VAR',
           order: 'VAR_NAME',
-          showTbButton: false,
-          FnName: '',
-        },
-        {
-          name: 'BAS_LABEL_VAR_WO',
-          code: 'LABEL_ID',
-          type: 'one',
-          keyName: 'BAS_LABEL_VAR_WO',
-          order: '',
           showTbButton: true,
           FnName: 'AddRow',
         },
+        // {
+        //   name: 'BAS_LABEL_VAR_WO',
+        //   code: 'LABEL_ID',
+        //   type: 'one',
+        //   keyName: 'BAS_LABEL_VAR_WO',
+        //   order: '',
+        //   showTbButton: true,
+        //   FnName: 'AddRow',
+        // },
       ], //drawers鏄彸杈瑰脊鍑哄鏀逛晶妗嗙殑鍚嶅瓧鍒楄〃
     };
     // const webSocketStore = useWebSocketStore();

--
Gitblit v1.9.3