|
@@ -92,8 +92,9 @@ function AddBuilding(props) {
|
92
|
92
|
if (res.buildingTag !== null) {
|
93
|
93
|
res.tag = res.buildingTag.map((item, _) => item.tagName)
|
94
|
94
|
}
|
95
|
|
-
|
96
|
|
- res.avatarImage = res.buildingImg.map(item => item.url)
|
|
95
|
+ if (res.buildingImg !== null) {
|
|
96
|
+ res.avatarImage = res.buildingImg.map(item => item.url)
|
|
97
|
+ }
|
97
|
98
|
|
98
|
99
|
if (res.buildingListImg) {
|
99
|
100
|
// res.listImage = res.buildingListImg.map(item => item.url)
|
|
@@ -360,9 +361,12 @@ function AddBuilding(props) {
|
360
|
361
|
rules: [{ required: true, message: '请选择销售状态' }],
|
361
|
362
|
})(
|
362
|
363
|
<Select placeholder="销售状态" style={{ width: '1016px' }}>
|
363
|
|
- <Option value="待定">待定</Option>
|
|
364
|
+ {/* <Option value="待定">待定</Option>
|
|
365
|
+ <Option value="在售">在售</Option>
|
|
366
|
+ <Option value="售完">售完</Option> */}
|
|
367
|
+ <Option value="待售">待售</Option>
|
364
|
368
|
<Option value="在售">在售</Option>
|
365
|
|
- <Option value="售完">售完</Option>
|
|
369
|
+ <Option value="售罄">售罄</Option>
|
366
|
370
|
</Select>,
|
367
|
371
|
)}
|
368
|
372
|
</Form.Item>
|