|
@@ -410,7 +410,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="创办时间"
|
|
|
>
|
|
|
{getFieldDecorator('schoolTime', {
|
|
|
- initialValue: this.state.schoolTime
|
|
|
+ initialValue: this.state.schoolTime || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -423,7 +423,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="院士"
|
|
|
>
|
|
|
{getFieldDecorator('aca', {
|
|
|
- initialValue: this.state.aca
|
|
|
+ initialValue: this.state.aca || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -435,7 +435,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="博士生导师"
|
|
|
>
|
|
|
{getFieldDecorator('PhDTutor', {
|
|
|
- initialValue: this.state.PhDTutor
|
|
|
+ initialValue: this.state.PhDTutor || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -447,7 +447,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="硕士生导师"
|
|
|
>
|
|
|
{getFieldDecorator('MSTutor', {
|
|
|
- initialValue: this.state.MSTutor
|
|
|
+ initialValue: this.state.MSTutor || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -459,7 +459,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="其他专家"
|
|
|
>
|
|
|
{getFieldDecorator('otherExperts', {
|
|
|
- initialValue: this.state.otherExperts
|
|
|
+ initialValue: this.state.otherExperts || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -471,7 +471,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="国家级重点实验室"
|
|
|
>
|
|
|
{getFieldDecorator('StateKeyLab', {
|
|
|
- initialValue: this.state.StateKeyLab
|
|
|
+ initialValue: this.state.StateKeyLab || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -483,7 +483,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="教育部重点实验室"
|
|
|
>
|
|
|
{getFieldDecorator('EduKeyLab', {
|
|
|
- initialValue: this.state.EduKeyLab
|
|
|
+ initialValue: this.state.EduKeyLab || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -495,7 +495,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="企业共建研究中心"
|
|
|
>
|
|
|
{getFieldDecorator('ComCenter', {
|
|
|
- initialValue: this.state.ComCenter
|
|
|
+ initialValue: this.state.ComCenter || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -507,7 +507,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="其他研究中心"
|
|
|
>
|
|
|
{getFieldDecorator('otherCenter', {
|
|
|
- initialValue: this.state.otherCenter
|
|
|
+ initialValue: this.state.otherCenter || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -519,7 +519,7 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
label="创办时间"
|
|
|
>
|
|
|
{getFieldDecorator('resTime', {
|
|
|
- initialValue: this.state.resTime
|
|
|
+ initialValue: this.state.resTime || 0
|
|
|
})(
|
|
|
<InputNumber />
|
|
|
)}
|
|
@@ -580,28 +580,4 @@ const Person = React.createClass({
|
|
|
}
|
|
|
});
|
|
|
|
|
|
-export default Person;
|
|
|
-
|
|
|
- // <FormItem
|
|
|
- // {...formItemLayout}
|
|
|
- // label="单位规模"
|
|
|
- // >
|
|
|
- // {getFieldDecorator('unitNumber', {
|
|
|
- // initialValue: this.state.unitNumber
|
|
|
- // })(
|
|
|
- // <InputNumber />
|
|
|
- // )}
|
|
|
- // <span>人</span>
|
|
|
- // </FormItem>
|
|
|
- // <FormItem style={{ 'display': this.state.companyDis }}
|
|
|
- // labelCol={{ span: 3 }}
|
|
|
- // wrapperCol={{ span: 6 }}
|
|
|
- // label="年营业额"
|
|
|
- // >
|
|
|
- // {getFieldDecorator('turnover', {
|
|
|
- // initialValue: this.state.turnover
|
|
|
- // })(
|
|
|
- // <InputNumber />
|
|
|
- // )}
|
|
|
- // <span>万元</span>
|
|
|
- // </FormItem>
|
|
|
+export default Person;
|