Commit c05e7b04 authored by 罗超's avatar 罗超

新增两列提成详情数据

parent e01e7fcf
...@@ -173,6 +173,32 @@ export default { ...@@ -173,6 +173,32 @@ export default {
return `<span style='color:red'>${rowData.commissionMoney.toFixed(2)}</span>` return `<span style='color:red'>${rowData.commissionMoney.toFixed(2)}</span>`
} }
}; };
let peopleCount = {
field: "peopleCount",
title: "收客人数",
titleAlign: "left",
columnAlign: "left",
isResize: true,
width: 80,
orderBy: "",
formatter: function(rowData, rowIndex, pagingIndex, field) {
return `<span style='color:blue'>${rowData.peopleCount+rowData.visaPeopleCount}人</span>`
}
};
let visaPeopleCount = {
field: "visaPeopleCount",
title: "单签证人数",
titleAlign: "left",
columnAlign: "left",
isResize: true,
width: 80,
formatter: function(rowData, rowIndex, pagingIndex, field) {
if(rowData.visaPeopleCount>0)
return `<span style='color:orange'>${rowData.visaPeopleCount}人</span>`
else
return ''
}
};
let periods = { let periods = {
field: "periods", field: "periods",
title: "期数", title: "期数",
...@@ -205,6 +231,8 @@ export default { ...@@ -205,6 +231,8 @@ export default {
this.columns.push(department); this.columns.push(department);
this.columns.push(userName); this.columns.push(userName);
this.columns.push(commissionMoney); this.columns.push(commissionMoney);
this.columns.push(peopleCount);
this.columns.push(visaPeopleCount);
this.columns.push(periods); this.columns.push(periods);
this.columns.push(remark); this.columns.push(remark);
this.columns.push(opera); this.columns.push(opera);
...@@ -223,6 +251,9 @@ export default { ...@@ -223,6 +251,9 @@ export default {
} }
if(param.commissionMoney!=''){ if(param.commissionMoney!=''){
this.msg.OrderStr='CommissionMoney '+param.commissionMoney this.msg.OrderStr='CommissionMoney '+param.commissionMoney
}
if(param.peopleCount!=''){
this.msg.OrderStr='PeopleCount '+param.peopleCount
} }
this.getList(); this.getList();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment