Commit 12cd7f52 authored by 皮倩雯's avatar 皮倩雯

fix: '维保模板业务类型支持输入'

parent 6787e07b
Pipeline #77231 waiting for manual action with stages
......@@ -21,6 +21,7 @@ import {
Switch,
TreeSelect,
message,
AutoComplete,
} from 'antd';
import {
PlusOutlined,
......@@ -724,6 +725,21 @@ const AddModal = props => {
setShowRule(true);
};
const options = [
{
value: '巡检',
},
{
value: '保养',
},
{
value: '水箱清洗',
},
{
value: '扫码巡检',
},
];
return (
<Drawer
title="模板配置"
......@@ -792,12 +808,7 @@ const AddModal = props => {
},
]}
>
<Select placeholder="选择业务类型" onSearch={inputType} showSearch>
<Option value="巡检">巡检</Option>
<Option value="保养">保养</Option>
<Option value="水箱清洗">水箱清洗</Option>
<Option value="扫码巡检">扫码巡检</Option>
</Select>
<AutoComplete placeholder="选择业务类型" options={options} allowClear />
</Item>
</Col>
<Col span={24}>
......
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