|
@@ -81,6 +81,7 @@ const JsBonus = React.createClass({
|
|
|
key: i,
|
|
|
id:thisdata.id,
|
|
|
tid:thisdata.tid,
|
|
|
+ targetName:thisdata.targetName,
|
|
|
orderNo:thisdata.orderNo,
|
|
|
taskReceiver:thisdata.taskReceiver,
|
|
|
taskStatus:thisdata.taskStatus,
|
|
@@ -92,9 +93,9 @@ const JsBonus = React.createClass({
|
|
|
grantTime:thisdata.grantTime,
|
|
|
targetName:thisdata.targetName,
|
|
|
liquidationStatus:thisdata.liquidationStatus,
|
|
|
- licenceTime:thisdata.licenceTime?(new Date(thisdata.licenceTime)).toLocaleString():'',
|
|
|
- acceptTime:thisdata.acceptTime?(new Date(thisdata.acceptTime)).toLocaleString():'',
|
|
|
- reviewTime:thisdata.reviewTime?(new Date(thisdata.reviewTime)).toLocaleString():''
|
|
|
+ licenceTime:thisdata.licenceTime,
|
|
|
+ acceptTime:thisdata.acceptTime,
|
|
|
+ reviewTime:thisdata.reviewTime
|
|
|
});
|
|
|
};
|
|
|
}
|
|
@@ -150,8 +151,8 @@ const JsBonus = React.createClass({
|
|
|
},
|
|
|
{
|
|
|
title: '任务负责人',
|
|
|
- dataIndex: 'taskReceiver',
|
|
|
- key: 'taskReceiver',
|
|
|
+ dataIndex: 'targetName',
|
|
|
+ key: 'targetName',
|
|
|
},
|
|
|
{
|
|
|
title: '任务状态',
|
|
@@ -351,10 +352,10 @@ const JsBonus = React.createClass({
|
|
|
})
|
|
|
}
|
|
|
</Select>
|
|
|
- <Input placeholder="订单负责人"
|
|
|
+ {/* <Input placeholder="订单负责人"
|
|
|
value={this.state.orderRefundSearch}
|
|
|
- onChange={(e) => { this.setState({ orderRefundSearch: e.target.value }); }} />
|
|
|
- <Input placeholder="项目负责人"
|
|
|
+ onChange={(e) => { this.setState({ orderRefundSearch: e.target.value }); }} /> */}
|
|
|
+ <Input placeholder="任务负责人"
|
|
|
value={this.state.projectMenSearch}
|
|
|
onChange={(e) => { this.setState({ projectMenSearch: e.target.value }); }} />
|
|
|
<Select placeholder="发放状态"
|
|
@@ -404,13 +405,13 @@ const JsBonus = React.createClass({
|
|
|
<Form layout="horizontal" onSubmit={this.boHuiSubmit}>
|
|
|
<Spin spinning={this.state.loading}>
|
|
|
<FormItem labelCol={{ span: 8 }} wrapperCol={{ span: 10 }} label='应收人'>
|
|
|
- <span>{this.state.proofData.salesName}</span>
|
|
|
+ <span>{this.state.proofData.targetName}</span>
|
|
|
</FormItem>
|
|
|
<FormItem labelCol={{ span: 8 }} wrapperCol={{ span: 10 }} label='发放人'>
|
|
|
<span>{this.state.proofData.byName}</span>
|
|
|
</FormItem>
|
|
|
<FormItem wrapperCol={{ span: 12, offset:8 }}>
|
|
|
- <Button type="primary" htmlType="submit" style={{marginRight:20}}>保存</Button>
|
|
|
+ <Button type="primary" htmlType="submit" style={{marginRight:20}}>发放</Button>
|
|
|
<Button type="default" onClick={()=>{this.boHuiCancel()}}>取消</Button>
|
|
|
</FormItem>
|
|
|
</Spin>
|