|
@@ -98,12 +98,13 @@ class TypeForm extends React.Component {
|
98
|
98
|
<Radio.Group onChange={e => this.onChange(e, 'priceType')} >
|
99
|
99
|
<Radio value="average">均价</Radio>
|
100
|
100
|
<Radio value="total">总价</Radio>
|
|
101
|
+ <Radio value="lease">租赁价</Radio>
|
101
|
102
|
</Radio.Group>
|
102
|
103
|
)}
|
103
|
104
|
</Form.Item>
|
104
|
105
|
<Form.Item label="价格区间" help='最高价与最低价一致时,只展示一个'>
|
105
|
106
|
{getFieldDecorator('startPrice')(<Input type="number" placeholder="最低价" style={{width: '120px'}} maxLength="9" onChange={e => this.onChange(e, 'startPrice')} />)} --
|
106
|
|
- {getFieldDecorator('endPrice')(<Input type="number" placeholder="最高价" style={{width: '120px'}} maxLength="9" onChange={e => this.onChange(e, 'endPrice')} />)}{this.props.type.priceType === "average" ? "元/㎡" : "万元/套"}
|
|
107
|
+ {getFieldDecorator('endPrice')(<Input type="number" placeholder="最高价" style={{width: '120px'}} maxLength="9" onChange={e => this.onChange(e, 'endPrice')} />)}{this.props.type.priceType === "average" ? "元/㎡" : this.props.type.priceType === "lease" ? "元/㎡/天" : "万元/套"}
|
107
|
108
|
</Form.Item>
|
108
|
109
|
<Form.Item label="销售状态" >
|
109
|
110
|
{getFieldDecorator('marketStatus')(
|
|
@@ -111,6 +112,7 @@ class TypeForm extends React.Component {
|
111
|
112
|
<Option value="待售">待售</Option>
|
112
|
113
|
<Option value="在售">在售</Option>
|
113
|
114
|
<Option value="售罄">售罄</Option>
|
|
115
|
+ <Option value="在租">在租</Option>
|
114
|
116
|
</Select>,
|
115
|
117
|
)}
|
116
|
118
|
</Form.Item>
|