|
@@ -33,14 +33,8 @@ const VisitDetail = React.createClass({
|
|
|
key: 'followSituation',
|
|
|
render: (text, record, index) => {
|
|
|
return <div>
|
|
|
- {!record.readOnly?<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>:
|
|
|
- <span>{getfllowSituation(text)}</span>}
|
|
|
+
|
|
|
+ <span>{getfllowSituation(text)}</span>
|
|
|
</div>
|
|
|
}
|
|
|
}, {
|
|
@@ -50,14 +44,8 @@ const VisitDetail = React.createClass({
|
|
|
key: 'customerStatus',
|
|
|
render: (text, record, index) => {
|
|
|
return <div>
|
|
|
- {!record.readOnly?<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>:
|
|
|
- <span>{getcustomerStatue(text)}</span>}
|
|
|
+
|
|
|
+ <span>{getcustomerStatue(text)}</span>
|
|
|
</div>
|
|
|
}
|
|
|
}, {
|
|
@@ -66,12 +54,9 @@ const VisitDetail = React.createClass({
|
|
|
dataIndex: 'remarks',
|
|
|
key: 'remarks',
|
|
|
render: (text, record, index) => {
|
|
|
- return <div>{!record.readOnly?
|
|
|
- <Input value={record.remarks} placeholder="跟进说明"
|
|
|
- onChange={(e) => { record.remarks = e.target.value; this.setState({ data: this.state.data }); }}
|
|
|
- />:
|
|
|
+ return <div>
|
|
|
<span title={text}>{text&&text.length>8?text.substr(0,8)+'…':text}</span>
|
|
|
- }
|
|
|
+
|
|
|
</div>
|
|
|
}
|
|
|
}
|