Commit fa3a8d60 authored by zhengke's avatar zhengke

修改

parent 34d399f1
......@@ -36,8 +36,8 @@
</VueApexCharts> -->
<div class="return-commission-Statistics flex wrap content-start">
<div class="Statistics-block">
<div class="Statistics-num">
<span class="Statistics-pre">¥</span>
<div class="Statistics-num StatisticHiper" @click="goFanyong()">
<span class="Statistics-pre"></span>
{{formatInt(ReturnCommissionData.SttlementMoney)}}{{formatDecimal(ReturnCommissionData.SttlementMoney)}}
</div>
<div class="Statistics-label">
......@@ -45,7 +45,7 @@
</div>
</div>
<div class="Statistics-block">
<div class="Statistics-num">
<div class="Statistics-num StatisticHiper" @click="goDaiFan()">
<span class="Statistics-pre"></span>
{{formatInt(ReturnCommissionData.UnSettlementMoney)}}{{formatDecimal(ReturnCommissionData.UnSettlementMoney)}}
</div>
......@@ -323,6 +323,25 @@ import {
GetCenterCommissionStatistics().then(res=>{
this.ReturnCommissionData=res.Data
})
},
//跳转到返佣
goFanyong(){
let userinfo = this.getLocalStorage();
this.OpenNewUrl('/financial/returnPassbook/returnpassbookStatistics', {
CommissionType: 1,
OrderSourceType: 1,
OrderSourceId:userinfo.Id
});
},
//跳转到待返佣
goDaiFan(){
let userinfo = this.getLocalStorage();
this.OpenNewUrl('/financial/returnPassbook/returnpassbookStatistics', {
Status: 0,
CommissionType: 1,
OrderSourceType: 1,
OrderSourceId:userinfo.Id
});
}
}
};
......@@ -487,4 +506,9 @@ import {
.work-con::-webkit-scrollbar-corner {
background: #204754;
}
.StatisticHiper{
color:var(--q-color-primary) !important;
text-decoration:underline;
cursor:pointer;
}
</style>
......@@ -420,6 +420,9 @@ export default {
AllInvitationList: [],
isNormal: false,
employeeList:[],
myEmployeeList:[]
}
},
created() {
......@@ -444,16 +447,21 @@ export default {
this.msg.UnionCashOutId = this.$route.query.UnionCashOutId
}
if (this.$route.query && this.$route.query.OrderSourceType) {//来源
this.msg.OrderSourceType = this.$route.query.OrderSourceType
this.msg.OrderSourceType = parseInt(this.$route.query.OrderSourceType)
}
if (this.$route.query && this.$route.query.OrderSourceId) {//人员ID
this.msg.OrderSourceId = this.$route.query.OrderSourceId
this.msg.OrderSourceId = parseInt(this.$route.query.OrderSourceId)
}
if (this.$route.query && this.$route.query.CommissionType) {
this.msg.CommissionType = this.$route.query.CommissionType;
this.msg.Q_SelectNormal = 2
this.isNormal = true
}
if (this.$route.query && this.$route.query.Status) {
this.msg.Status = this.$route.query.Status;
this.isNormal = false;
this.msg.Q_SelectNormal = '-1'
}
......@@ -532,10 +540,14 @@ export default {
//筛选员工
filterEmployee(val, update, abort) {
update(() => {
this.myEmployeeList = this.employeeList.filter(
v => v.EmployeeName.indexOf(val) > -1
);
});
if (val === '') {
this.myEmployeeList = this.employeeList
}
else {
const needle = val.toLowerCase();
this.myEmployeeList = this.employeeList.filter(v => v.EmployeeName.toLowerCase().indexOf(needle) > -1);
}
})
},
//获取员工列表
getEmployeeList() {
......
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