dengzhiguo 6 年 前
コミット
d904303897
共有1 個のファイルを変更した3 個の追加24 個の削除を含む
  1. 3 24
      js/component/manageCenter/customer/NEW/signCustomer/followDetail.jsx

+ 3 - 24
js/component/manageCenter/customer/NEW/signCustomer/followDetail.jsx

@@ -32,46 +32,25 @@ const FollowDetail = React.createClass({
 					width:120,
 					dataIndex: 'followSituation',
 					key: 'followSituation',
-					render: (text, record, index) => {
-						return <Select  placeholder="选择最新进度" value={record.followSituation}  onChange={(e) => { record.followSituation = e; this.setState({ data: this.state.data }); }}>
-                                    {
-                                        newFollow.map(function (item) {
-                                            return <Select.Option key={item.value} >{item.key}</Select.Option>
-                                        })
-                                    }
-                               </Select>
-					}
+					render:text=>{return getfllowSituation(text) }
 				}, {
 					title: '最新状态',
 					width:120,
 					dataIndex: 'customerStatus',
 					key: 'customerStatus',
-					render: (text, record, index) => {
-						return <Select value={record.customerStatus} placeholder="选择最新状态" onChange={(e) => { record.customerStatus = e; this.setState({ data: this.state.data }); }}>
-                                    {
-                                        customerStatus.map(function (item) {
-                                            return <Select.Option key={item.value} >{item.key}</Select.Option>
-                                        })
-                                    }
-                               </Select>
-					}
+					render:text=>{return getcustomerStatue(text) }
 				}, {
 					title: '跟进说明',
 					width:120,
 					dataIndex: 'remarks',
 					key: 'remarks',
-					render: (text, record, index) => {
-						return <Input value={record.remarks} placeholder="跟进说明" 
-	                             onChange={(e) => { record.remarks = e.target.value; this.setState({ data: this.state.data }); }}
-	                             />
-					}
+					
 				}, {
 					title: '操作',
 					width:120,
 					dataIndex: 'rrr',
 					key: 'rrr',
 					render: (text, record, index) => {
-						console.log(record);
 						return <div>
                           	<Popconfirm title="再次签单?" onConfirm={(e)=>{this.intentionDelet(record,index)}} okText="再次签单" cancelText="取消">
 							    <Button style={{marginRight:'10px',color:'#ffffff',background:'#58a3ff',border:'none'}}>签单</Button>