Commit 13322d0b authored by 成旭东's avatar 成旭东

住宅业态 开盘状态时间可以为空

parent 2d348500
Pipeline #28268 passed with stage
in 45 minutes 46 seconds
/* eslint-disable no-nested-ternary */
/* eslint-disable no-plusplus */
/* eslint-disable react/no-array-index-key */
import React, { useEffect, useState } from 'react';
......@@ -174,6 +175,11 @@ const HouseOpenInfoComponent = (props: any) => {
status: keyName,
value: fieldsValue[keyName],
})
} else {
filterStatusData.push({
status: keyName,
value: ['', ''],
})
}
delete fieldsValue[keyName];
......@@ -359,12 +365,6 @@ const HouseOpenInfoComponent = (props: any) => {
label={text}
initialValue={getStatusValue(firstOpenInfo.houseInfoStatus, text)}
{...statusFormItemLayout}
rules={[
{
required: true,
message: '填写时间',
},
]}
>
<RangePicker format="YYYY-MM-DD HH:mm:ss" />
</FormItem>
......
......@@ -151,7 +151,7 @@
.selectStatus {
&::before {
background: url('https://r.51gjj.com/webpublic/images/2020831/CEnWoYh7znels.png') no-repeat;
background: url('./selectIcon.png') no-repeat;
background-size: 100% 100%;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment