Showing
1 changed file
with
11 additions
and
0 deletions
| ... | ... | @@ -105,6 +105,17 @@ export const step1Schemas: FormSchema[] = [ |
| 105 | 105 | }, |
| 106 | 106 | }, |
| 107 | 107 | { |
| 108 | + field: 'code', | |
| 109 | + label: '设备标识', | |
| 110 | + required: true, | |
| 111 | + component: 'Input', | |
| 112 | + componentProps: { | |
| 113 | + maxLength: 255, | |
| 114 | + placeholder: '请输入设备标识', | |
| 115 | + }, | |
| 116 | + ifShow: ({ values }) => values?.transportType === TransportTypeEnum.TCP, | |
| 117 | + }, | |
| 118 | + { | |
| 108 | 119 | field: 'brand', |
| 109 | 120 | component: 'ApiRadioGroup', |
| 110 | 121 | label: '选择厂家', | ... | ... |