diff --git a/pc4mobx/hrmSalary/pages/datapush/components/PDDialog/customTreeSelect.js b/pc4mobx/hrmSalary/pages/datapush/components/PDDialog/customTreeSelect.js index e595e7dc..bc8ad18a 100644 --- a/pc4mobx/hrmSalary/pages/datapush/components/PDDialog/customTreeSelect.js +++ b/pc4mobx/hrmSalary/pages/datapush/components/PDDialog/customTreeSelect.js @@ -73,9 +73,14 @@ class CustomTreeSelect extends Component { const { itemName } = detail; return ( this.getSourceItem(node.props.value)} - onSelect={this.handleSelect}> + onSelect={this.handleSelect} + treeNodeFilterProp="title" + filterTreeNode={(inputValue, treeNode) => { + const title = treeNode.props.title.props ? treeNode.props.title.props.children[0].props.children : treeNode.props.title; + return title.toLowerCase().indexOf(inputValue.toLowerCase()) >= 0; + }}> { _.map(sourceList, o => (