|
@@ -91,7 +91,7 @@ const MySettlementDetaile = Form.create()(React.createClass({
|
|
|
key: 'taskComment',
|
|
|
render:(text) => {
|
|
|
return(
|
|
|
- text?text.substr(0,8)+'...':''
|
|
|
+ text&&text.length>6?text.substr(0,8)+'...':text
|
|
|
)
|
|
|
}
|
|
|
},{
|
|
@@ -426,7 +426,6 @@ const MySettlementDetaile = Form.create()(React.createClass({
|
|
|
//派单
|
|
|
//操作分配
|
|
|
confirmDelet(index){
|
|
|
- console.log(index)
|
|
|
this.setState({
|
|
|
taskIds:index.taskId,
|
|
|
userDetaile:false,
|
|
@@ -760,9 +759,9 @@ const MySettlementDetaile = Form.create()(React.createClass({
|
|
|
const dataSources=this.state.customerArr || [];
|
|
|
const orderArr=this.state.orderArr ||[];
|
|
|
const options = this.state.states?dataSources.map((group,index) =>
|
|
|
- <Option key={index} value={group.name}>{group.name}</Option>
|
|
|
+ <Select.Option key={index} value={group.name}>{group.name}</Select.Option>
|
|
|
):dataSources.map((group,index) =>
|
|
|
- <Option key={index} value={group.bname}>{group.bname}</Option>
|
|
|
+ <Select.Option key={index} value={group.bname}>{group.bname}</Select.Option>
|
|
|
)
|
|
|
return(
|
|
|
<div>
|