Commit a42f4661 authored by 张子雨's avatar 张子雨

feat: 增加搜索

parent 4ffa6725
......@@ -53,6 +53,7 @@ const { Item: FormItem } = Form;
const { RangePicker } = DatePicker;
const { TabPane } = Tabs;
const carID = 301008; // 汽车类商家
const fileterBrandOptions = (input, options) => options.children.includes(input);
class BusinessInfo extends Component {
getFieldDecorator = this.props?.form?.getFieldDecorator;
......@@ -518,7 +519,7 @@ class BusinessInfo extends Component {
{getFieldDecorator('selfList', {
initialValue: businessInfo.selfList,
})(
<Select mode="multiple">
<Select mode="multiple" filterOption={fileterBrandOptions}>
{this.state.serviceFacilitys.map(item => (
<Option value={item.code} key={item.code}>
{item.desc}
......
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