|
@@ -246,52 +246,54 @@ function record(props) {
|
246
|
246
|
|
247
|
247
|
<>
|
248
|
248
|
<Form layout="inline" onSubmit={e => handleSubmit(e, props)}>
|
249
|
|
- <Form.Item>
|
250
|
|
- {getFieldDecorator('name')(
|
251
|
|
- <Input
|
252
|
|
- prefix={<Icon type="text" style={{ color: 'rgba(0,0,0,.25)' }} />}
|
253
|
|
- placeholder="用户姓名"
|
254
|
|
- />,
|
255
|
|
- )}
|
256
|
|
- </Form.Item>
|
257
|
|
- <Form.Item>
|
258
|
|
- {getFieldDecorator('phone')(
|
259
|
|
- <Input
|
260
|
|
- prefix={<Icon type="text" style={{ color: 'rgba(0,0,0,.25)' }} />}
|
261
|
|
- placeholder="手机号"
|
262
|
|
- />,
|
263
|
|
- )}
|
264
|
|
- </Form.Item>
|
265
|
|
- <Form.Item>
|
266
|
|
- {getFieldDecorator('goodName')(
|
267
|
|
- <Input
|
268
|
|
- prefix={<Icon type="text" style={{ color: 'rgba(0,0,0,.25)' }} />}
|
269
|
|
- placeholder="商品名称"
|
270
|
|
- />,
|
271
|
|
- )}
|
272
|
|
- </Form.Item>
|
273
|
|
- <Form.Item>
|
274
|
|
- {getFieldDecorator('type')(
|
275
|
|
- <Select style={{ width: '200px' }} placeholder="用户类型" onChange={handleSelectChange}>
|
276
|
|
- <Option value="2">置业顾问</Option>
|
277
|
|
- <Option value="1">销售主管</Option>
|
278
|
|
- <Option value="0">经纪人</Option>
|
279
|
|
- </Select>,
|
280
|
|
- )}
|
281
|
|
- </Form.Item>
|
282
|
|
- <Form.Item>
|
283
|
|
- {getFieldDecorator('state')(
|
284
|
|
- <Select style={{ width: '200px' }} placeholder="状态" onChange={handleSelectChange}>
|
285
|
|
- <Option value="1">已领取</Option>
|
286
|
|
- <Option value="0">未领取</Option>
|
287
|
|
- </Select>,
|
288
|
|
- )}
|
289
|
|
- </Form.Item>
|
290
|
|
- <Form.Item>
|
291
|
|
- <Button type="primary" htmlType="submit" className={styles.searchBtn}>
|
292
|
|
- 搜索
|
|
249
|
+ <div style={{ display: 'flex' }}>
|
|
250
|
+ <Form.Item>
|
|
251
|
+ {getFieldDecorator('name')(
|
|
252
|
+ <Input
|
|
253
|
+ prefix={<Icon type="text" style={{ color: 'rgba(0,0,0,.25)' }} />}
|
|
254
|
+ placeholder="用户姓名"
|
|
255
|
+ />,
|
|
256
|
+ )}
|
|
257
|
+ </Form.Item>
|
|
258
|
+ <Form.Item>
|
|
259
|
+ {getFieldDecorator('phone')(
|
|
260
|
+ <Input
|
|
261
|
+ prefix={<Icon type="text" style={{ color: 'rgba(0,0,0,.25)' }} />}
|
|
262
|
+ placeholder="手机号"
|
|
263
|
+ />,
|
|
264
|
+ )}
|
|
265
|
+ </Form.Item>
|
|
266
|
+ <Form.Item>
|
|
267
|
+ {getFieldDecorator('goodName')(
|
|
268
|
+ <Input
|
|
269
|
+ prefix={<Icon type="text" style={{ color: 'rgba(0,0,0,.25)' }} />}
|
|
270
|
+ placeholder="商品名称"
|
|
271
|
+ />,
|
|
272
|
+ )}
|
|
273
|
+ </Form.Item>
|
|
274
|
+ <Form.Item>
|
|
275
|
+ {getFieldDecorator('type')(
|
|
276
|
+ <Select style={{ width: '220px' }} placeholder="用户类型" onChange={handleSelectChange}>
|
|
277
|
+ <Option value="2">置业顾问</Option>
|
|
278
|
+ <Option value="1">销售主管</Option>
|
|
279
|
+ <Option value="0">经纪人</Option>
|
|
280
|
+ </Select>,
|
|
281
|
+ )}
|
|
282
|
+ </Form.Item>
|
|
283
|
+ <Form.Item>
|
|
284
|
+ {getFieldDecorator('state')(
|
|
285
|
+ <Select style={{ width: '220px' }} placeholder="状态" onChange={handleSelectChange}>
|
|
286
|
+ <Option value="1">已领取</Option>
|
|
287
|
+ <Option value="0">未领取</Option>
|
|
288
|
+ </Select>,
|
|
289
|
+ )}
|
|
290
|
+ </Form.Item>
|
|
291
|
+ <Form.Item>
|
|
292
|
+ <Button type="primary" htmlType="submit" className={styles.searchBtn}>
|
|
293
|
+ 搜索
|
293
|
294
|
</Button>
|
294
|
|
- </Form.Item>
|
|
295
|
+ </Form.Item>
|
|
296
|
+ </div>
|
295
|
297
|
<Form.Item>
|
296
|
298
|
<DateRange />
|
297
|
299
|
</Form.Item>
|