From 21a4e09672b1177d40c2bb5b937a8780c5eaa7fb Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期六, 08 三月 2025 15:03:34 +0800 Subject: [PATCH] 一些更新 --- src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_TEMP.ts | 31 ++++++++++++++++++++----------- 1 files changed, 20 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 3bd9e58..73484d1 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 00:44:17 + * @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']}`, ); @@ -131,6 +131,14 @@ field: 'LABEL_CODE', component: 'Input', label: '妯℃澘缂栫爜', + colProps: { + span: 12, + }, + }, + { + field: 'LABEL_NAME', + component: 'Input', + label: '妯℃澘鍚嶇О', colProps: { span: 12, }, @@ -175,6 +183,7 @@ Title: `缂栬緫妯℃澘${params['record']['LABEL_CODE']}鐨勫彉閲廯, pCode: 'LABEL_CODE', IsID: true, + ifSave: false, colSlots: params['colSlots'].value, //['BAS_LABEL_VAR1add', 'BAS_LABEL_VAR2add'], colSlotsInHigh: ['BAS_LABEL_VAR1add', 'BAS_LABEL_VAR2add'], drawers: [ @@ -184,18 +193,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