|
@@ -210,7 +210,7 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
|
|
|
//通过ID查询这一条的信息
|
|
|
Detailload(deletedIds,record){
|
|
|
- this.RowClick;
|
|
|
+ this.RowClick;
|
|
|
$.ajax({
|
|
|
method: "post",
|
|
|
dataType: "json",
|
|
@@ -282,7 +282,8 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
deletedIds=rowItem.id;
|
|
|
};
|
|
|
};
|
|
|
- this.setState({
|
|
|
+ this.setState({
|
|
|
+ remarks:'',
|
|
|
selectedRowKeys: [],
|
|
|
});
|
|
|
this.Detailload(deletedIds);
|
|
@@ -1120,12 +1121,12 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
key: 'contactInfo'
|
|
|
},{
|
|
|
title: '客户状态',
|
|
|
- dataIndex: '_followSituation',
|
|
|
- key: '_followSituation'
|
|
|
+ dataIndex: '_customerStatus',
|
|
|
+ key: '_customerStatus'
|
|
|
},{
|
|
|
title: '跟进状态',
|
|
|
- dataIndex: 'followResult',
|
|
|
- key: 'followResult'
|
|
|
+ dataIndex: '_followSituation',
|
|
|
+ key: '_followSituation'
|
|
|
},{
|
|
|
title: '备注',
|
|
|
dataIndex: 'remarks',
|
|
@@ -1665,7 +1666,10 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
//添加跟进记录没单选的情况下
|
|
|
addcord(){
|
|
|
var addcord=this.state.rowId
|
|
|
- this.setState({modal1Visible:true});
|
|
|
+ this.setState({modal1Visible:true});
|
|
|
+ this.setState({
|
|
|
+ remarks:''
|
|
|
+ });
|
|
|
this.Detailload(addcord);
|
|
|
this.getNewWoman(addcord)
|
|
|
},
|
|
@@ -2003,7 +2007,7 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
wrapperCol={{ span: 18 }}
|
|
|
label="跟进结果" >
|
|
|
{getFieldDecorator('remarks', {
|
|
|
- initialValue: theDatak.remarks
|
|
|
+ initialValue: this.state.remarks
|
|
|
})(
|
|
|
<Input type="textarea" rows={4} />
|
|
|
)}
|
|
@@ -2106,7 +2110,7 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
<FormItem className="half-item"
|
|
|
{...formItemLayout}
|
|
|
label="最新跟进" >
|
|
|
- <span>{getfllowSituation(this.state.followSituation)}</span>
|
|
|
+ <span>{this.state._followSituation}</span>
|
|
|
</FormItem>
|
|
|
<div className="clearfix">
|
|
|
<FormItem
|