Browse Source

新增刷卡机管理设备地址

tags/小炒逻辑变更前
yangwenhua 2 years ago
parent
commit
f4b18d4524
1 changed files with 23 additions and 0 deletions
  1. +23
    -0
      src/pages/card/machine/index.jsx

+ 23
- 0
src/pages/card/machine/index.jsx View File

@@ -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">
确定


Loading…
Cancel
Save