| | |
| | | * @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'; |
| | |
| | | */ |
| | | 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']}`, |
| | | ); |
| | |
| | | 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: [ |