diff --git a/pc4mobx/hrmSalary/pages/ledger/copyFormModal.js b/pc4mobx/hrmSalary/pages/ledger/copyFormModal.js new file mode 100644 index 00000000..59200b3e --- /dev/null +++ b/pc4mobx/hrmSalary/pages/ledger/copyFormModal.js @@ -0,0 +1,24 @@ +import React from 'react' +import { Modal, Button, Row, Col } from 'antd' +import { WeaInput } from 'ecCom' + +export default class CopyFormModal extends React.Component { + render() { + return ( + this.props.onCancel()} + footer={} + > + + 账套名称 + + + + + + ) + } +} \ No newline at end of file diff --git a/pc4mobx/hrmSalary/pages/ledger/index.js b/pc4mobx/hrmSalary/pages/ledger/index.js index d2bb9c6c..2cca429b 100644 --- a/pc4mobx/hrmSalary/pages/ledger/index.js +++ b/pc4mobx/hrmSalary/pages/ledger/index.js @@ -18,6 +18,7 @@ import SalaryItemForm from './salaryItemForm'; import CalRulesForm from './calcRulesForm'; import ValidRulesForm from './validRulesForm'; import SlideModalTitle from '../../components/slideModalTitle' +import CopyFormModal from './copyFormModal' const { MonthPicker } = DatePicker; @@ -31,15 +32,16 @@ export default class Ledger extends React.Component { selectedKey: "0", stepSlideVisible: false, editSlideVisible: false, + copyFormVisible: false, currentStep: 4, selectedTab: 0, columns: columns.map(item => { if(item.dataIndex == "cz") { item.render = () =>
- 关联人员 + this.refereUser()}>关联人员 删除 this.onEdit()}>编辑 - 复制 + this.setState({copyFormVisible: true})}>复制 操作日志
} @@ -47,6 +49,13 @@ export default class Ledger extends React.Component { } } + refereUser() { + this.setState({ + editSlideVisible: true, + selectedTab: 1 + }) + } + onEdit() { this.setState({ editSlideVisible: true @@ -230,6 +239,14 @@ export default class Ledger extends React.Component { } + + { + this.state.copyFormVisible && + {this.setState({copyFormVisible: false})}} + /> + } ) }