Commit ad3bc7f8 authored by liudong1993's avatar liudong1993

1 年终奖励

parent 75c051cd
......@@ -878,7 +878,7 @@
((GetDetail.TemplateId==28 || GetDetail.TemplateId==30) && GetDetail.OtherType!=63 && GetDetail.OtherType!=64) -->
<span v-if="(GetDetail.OtherType&&(GetDetail.OtherType==43 || GetDetail.OtherType==48
|| GetDetail.OtherType==63 || GetDetail.OtherType==64 || GetDetail.OtherType==69
|| GetDetail.OtherType==70 || GetDetail.OtherType==72 || GetDetail.OtherType==76
|| GetDetail.OtherType==70 || GetDetail.OtherType==72 || GetDetail.OtherType==76 || GetDetail.OtherType==85
|| GetDetail.OtherType==73 || GetDetail.OtherType==77 || GetDetail.OtherType==78))
|| ((GetDetail.TemplateId==28 || GetDetail.TemplateId==30)
&& GetDetail.OtherType!=63 && GetDetail.OtherType!=64&&GetDetail.OtherType!=55&&GetDetail.OtherType!=56
......@@ -2126,7 +2126,13 @@
path = GetDetail.OtherType == 72 ? 'TradeTicketDetails' : 'TradeTicketUserDetails'
obj.RB_Branch_Id = String(GetDetail.RB_Branch_Id)
obj.OutBranchId = null
} else if (GetDetail.OtherType == 73 || GetDetail.OtherType == 77) { //OP提成详情
}else if (GetDetail.OtherType == 85) { //销售年终奖励
obj.tab = '年终奖励详情'
path = 'YearBonusDetails'
obj.RB_Branch_Id = String(GetDetail.RB_Branch_Id)
obj.Year = GetDetail.ReFinanceId
}
else if (GetDetail.OtherType == 73 || GetDetail.OtherType == 77) { //OP提成详情
obj.tab = '出境OP提成详情'
path = GetDetail.OtherType == 73 ? 'OpComPersonDetails' : 'OPCommissionDetail'
} else if (GetDetail.OtherType == 78) { //票务提成详情
......
......@@ -54,9 +54,8 @@
<el-button size="mini" type="danger" style="border-radius:14px" :loading="btnLoading"
@click="generateTable">{{$t('objFill.v101.FinancialModule.shengchengtc')}}</el-button>
</li>
<li v-show="btnShow2">
<el-button size="mini" type="danger" style="border-radius:14px" :loading="btnLoading2"
@click="generateTable2">{{$t('objFill.v101.FinancialModule.shengcnz')}}</el-button>
<li>
<el-button size="mini" type="danger" style="border-radius:14px" @click="goBonusUrl('YearBonusCommission')">查看年终奖励</el-button>
</li>
</ul>
</div>
......@@ -214,6 +213,17 @@
}
});
},
goBonusUrl(path) {
let title = ''
title = '年终奖励'
this.$router.push({
path: path,
query: {
blank: 'y',
tab: title
}
});
},
//获取数据
getList() {
this.loading = true;
......
......@@ -115,7 +115,7 @@
</div>
</div>
<div style="border-left: 1px solid #eeeeee;width: 1px;"> </div>
<div style="cursor: pointer;margin-left: 0;" class="royalty" @click="goAnticipate(3)">
<div v-if="!(CurrentUserInfo.RB_Group_id==2&&CurrentUserInfo.RB_Branch_id==1245)" style="cursor: pointer;margin-left: 0;" class="royalty" @click="goAnticipate(3)">
<div class="tc">
<p>
<span></span>
......@@ -124,10 +124,10 @@
<p style="color: #BDBDBD;font-size: 13px;padding: 0 0 5px 0;">{{data.dxPeriodsName}}期</p>
</div>
<div stye="font-size: 16px;color: #666666;display: block;display: inline-block;">
<span>历史单项提成</span>
<span>年终奖励</span>
</div>
</div>
<el-tooltip class="item" effect="dark" content="预期提成" placement="top">
<el-tooltip v-if="!(CurrentUserInfo.RB_Group_id==2&&CurrentUserInfo.RB_Branch_id==1245)" class="item" effect="dark" content="预期提成" placement="top">
<img src="../../assets/img/xiaosouYQ.png" @click="goAnticipate(4)"
style="width: 20px;height: auto; position: absolute;right: -0;top: -13px;cursor: pointer;color: #33B3FF;"></img>
</el-tooltip>
......@@ -672,7 +672,16 @@
} else if (type == 2) { //国内
name = 'domesticCommissionUser'
} else if (type == 3) { //历史单项
name = 'ServiceCommissionUser'
if(this.data.dxPeriodsName=='-'){return;}
name = 'YearBonusDetails'
this.$router.push({
name: name,
query: {
Year:this.data.dxPeriodsName,
EmployeeId:Number(userInfo.EmployeeId),
blank: 'y'
}
});
} else if (type == 4) { //预期提成
name = 'saleExpectedCommission'
} else if (type == 5) { //排名
......@@ -685,7 +694,7 @@
}
});
}
if (type != 5 && name) {
if (type != 5 && type != 3 && name) {
this.$router.push({
name: name,
query: {
......
......@@ -5380,6 +5380,22 @@ export default {
title: '同业提成'
}
},
{
path: '/YearBonusCommission',
name: 'YearBonusCommission',
component: resolve => require(['@/components/FinancialModule/TradeCommission/YearBonusCommission'], resolve),
meta: {
title: '年终奖励'
}
},
{
path: '/YearBonusDetails',
name: 'YearBonusDetails',
component: resolve => require(['@/components/FinancialModule/TradeCommission/YearBonusDetails'], resolve),
meta: {
title: '年终奖励明细'
}
},
{
path: '/TradeTicketUserDetails',
name: 'TradeTicketUserDetails',
......
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