dengzhiguo 6 years ago
parent
commit
aac13acae2
1 changed files with 2 additions and 40 deletions
  1. 2 40
      js/component/manageCenter/customer/NEW/crm/crm.jsx

+ 2 - 40
js/component/manageCenter/customer/NEW/crm/crm.jsx

@@ -283,7 +283,7 @@ const IntentionCustomer = Form.create()(React.createClass({
 							id: thisdata.id,//用户ID
 							projectName:thisdata.projectName,//项目名称
 							year: thisdata.year,//年份
-							status: thisdata.status.toString(),//项目状态
+							status: thisdata.status?thisdata.status.toString():"",//项目状态
 							remark: thisdata.remark,//备注
 							aid: thisdata.aid,//录入人
 						});
@@ -738,15 +738,11 @@ const IntentionCustomer = Form.create()(React.createClass({
 				businessAudit:this.state.businessAudit,//业务认证
 				auditStatus:this.state.auditStatus,//实名认证
 				intellectualProperty:this.state.intellectualProperty,//已有知识产权情况
-				yearSalesAmount:this.state.yearSalesAmount,//年度销售额
-				lastYearResearchAmount:this.state.lastYearResearchAmount,//上年度研发费用
-				assets:this.state.assets,//总资产
 				qualification:this.state.qualification,//企业资质情况
 				cooperationSituation:this.state.cooperationSituation,//企业与高校院所
 				informationMaintainer:this.state.informationMaintainer,//资料维护人
 				informationMaintainerName:this.state.informationMaintainerName,//资料维护人
 				coreTechnology:this.state.coreTechnology,//核心技术
-				accomplishSituation:this.state.accomplishSituation,//客户已完成项目情况
 				creditRating:this.state.creditRating,//信用等级
 				pojectApplicationUrl:this.state.pojectApplicationUrl,//文件地址
 			}
@@ -1573,22 +1569,7 @@ const IntentionCustomer = Form.create()(React.createClass({
 							                </div> 
 							                <div style={{fontSize:'18px',marginLeft:'50px',marginTop:'15px',marginBottom:'10px',color:"red",fontWeight:"bold"}}>重要资料</div>
 							               	<div className='clearfix' >
-						                    	<FormItem className="half-item"
-								                    	 {...formItemLayout}
-								                         label="上年度销售额"
-							                            >
-							                                <Input ref='consul' placeholder="请输入上年度销售额" value={this.state.yearSalesAmount} style={{width:'90%'}}
-														onChange={(e) => {this.setState({yearSalesAmount: e.target.value })}}/>万
-														<span style={{color:'red',marginLeft:'5px'}}>*</span>
-							                    </FormItem>
-							                    <FormItem className="half-item"
-								                    	 {...formItemLayout}
-								                         label="上年度研发费用"
-							                            >
-							                                <Input ref='consul' placeholder="请输入上年度研发费用" value={this.state.lastYearResearchAmount} style={{width:'90%'}}
-														onChange={(e) => {this.setState({lastYearResearchAmount: e.target.value })}}/>万
-														<span style={{color:'red',marginLeft:'5px'}}>*</span>
-							                    </FormItem>
+						                    	
 							                    <FormItem className="half-item" 
 						                            {...formItemLayout}
 						                           label="客户信用等级"
@@ -1603,15 +1584,6 @@ const IntentionCustomer = Form.create()(React.createClass({
 					                                </Select>  
 					                                <span style={{color:'red',marginLeft:'5px'}}>*</span>
 						                   		 </FormItem>
-							                    <FormItem className="half-item"
-								                    	 {...formItemLayout}
-								                         label="上年度总资产情况"
-							                            >
-							                                <Input ref='consul' placeholder="上年度总资产情况" value={this.state.assets} style={{width:'90%'}}
-														onChange={(e) => {this.setState({assets: e.target.value })}}/>万
-														<span style={{color:'red',marginLeft:'5px'}}>*</span>
-							                    </FormItem>
-							                    
 							                    <div className='clearfix'>
 								                    <FormItem
 								                        labelCol={{ span:4 }}
@@ -1636,16 +1608,6 @@ const IntentionCustomer = Form.create()(React.createClass({
 								                    <FormItem
 								                        labelCol={{ span:4 }}
 								                        wrapperCol={{ span: 19 }}
-								                        label="企业已做项目" >
-								                            <Input type="textarea" rows={3} value={this.state.accomplishSituation} placeholder="请按如下格式填写:项目类型+主管部门+申报时间+立项情况+验收情况"
-														onChange={(e,pre) => { this.setState({ accomplishSituation: e.target.value })}} style={{width:'96%'}}/>
-														<span style={{color:'red',marginLeft:'5px'}}>*</span>
-								                    </FormItem>
-							                    </div>
-							                    <div className='clearfix'>
-								                    <FormItem
-								                        labelCol={{ span:4 }}
-								                        wrapperCol={{ span: 19 }}
 								                        label="高企合作情况" >
 								                            <Input type="textarea" rows={3} value={this.state.cooperationSituation} 
 														onChange={(e,pre) => { this.setState({ cooperationSituation: e.target.value })}} style={{width:'96%'}}/>