Commit 262e3f1f authored by 李腾's avatar 李腾

feat: 多物流发货新增物流公司可搜索功能

parent 332fdff5
......@@ -118,6 +118,9 @@ const FormComponent = (props, ref) => {
);
};
// 选择物流可搜索
const filterOption = (inputValue, option) => option.expressCompanyName.includes(inputValue);
return (
<Form
form={form}
......@@ -148,6 +151,8 @@ const FormComponent = (props, ref) => {
>
<Select
placeholder="请选择物流公司"
showSearch
filterOption={filterOption}
fieldNames={{ label: 'expressCompanyName', value: 'expressCompanyCode' }}
options={companys}
></Select>
......
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