dengzhiguo před 7 roky
rodič
revize
309757725b

+ 7 - 1
js/component/manageCenter/customer/customerService/myBusiness.jsx

@@ -807,6 +807,9 @@ const MyBusiness = Form.create()(React.createClass({
 			if(e.length>=2){
 				this.customerList(e); 
 			}	
+			this.setState({
+			superior:e
+		})
 		},
 		//选择值时值匹配及联系人函数加载
 		autoChange(e){
@@ -819,6 +822,7 @@ const MyBusiness = Form.create()(React.createClass({
 	                }
 	           });     
 	   		}	
+	   		console.log(theType);
 			this.setState({
 				  khId:theType
 			})
@@ -827,6 +831,7 @@ const MyBusiness = Form.create()(React.createClass({
 		//上级主管输入框失去焦点是判断客户是否存在
 		selectAuto(value,options){
 			console.log(value);
+			console.log(options);
 			let theType='';
 			let contactLists=this.state.customerArr||[];
 				if (value) {
@@ -836,6 +841,7 @@ const MyBusiness = Form.create()(React.createClass({
 	                }
 	           });     
 	   		}	
+	   		console.log(theType);
 			this.setState({
 				superior:value,
 				khId:theType
@@ -853,7 +859,7 @@ const MyBusiness = Form.create()(React.createClass({
 	                }
 	           });     
 	   		}
-			
+			console.log(theType);
 			this.setState({
 				theTypes:theType
 			})