|
|
@@ -89,6 +89,11 @@ const Machine = () => { |
|
|
|
</div> |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '设备地址', |
|
|
|
dataIndex: 'address', |
|
|
|
ellipsis: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '状态', |
|
|
|
dataIndex: 'status', |
|
|
@@ -245,6 +250,7 @@ const Machine = () => { |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|
|
|
|
|
|
|
|
|
<Form.Item |
|
|
|
label="设备名称" |
|
|
|
name="name" |
|
|
@@ -311,6 +317,23 @@ const Machine = () => { |
|
|
|
<Input defaultValue={10} /> |
|
|
|
</Form.Item> |
|
|
|
|
|
|
|
<Form.Item |
|
|
|
label="设备地址" |
|
|
|
name="address" |
|
|
|
rules={[ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: '请输入档口名称!', |
|
|
|
}, |
|
|
|
{ |
|
|
|
pattern: new RegExp(/[0-9A-Fa-f]{2}/, 'g'), |
|
|
|
message: '请输入16进制!' |
|
|
|
} |
|
|
|
]} |
|
|
|
> |
|
|
|
<Input /> |
|
|
|
</Form.Item> |
|
|
|
|
|
|
|
<Form.Item> |
|
|
|
<Button type="primary" htmlType="submit"> |
|
|
|
确定 |
|
|
|