feature/2.9.42309.01-薪资核算详情页面列表改造(页面编辑)

This commit is contained in:
黎永顺 2023-09-28 14:25:21 +08:00
parent 49e5a0ad73
commit 953172f26a
1 changed files with 4 additions and 4 deletions

View File

@ -75,14 +75,15 @@ class EditCalcAdvanceSearchPannel extends Component {
};
handleAddCustomSearchForm = () => {
const { customSearchConditions, salaryItems } = this.state;
const uuid = uuidV4();
this.setState({
customSearchConditions: [
...customSearchConditions,
{
com: CustomFormFields({
uuid: uuidV4(), onDelete: this.handleDelete, salaryItems
uuid, salaryItems, onDelete: this.handleDelete
}),
uuid: uuidV4()
uuid
}
]
});
@ -130,11 +131,10 @@ export default EditCalcAdvanceSearchPannel;
const CustomFormFields = (props) => {
const { uuid, onDelete, salaryItems } = props;
console.log(133, salaryItems);
return <WeaFormItem labelCol={{ span: 0 }} wrapperCol={{ span: 18 }}>
<Row>
<Col span={6} style={{ paddingRight: 10 }}>
<WeaSelect options={salaryItems} showSearch optionFilterProp="children"/>
<WeaSelect options={salaryItems} detailtype={5} showSearch optionFilterProp="children"/>
</Col>
<Col span={18}>
<Row>