28 lines
875 B
JavaScript
28 lines
875 B
JavaScript
import React from 'react'
|
|
import { Modal, Row, Col } from "antd"
|
|
import { WeaInput } from 'ecCom'
|
|
|
|
export default class CopySchemaModal extends React.Component {
|
|
constructor(props){
|
|
super(props)
|
|
this.state = {
|
|
value : ""
|
|
}
|
|
}
|
|
render() {
|
|
return (
|
|
<Modal title="复制社保方案" footer={this.props.footer} onCancel={() => this.props.onCancel()} visible={this.props.visible}>
|
|
<Row>
|
|
<Col span={6}>
|
|
方案名称
|
|
</Col>
|
|
<Col span={18}>
|
|
<WeaInput value={this.state.value} onChange={(v) =>{
|
|
this.setState({value: v})
|
|
this.props.onChange(v)}} />
|
|
</Col>
|
|
</Row>
|
|
</Modal>
|
|
)
|
|
}
|
|
} |