|  | @@ -132,6 +132,7 @@ const PicturesWall = React.createClass({
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const AchievementDetailShow = Form.create()(React.createClass({
 | 
	
		
			
				|  |  | +    //初始定义
 | 
	
		
			
				|  |  |      getInitialState() {
 | 
	
		
			
				|  |  |          return {
 | 
	
		
			
				|  |  |              loading: false,
 | 
	
	
		
			
				|  | @@ -548,16 +549,26 @@ const AchievementDetailShow = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |                          <div className="clearfix" >
 | 
	
		
			
				|  |  |                              <FormItem className="half-item"
 | 
	
		
			
				|  |  |                                  {...formItemLayout}
 | 
	
		
			
				|  |  | -                                label="成果所有人名称" >
 | 
	
		
			
				|  |  | +                                label="成果所有人" >
 | 
	
		
			
				|  |  |                                  <span>{theData.ownerName}</span>
 | 
	
		
			
				|  |  |                              </FormItem>
 | 
	
		
			
				|  |  |                              <FormItem className="half-item"
 | 
	
		
			
				|  |  |                                  {...formItemLayout}
 | 
	
		
			
				|  |  | -                                label="联系电话" >
 | 
	
		
			
				|  |  | +                                label="所有人电话" >
 | 
	
		
			
				|  |  |                                  <span>{theData.ownerMobile}</span>
 | 
	
		
			
				|  |  |                              </FormItem>
 | 
	
		
			
				|  |  |                              <FormItem className="half-item"
 | 
	
		
			
				|  |  |                                  {...formItemLayout}
 | 
	
		
			
				|  |  | +                                label="成果联系人" >
 | 
	
		
			
				|  |  | +                                <span>{theData.contacts}</span>
 | 
	
		
			
				|  |  | +                            </FormItem>
 | 
	
		
			
				|  |  | +                            <FormItem className="half-item"
 | 
	
		
			
				|  |  | +                                {...formItemLayout}
 | 
	
		
			
				|  |  | +                                label="联系人电话" >
 | 
	
		
			
				|  |  | +                                <span>{theData.contactMobile}</span>
 | 
	
		
			
				|  |  | +                            </FormItem>
 | 
	
		
			
				|  |  | +                            <FormItem className="half-item"
 | 
	
		
			
				|  |  | +                                {...formItemLayout}
 | 
	
		
			
				|  |  |                                  label="证件号" >
 | 
	
		
			
				|  |  |                                  <span>{theData.ownerIdNumber}</span>
 | 
	
		
			
				|  |  |                              </FormItem>
 | 
	
	
		
			
				|  | @@ -765,6 +776,7 @@ const AchievementDetailForm = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |              textFileList: [],
 | 
	
		
			
				|  |  |              switchValue: false,
 | 
	
		
			
				|  |  |              radios: false,
 | 
	
		
			
				|  |  | +            orgDisplay:'1',
 | 
	
		
			
				|  |  |              techPlanFileList: [],
 | 
	
		
			
				|  |  |              data: {},
 | 
	
		
			
				|  |  |              tags: [],
 | 
	
	
		
			
				|  | @@ -992,17 +1004,18 @@ const AchievementDetailForm = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |                          maturityVideoUrl: values.maturityVideoUrl,
 | 
	
		
			
				|  |  |                          innovation: values.innovation,
 | 
	
		
			
				|  |  |                          //
 | 
	
		
			
				|  |  | -                        switchSign: this.state.switchValue ? 1 : 0,
 | 
	
		
			
				|  |  | +                        //switchSign: this.state.switchValue ? 1 : 0,
 | 
	
		
			
				|  |  |                          //
 | 
	
		
			
				|  |  |                          ownerId: !this.state.switchValue ? (this.state.dataSourceObj ? this.state.dataSourceObj[values.iOwnerName] : this.state.data.ownerId) : undefined,
 | 
	
		
			
				|  |  | -                        contacts: !this.state.switchValue ? values.contacts : undefined,
 | 
	
		
			
				|  |  |                          ownerType: this.state.orgDisplay,//this.props.detailApiUrl.indexOf('org') != -1 ? 1 : 0,
 | 
	
		
			
				|  |  |                          //自定义
 | 
	
		
			
				|  |  | -                        ownerName: this.state.switchValue ? values.ownerName : undefined,
 | 
	
		
			
				|  |  | -                        ownerIdNumber: this.state.switchValue ? values.ownerIdNumber : undefined,
 | 
	
		
			
				|  |  | -                        ownerMobile: this.state.switchValue ? values.ownerMobile : undefined,
 | 
	
		
			
				|  |  | -                        ownerEmail: this.state.switchValue ? values.ownerEmail : undefined,
 | 
	
		
			
				|  |  | -                        ownerPostalAddress: this.state.switchValue ? values.ownerPostalAddress : undefined,
 | 
	
		
			
				|  |  | +                        ownerName:values.ownerName,
 | 
	
		
			
				|  |  | +                        contacts:values.contacts,
 | 
	
		
			
				|  |  | +                        ownerIdNumber:values.ownerIdNumber,
 | 
	
		
			
				|  |  | +                        ownerMobile:values.ownerMobile,
 | 
	
		
			
				|  |  | +                        contactMobile:values.contactMobile,
 | 
	
		
			
				|  |  | +                        ownerEmail:values.ownerEmail,
 | 
	
		
			
				|  |  | +                        ownerPostalAddress:values.ownerPostalAddress,
 | 
	
		
			
				|  |  |                          //
 | 
	
		
			
				|  |  |                          cooperationMode: values.cooperationMode,
 | 
	
		
			
				|  |  |                          transferMode: values.transferMode,
 | 
	
	
		
			
				|  | @@ -1060,7 +1073,6 @@ const AchievementDetailForm = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |              this.state.techPlanFileList = [];
 | 
	
		
			
				|  |  |              this.state.businessPlanFileList = [];
 | 
	
		
			
				|  |  |              this.props.form.resetFields();
 | 
	
		
			
				|  |  | -            this.state.orgDisplay=undefined;
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      render() {
 | 
	
	
		
			
				|  | @@ -1071,6 +1083,7 @@ const AchievementDetailForm = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |              labelCol: { span: 8 },
 | 
	
		
			
				|  |  |              wrapperCol: { span: 14 },
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  | +        console.log(this.state.orgDisplay)
 | 
	
		
			
				|  |  |          return (
 | 
	
		
			
				|  |  |              <Form horizontal onSubmit={this.handleSubmit} id="demand-form">
 | 
	
		
			
				|  |  |                  <Spin spinning={this.state.loading}>
 | 
	
	
		
			
				|  | @@ -1335,13 +1348,7 @@ const AchievementDetailForm = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |                              <Input />
 | 
	
		
			
				|  |  |                              )}
 | 
	
		
			
				|  |  |                      </FormItem>
 | 
	
		
			
				|  |  | -                    <FormItem
 | 
	
		
			
				|  |  | -                        labelCol={{ span: 4 }}
 | 
	
		
			
				|  |  | -                        wrapperCol={{ span: 18 }}
 | 
	
		
			
				|  |  | -                        label="自定义成果所有人" >
 | 
	
		
			
				|  |  | -                        <Switch checked={this.state.switchValue} onChange={(e) => { this.setState({ switchValue: e }); }} />
 | 
	
		
			
				|  |  | -                    </FormItem>
 | 
	
		
			
				|  |  | -                    {this.state.switchValue ? <div className="clearfix" >
 | 
	
		
			
				|  |  | +                    <div className="clearfix" >
 | 
	
		
			
				|  |  |                          <FormItem className="half-item"
 | 
	
		
			
				|  |  |                              {...formItemLayout}
 | 
	
		
			
				|  |  |                              label="成果所有人" >
 | 
	
	
		
			
				|  | @@ -1353,7 +1360,7 @@ const AchievementDetailForm = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |                          </FormItem>
 | 
	
		
			
				|  |  |                          <FormItem className="half-item"
 | 
	
		
			
				|  |  |                              {...formItemLayout}
 | 
	
		
			
				|  |  | -                            label="联系电话" >
 | 
	
		
			
				|  |  | +                            label="所有人电话" >
 | 
	
		
			
				|  |  |                              {getFieldDecorator('ownerMobile', {
 | 
	
		
			
				|  |  |                                  initialValue: theData.ownerMobile
 | 
	
		
			
				|  |  |                              })(
 | 
	
	
		
			
				|  | @@ -1362,6 +1369,24 @@ const AchievementDetailForm = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |                          </FormItem>
 | 
	
		
			
				|  |  |                          <FormItem className="half-item"
 | 
	
		
			
				|  |  |                              {...formItemLayout}
 | 
	
		
			
				|  |  | +                            label="成果联系人" >
 | 
	
		
			
				|  |  | +                            {getFieldDecorator('contacts', {
 | 
	
		
			
				|  |  | +                                initialValue: theData.contacts
 | 
	
		
			
				|  |  | +                            })(
 | 
	
		
			
				|  |  | +                                <Input />
 | 
	
		
			
				|  |  | +                                )}
 | 
	
		
			
				|  |  | +                        </FormItem>
 | 
	
		
			
				|  |  | +                        <FormItem className="half-item"
 | 
	
		
			
				|  |  | +                            {...formItemLayout}
 | 
	
		
			
				|  |  | +                            label="联系人电话" >
 | 
	
		
			
				|  |  | +                            {getFieldDecorator('contactMobile', {
 | 
	
		
			
				|  |  | +                                initialValue: theData.contactMobile
 | 
	
		
			
				|  |  | +                            })(
 | 
	
		
			
				|  |  | +                                <Input />
 | 
	
		
			
				|  |  | +                                )}
 | 
	
		
			
				|  |  | +                        </FormItem>
 | 
	
		
			
				|  |  | +                        <FormItem className="half-item"
 | 
	
		
			
				|  |  | +                            {...formItemLayout}
 | 
	
		
			
				|  |  |                              label="证件号" >
 | 
	
		
			
				|  |  |                              {getFieldDecorator('ownerIdNumber', {
 | 
	
		
			
				|  |  |                                  initialValue: theData.ownerIdNumber
 | 
	
	
		
			
				|  | @@ -1387,39 +1412,7 @@ const AchievementDetailForm = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |                                  <Input />
 | 
	
		
			
				|  |  |                                  )}
 | 
	
		
			
				|  |  |                          </FormItem>
 | 
	
		
			
				|  |  | -                    </div> : <div className="clearfix" >
 | 
	
		
			
				|  |  | -                            <FormItem className="half-item"
 | 
	
		
			
				|  |  | -                                {...formItemLayout}
 | 
	
		
			
				|  |  | -                                label="成果所有人" >
 | 
	
		
			
				|  |  | -                                {getFieldDecorator('iOwnerName', {
 | 
	
		
			
				|  |  | -                                    initialValue: theData.iOwnerName || ''
 | 
	
		
			
				|  |  | -                                })(
 | 
	
		
			
				|  |  | -                                    <AutoComplete
 | 
	
		
			
				|  |  | -                                        dataSource={this.state.dataSource}
 | 
	
		
			
				|  |  | -                                        style={{ width: 200 }}
 | 
	
		
			
				|  |  | -                                        onSearch={this.state.therottleSearch}
 | 
	
		
			
				|  |  | -                                        placeholder="输入成果所有人"
 | 
	
		
			
				|  |  | -                                        onSelect={(e) => {
 | 
	
		
			
				|  |  | -                                            this.getContactsList(this.state.dataSourceObj[e]);
 | 
	
		
			
				|  |  | -                                        }} />
 | 
	
		
			
				|  |  | -                                    )}
 | 
	
		
			
				|  |  | -                            </FormItem>
 | 
	
		
			
				|  |  | -                            {this.props.detailApiUrl.indexOf('org') >= 0 ? <FormItem className="half-item"
 | 
	
		
			
				|  |  | -                                {...formItemLayout}
 | 
	
		
			
				|  |  | -                                label="联系人" >
 | 
	
		
			
				|  |  | -                                {getFieldDecorator('contacts', {
 | 
	
		
			
				|  |  | -                                    initialValue: theData.contacts
 | 
	
		
			
				|  |  | -                                })(
 | 
	
		
			
				|  |  | -                                    <Select style={{ width: 260 }}
 | 
	
		
			
				|  |  | -                                        placeholder="请选择联系人"
 | 
	
		
			
				|  |  | -                                        notFoundContent="未获取到联系人列表"
 | 
	
		
			
				|  |  | -                                        showSearch
 | 
	
		
			
				|  |  | -                                        filterOption={companySearch}>
 | 
	
		
			
				|  |  | -                                        {this.state.contactsOption}
 | 
	
		
			
				|  |  | -                                    </Select>
 | 
	
		
			
				|  |  | -                                    )}
 | 
	
		
			
				|  |  | -                            </FormItem> : <div></div>}
 | 
	
		
			
				|  |  | -                        </div>}
 | 
	
		
			
				|  |  | +                    </div>
 | 
	
		
			
				|  |  |                      <div className="clearfix">
 | 
	
		
			
				|  |  |                          <FormItem className="half-item"
 | 
	
		
			
				|  |  |                              {...formItemLayout}
 |