|
@@ -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
|
|
|
})
|