Commit fa3a8d60 authored by zhengke's avatar zhengke

修改

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