|  | @@ -171,9 +171,7 @@ const Organization=Form.create()(React.createClass({
 | 
	
		
			
				|  |  |          let superText=this.state.editSuperId;
 | 
	
		
			
				|  |  |          let upId=this.state.theId;
 | 
	
		
			
				|  |  |          let oldId='';
 | 
	
		
			
				|  |  | -        //console.log(this.state.theId);//用于保存上级组织的ID和名称
 | 
	
		
			
				|  |  | -        //let superText=(this.state.editSuperId).length<=1?nameText[parseInt(this.state.editSuperId)].name:''
 | 
	
		
			
				|  |  | -    	let superOne=this.state.editDataSource[0].editSuperId;
 | 
	
		
			
				|  |  | +        let superOne=this.state.editDataSource[0].editSuperId;
 | 
	
		
			
				|  |  |      	if(superOne==superText){
 | 
	
		
			
				|  |  |      		for(let j=0;j<upId.length;j++){
 | 
	
		
			
				|  |  |      			if(superText==upId[j][1]){
 | 
	
	
		
			
				|  | @@ -181,7 +179,6 @@ const Organization=Form.create()(React.createClass({
 | 
	
		
			
				|  |  |      			}
 | 
	
		
			
				|  |  |      		}
 | 
	
		
			
				|  |  |      	};
 | 
	
		
			
				|  |  | -    	//console.log(oldId);
 | 
	
		
			
				|  |  |      	let remarksText=(this.state.editRemarks)?this.state.editRemarks:'该组织没有职能说明,请完善!';
 | 
	
		
			
				|  |  |      	let isStatus=this.state.editStatus;
 | 
	
		
			
				|  |  |      	if(isStatus==1){
 | 
	
	
		
			
				|  | @@ -407,10 +404,10 @@ const Organization=Form.create()(React.createClass({
 | 
	
		
			
				|  |  |      //新增一个部门,保存
 | 
	
		
			
				|  |  |      addhandleSubmit(e){
 | 
	
		
			
				|  |  |      	e.preventDefault();	
 | 
	
		
			
				|  |  | -    	if(!this.state.theTypes){
 | 
	
		
			
				|  |  | -    		message.warning('请输入负责人姓名');
 | 
	
		
			
				|  |  | -    		return false;
 | 
	
		
			
				|  |  | -    	}
 | 
	
		
			
				|  |  | +//  	if(!this.state.theTypes){
 | 
	
		
			
				|  |  | +//  		message.warning('请输入负责人姓名');
 | 
	
		
			
				|  |  | +//  		return false;
 | 
	
		
			
				|  |  | +//  	}
 | 
	
		
			
				|  |  |      	if(!this.state.typeOrganization){
 | 
	
		
			
				|  |  |      		message.warning('请选择组织类型');
 | 
	
		
			
				|  |  |      		return false;
 |