Commit ad3bc7f8 authored by liudong1993's avatar liudong1993

1 年终奖励

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