import React, { Component } from "react"; import { Form, Button, Radio, Modal, Input, message, Switch } from "antd"; import { knowledgeList, auditList, addDeductionList, } from "@/dataDic.js"; /** * 知识产权 */ const RadioButton = Radio.Button; const RadioGroup = Radio.Group; const radioStyle = { display: 'block', height: '30px', lineHeight: '30px', }; const FormItem = Form.Item; class Property extends Component { constructor(props) { super(props); this.state = { } } componentDidMount() { } componentWillUnmount() { } componentWillReceiveProps(nextProps) { // const { patentStatus } = this.props // if (patentStatus != null) { // this.setState({ // isProperty: 1, // }) // } } render() { const { isCreat = false, isProperty, patentStatus, labelCol = 5, wrapperCol = 16 } = this.props return (
{ // 是否可编辑 isCreat ?
* 知识产权情况 } >
{ this.props.setProperty(e.target.value) }}> 纯知识产权合同 非知识产权合同
{ isProperty == 2 &&
{ this.props.setPatentS(e.target.value) }}> 客户自己完成 非客户自己完成
}
: (patentStatus == 0 || patentStatus == 1 || patentStatus == 2) &&
知识产权情况 } >
{patentStatus != 0 &&
}
}
); } } export default Property;