|
@@ -1,5 +1,5 @@
|
1
|
1
|
import React, { useEffect, useState } from 'react'
|
2
|
|
-import { Form, Modal, Button, Input, InputNumber } from 'antd'
|
|
2
|
+import { Form, Modal, Button, Input, InputNumber, Select } from 'antd'
|
3
|
3
|
|
4
|
4
|
const formItemLayout = {
|
5
|
5
|
labelCol: {
|
|
@@ -67,6 +67,14 @@ export default Form.create()(props => {
|
67
|
67
|
props.form.getFieldDecorator('remark')(<Input placeholder="请填写备注" />)
|
68
|
68
|
}
|
69
|
69
|
</Form.Item>
|
|
70
|
+ <Form.Item label="物业类型">
|
|
71
|
+ {props.form.getFieldDecorator('type')(
|
|
72
|
+ <Select defaultValue="prop" placeholder="物业类型">
|
|
73
|
+ <Option value="prop">物业电话</Option>
|
|
74
|
+ <Option value="common">公共服务</Option>
|
|
75
|
+ </Select>,
|
|
76
|
+ )}
|
|
77
|
+ </Form.Item>
|
70
|
78
|
<Form.Item {...tailFormItemLayout}>
|
71
|
79
|
<Button type="primary" htmlType="submit">确定</Button>
|
72
|
80
|
<Button onClick={props.onCancel} style={{ marginLeft: '48px' }}>取消</Button>
|