|
@@ -118,7 +118,7 @@ const outSpecial = React.createClass({
|
|
|
pageSize: this.state.pagination.pageSize,
|
|
|
name: this.state.nameSearch,//客户名称
|
|
|
orderNo:this.state.orderNoSearch,
|
|
|
- orderDep:this.state.orderDep,
|
|
|
+ orderDep:this.state.departmenttList,
|
|
|
type:1
|
|
|
},
|
|
|
success: function (data) {
|
|
@@ -420,6 +420,7 @@ const outSpecial = React.createClass({
|
|
|
},
|
|
|
success: function (data) {
|
|
|
let theArr = [];
|
|
|
+ let sum = 0;
|
|
|
if (!data.data) {
|
|
|
if (data.error && data.error.length) {
|
|
|
message.warning(data.error[0].message);
|
|
@@ -427,17 +428,20 @@ const outSpecial = React.createClass({
|
|
|
} else {
|
|
|
for (let i = 0; i < data.data.list.length; i++) {
|
|
|
let thisdata = data.data.list[i];
|
|
|
+ sum += parseFloat(thisdata.amount).toFixed(4);
|
|
|
theArr.push({
|
|
|
id: thisdata.id,
|
|
|
orderno: thisdata.orderno,//订单编号
|
|
|
amount:thisdata.amount,//签单金额
|
|
|
createTime:thisdata.createTime,//流程状态
|
|
|
status:thisdata.status,//结算状态
|
|
|
+ rejectReason:thisdata.rejectReason
|
|
|
});
|
|
|
};
|
|
|
};
|
|
|
this.setState({
|
|
|
- recordData:theArr
|
|
|
+ recordData:theArr,
|
|
|
+ sum:sum.toFixed(4)
|
|
|
})
|
|
|
}.bind(this),
|
|
|
}).done(function(data) {
|
|
@@ -495,7 +499,7 @@ const outSpecial = React.createClass({
|
|
|
var departmentArr = this.state.departmentArr ||[];
|
|
|
return ( <div className="user-content">
|
|
|
<div className="content-title">
|
|
|
- <span>开票申请列表</span>
|
|
|
+ <span>省外特批</span>
|
|
|
</div>
|
|
|
<div className="user-search">
|
|
|
<Input placeholder="营销员名称"
|
|
@@ -745,7 +749,7 @@ const outSpecial = React.createClass({
|
|
|
开票总计
|
|
|
</span>
|
|
|
} >
|
|
|
- <span></span>
|
|
|
+ <span>{this.state.sum}</span>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
</div>
|