Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
9fe3ced7
Commit
9fe3ced7
authored
May 22, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销售预提成
parent
8f7d6261
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
237 additions
and
150 deletions
+237
-150
xiaosouYQ.png
src/assets/img/xiaosouYQ.png
+0
-0
ServiceCommissionUser.vue
...nancialModule/ServiceCommission/ServiceCommissionUser.vue
+8
-1
TicketUserDetails.vue
...nts/FinancialModule/TradeCommission/TicketUserDetails.vue
+4
-2
domesticCommissionUser.vue
src/components/FinancialModule/domesticCommissionUser.vue
+7
-1
ExpectedCommission.vue
src/components/sale/ExpectedCommission.vue
+213
-143
sale.vue
src/components/sale/sale.vue
+5
-3
No files found.
src/assets/img/xiaosouYQ.png
0 → 100644
View file @
9fe3ced7
445 Bytes
src/components/FinancialModule/ServiceCommission/ServiceCommissionUser.vue
View file @
9fe3ced7
...
...
@@ -154,10 +154,17 @@
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
'home_CommissionSeeAll'
)
!=
-
1
)
{
//是否有看所有人的权限
this
.
disabled
=
false
;
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
-
1
}
else
{
this
.
disabled
=
true
;
// this.msg.UserId = Number(userInfo.EmployeeId)
if
(
!
this
.
$route
.
query
.
UserId
){
this
.
msg
.
UserId
=
Number
(
userInfo
.
EmployeeId
)
}
else
{
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
Number
(
userInfo
.
EmployeeId
)
}
}
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
PeriodId
)
{
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
PeriodId
}
...
...
src/components/FinancialModule/TradeCommission/TicketUserDetails.vue
View file @
9fe3ced7
...
...
@@ -302,7 +302,7 @@
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
PeriodId
?
Number
(
this
.
$route
.
query
.
PeriodId
):
-
1
this
.
msg
.
OutBranchId
=
this
.
$route
.
query
.
RB_Branch_Id
>-
1
?
Number
(
this
.
$route
.
query
.
RB_Branch_Id
):
Number
(
userInfo
.
RB_Branch_id
)
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
Number
(
userInfo
.
EmployeeId
)
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=-
1
||
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=-
1
)
{
//是否有看所有人的权限
...
...
@@ -310,9 +310,11 @@
this
.
msg
.
OutBranchId
=
-
1
this
.
msg
.
RB_Branch_Id
=
-
1
// this.msg.RB_Department_Id = -1
this
.
msg
.
UserId
=
-
1
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
?
this
.
$route
.
query
.
UserId
:
-
1
}
else
{
this
.
disabled
=
true
;
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
?
this
.
$route
.
query
.
UserId
:
Number
(
userInfo
.
EmployeeId
)
}
...
...
src/components/FinancialModule/domesticCommissionUser.vue
View file @
9fe3ced7
...
...
@@ -150,9 +150,15 @@
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
'home_CommissionSeeAll'
)
!=
-
1
)
{
//是否有看所有人的权限
this
.
disabled
=
false
;
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
-
1
}
else
{
this
.
disabled
=
true
;
// this.msg.UserId = Number(userInfo.EmployeeId)
if
(
!
this
.
$route
.
query
.
UserId
){
this
.
msg
.
UserId
=
Number
(
userInfo
.
EmployeeId
)
}
else
{
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
Number
(
userInfo
.
EmployeeId
)
}
}
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
PeriodId
)
{
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
PeriodId
...
...
src/components/sale/ExpectedCommission.vue
View file @
9fe3ced7
...
...
@@ -18,6 +18,9 @@
margin-left
:
20px
;
/* #333333 */
}
.groupTourOrder
span
span
{
color
:
red
;
}
.CommissionLadder-form
{
display
:
flex
;
flex-wrap
:
wrap
;
...
...
@@ -33,9 +36,28 @@
.CommissionLadder.Line
{
margin
:
0
0
10px
0
;
}
.CommissionLadder
.title
{
font-size
:
16px
;
font-weight
:
bold
;
padding
:
0
0
5px
0
;
}
.CommissionLadder
p
{
padding
:
5px
0
0px
0
;
font-size
:
15px
;
}
.CommissionInfor
{
padding
:
0
0
10px
0
;
}
.CommissionInfor
span
{
margin-left
:
5px
;
font-size
:
13px
;
}
.CommissionInfor
span
:first-child
{
margin-left
:
0
;
}
.CommissionInfor
span
span
{
color
:
red
;
}
.CommissionLadder
:last-child
{
margin-right
:
0
;
}
...
...
@@ -57,12 +79,15 @@
color
:
#999999
;
font-size
:
14px
;
}
</
style
>
<
template
>
<div>
<div
class=
"query-box HotelWorkInput"
style=
"border-bottom: none;height: 0;padding: 20px 0;"
>
<ul>
<li>
<div
style=
"height: 92vh;overflow-y: scroll;"
>
<div
style=
"display: flex;align-items: center; justify-content: space-between;background: #fff;
height: 40px;padding: 0 20px;"
>
<span>
<!-- 总提成:
<span>
{{
CommissionInfor
.
TotalCMoney
}}
</span>
-->
</span>
<div
style=
"display: flex;align-items: center;"
>
<!--
<i
class=
"el-icon-chat-dot-square"
style=
"cursor: pointer;color: #33B3FF;font-size: 31px;margin-right: 10px;"
...
...
@@ -74,120 +99,168 @@
@click="clickActive(item)">
</input>
</
template
>
</div>
</li>
</ul>
</div>
<div
class=
"CommissionLadder-form"
style=
"margin: 0;margin-bottom: 10px;"
>
<div
class=
"CommissionLadder"
style=
"background: none;display: flex;align-items: center;padding: 0px 20px 10px 20px;"
>
<p
style=
"padding: 0;flex-shrink: 0;padding: 0 20px 0 0;"
>
统计
</p>
<div
class=
"groupTourOrder"
>
<span>
销售额:
<span>
{{OrderList.SalesMoney}}
</span></span>
<span>
订单数:
<span>
{{OrderList.SalesOrderNum}}
</span></span>
<span>
人头数:
<span>
{{OrderList.SalesPeopleNum}}
</span></span>
<span>
提成比例:
<span>
{{OrderList.SalesRate}}
</span></span>
<span>
预期提成:
<span>
{{OrderList.SalesCommission}}
</span></span>
<span>
总提成:
<span>
{{OrderList.TotalCMoney}}
</span></span>
</div>
</div>
</div>
<div
class=
"CommissionLadder-form"
>
<div
style=
"display: flex;justify-content: space-between; width: 100%;"
>
<div
class=
"CommissionLadder Line"
>
<p>
国内线提成
</p>
<div>
<el-table
border
ref=
"multipleTable"
:data=
"DomesticLine.Rlist"
>
<el-table-column
width=
"80"
prop=
"RuleName"
label=
"团队类型"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
RuleName
}}
</
template
>
</el-table-column>
<el-table-column
width=
"70"
prop=
"OrderNum"
label=
"订单数"
><
template
slot-scope=
"scope"
>
{{
scope
.
row
.
OrderNum
?
scope
.
row
.
OrderNum
:
'-'
}}
</
template
></el-table-column>
<el-table-column
width=
"70"
prop=
"PeopleNum"
label=
"报名数"
><
template
slot-scope=
"scope"
>
{{
scope
.
row
.
PeopleNum
?
scope
.
row
.
PeopleNum
:
'-'
}}
</
template
></el-table-column>
<el-table-column
prop=
"Way"
label=
"提成方式"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Way
==
2
?
'利润提成'
:
'人头奖励'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"ProfitRate"
label=
"提成比例"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Way
==
2
?
scope
.
row
.
ProfitRate
:
'-'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"Money"
label=
"提成"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Money
?
scope
.
row
.
Money
:
'-'
}}
<template
v-if=
"scope.row.Money"
>
{{
scope
.
row
.
Way
==
2
?
'%'
:
'/人'
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"Profit"
label=
"预期利润"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Way
==
2
&&
scope
.
row
.
Profit
?
scope
.
row
.
Profit
:
'-'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"Commission"
label=
"预期提成"
show-overflow-tooltip
><
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Commission
?
scope
.
row
.
Commission
:
'-'
}}
</
template
></el-table-column>
</el-table>
<div
style=
"display: flex;flex-direction: column;flex-grow: 2;"
>
<div
class=
"CommissionLadder-form"
style=
"margin: 20px 0 10px 0;"
>
<div
class=
"CommissionLadder"
style=
"padding: 10px 20px 10px 0;"
>
<p
style=
"padding: 0;flex-shrink: 0;padding: 0 20px 10px 20px;"
>
公司所有国内出发线路(单团.散拚)
</p>
<div
class=
"groupTourOrder"
>
<span>
销售额:
<span>
{{CommissionInfor.SalesMoney}}
</span></span>
<span>
订单数:
<span>
{{CommissionInfor.SalesOrderNum}}
</span></span>
<span>
人头数:
<span>
{{CommissionInfor.SalesPeopleNum}}
</span></span>
<span>
提成比例:
<span>
{{CommissionInfor.SalesRate}}
</span></span>
<span>
预期提成:
<span>
{{CommissionInfor.SalesCommission}}
</span></span>
</div>
</div>
</div>
<div
style=
"display: flex;flex-direction: column;flex-grow: 2;"
>
<div
style=
"display: flex;"
>
<div
class=
"CommissionLadder Line"
style=
"margin: 0 10px
10px 10px
;"
>
<
p>
日本线及其他人头奖励
<span
style=
"font-size: 13px;color: red;"
v-if=
"JapaneseLine.Commission>0
"
>
<!-- 预期利润:{{JapaneseLine.CommissionProfit}} --
>
<!-- 预期提成:{{JapaneseLine.Commission}} --
>
<div
class=
"CommissionLadder Line"
style=
"margin: 0 10px
0 0
;"
>
<
div
class=
"title"
>
日本小包团、落地团以及单项提成
</div>
<p>
当月个人毛利润
</p>
<div
class=
"CommissionInfor
"
>
<span
>
订单数量:
<span>
{{CommissionInfor.JapanOrderNum}}
</span
>
</span>
</p>
<span>
人头数量:
<span>
{{CommissionInfor.JapanPeopleNum}}
</span>
</span>
<span>
预期利润:
<span>
{{CommissionInfor.JapanProfit}}
</span>
</span>
<span>
预期比例:
<span>
{{CommissionInfor.JapanRate}}%
</span>
</span>
<span>
预期提成:
<span>
{{CommissionInfor.JapanCommission}}
</span>
</span>
</div>
<div>
<progressComm
:commissionratioList=
"Japanese
Line
"
></progressComm>
<progressComm
:commissionratioList=
"Japanese
Profit
"
></progressComm>
</div>
</div>
<div
class=
"CommissionLadder Line"
>
<
p>
欧洲线及其他人头奖励
<span
style=
"font-size: 13px;color: red;"
v-if=
"EuropeLine.Commission>0
"
>
<!-- 预期利润:{{EuropeLine.CommissionProfit}} --
>
<!-- 预期提成:{{EuropeLine.Commission}} --
>
<div
class=
"CommissionLadder Line"
style=
"margin: 0 0 0 0;"
>
<
div
class=
"title"
>
欧洲小包团、落地团以及单项提成
</div>
<p>
当月个人毛利润
</p>
<div
class=
"CommissionInfor
"
>
<span
>
订单数量:
<span>
{{CommissionInfor.EuropeOrderNum}}
</span
>
</span>
</p>
<span>
人头数量:
<span>
{{CommissionInfor.EuropePeopleNum}}
</span>
</span>
<span>
预期利润:
<span>
{{CommissionInfor.EuropeProfit}}
</span>
</span>
<span>
预期比例:
<span>
{{CommissionInfor.EuropeRate}}%
</span>
</span>
<span>
预期提成:
<span>
{{CommissionInfor.EuropeCommission}}
</span>
</span>
</div>
<div>
<progressComm
:commissionratioList=
"Europe
Line
"
></progressComm>
<progressComm
:commissionratioList=
"Europe
Profit
"
></progressComm>
</div>
</div>
</div>
<div
style=
"display: flex;"
>
<div
class=
"CommissionLadder Line"
style=
"margin: 0 10px 10px 10px;"
>
<p>
日本线及其他利润比
<span
style=
"font-size: 13px;color: red;"
v-if=
"JapaneseProfit.Commission>0"
>
<!-- 预期利润:{{JapaneseProfit.CommissionProfit}} -->
<!-- 预期提成:{{JapaneseProfit.Commission}} -->
<div
class=
"CommissionLadder Line"
style=
"margin: 0 10px 10px 0;"
>
<p>
当月人头奖励(不含门票、包车)
</p>
<div
class=
"CommissionInfor"
>
<span>
人头数量:
<span>
{{CommissionInfor.PeopleNum}}
</span>
</span>
</p>
<span>
奖励:
<span>
{{CommissionInfor.PeopleMoney}}
</span>
</span>
</div>
<div>
<progressComm
:commissionratioList=
"Japanese
Profit
"
></progressComm>
<progressComm
:commissionratioList=
"Japanese
Line
"
></progressComm>
</div>
</div>
<div
class=
"CommissionLadder Line"
>
<p>
欧洲线及其他利润比
<span
style=
"font-size: 13px;color: red;"
v-if=
"EuropeProfit.Commission>0"
>
<!-- 预期利润:{{EuropeProfit.CommissionProfit}} -->
<!-- 预期提成:{{EuropeProfit.Commission}} -->
<p>
当月人头奖励(不含门票、包车)
</p>
<div
class=
"CommissionInfor"
>
<span>
人头数量:
<span>
{{CommissionInfor.EuropePNum}}
</span>
</span>
</p>
<span>
奖励:
<span>
{{CommissionInfor.EuropeMoney}}
</span>
</span>
</div>
<div>
<progressComm
:commissionratioList=
"Europe
Profit
"
></progressComm>
<progressComm
:commissionratioList=
"Europe
Line
"
></progressComm>
</div>
</div>
</div>
<div
style=
"display: flex;"
>
<div
class=
"CommissionLadder Line"
style=
"margin: 0 0 0 10px;"
>
<p>
年终奖
</p>
<div
class=
"CommissionLadder Line"
style=
"margin: 0;"
>
<p
style=
"display: flex;justify-content: space-between;padding: 0 0 10px 0;"
>
<span>
年终奖
</span>
<span
style=
"color: red;font-size: 13px;"
>
注:年终奖励从每年3月起始
</span>
</p>
<div
class=
"CommissionInfor"
>
<span>
连续达标
<span
style=
"margin-left: 10px;"
>
{{CommissionInfor.BonusNum}}
</span>
月
</span>
<span><span>
每月人数35人以上
</span></span>
</span>
</div>
<div>
<progressComm
:commissionratioList=
"AnnualBonus"
></progressComm>
</div>
</div>
</div>
</div>
<div
class=
"CommissionLadder Line"
style=
"margin: 20px 0 0 10px;"
>
<p
style=
"padding: 0 0 10px 0;"
>
国内提成
</p>
<div>
<el-table
border
ref=
"multipleTable"
:data=
"DomesticLine.Rlist"
>
<el-table-column
width=
"80"
prop=
"RuleName"
label=
"团队类型"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
RuleName
}}
</
template
>
</el-table-column>
<el-table-column
width=
"70"
prop=
"OrderNum"
label=
"订单数"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
OrderNum
?
scope
.
row
.
OrderNum
:
'-'
}}
</
template
>
</el-table-column>
<el-table-column
width=
"70"
prop=
"PeopleNum"
label=
"报名数"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
PeopleNum
?
scope
.
row
.
PeopleNum
:
'-'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"Way"
label=
"提成方式"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Way
==
2
?
'利润提成'
:
'人头奖励'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"ProfitRate"
label=
"提成"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.Way==1"
>
{{
scope
.
row
.
Money
+
'/人'
}}
</
template
>
<
template
v-if=
"scope.row.Way==2"
>
{{
scope
.
row
.
ProfitRate
+
'%'
}}
</
template
>
<p
v-if=
"scope.row.Way == 2"
style=
"font-size: 12px;color: #999999;white-space: wrap;"
>
利润比{{scope.row.ProfitRate}}%
利润
<
=
0
时
{{
scope
.
row
.
Money
}}元/人</
p
>
</template>
</el-table-column>
<el-table-column
prop=
"Profit"
label=
"预期利润"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.Profit
<
=
0
"
>
10/人
</
template
>
<
template
v-else
>
{{
scope
.
row
.
Way
==
2
&&
scope
.
row
.
Profit
?
scope
.
row
.
Profit
:
'-'
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"Commission"
label=
"预期提成"
show-overflow-tooltip
><
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Commission
}}
</
template
></el-table-column>
</el-table>
</div>
</div>
</div>
</div>
...
...
@@ -195,24 +268,6 @@
</div>
<div
class=
"ExpectedCommission-form"
>
<!-- 统计版块 -->
<!-- <div class="groupTourOrder_count">
<el-row :gutter="20">
<el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="6">
<div class="groupTourOrder_count_item HT_total">
<div style="display: flex;justify-content: space-between;"><span>统计</span></div>
<p style="margin-top: 10px;">
<span>销售额:11</span>
<span style="margin-left: 20px;">订单数量:22</span>
<span style="margin-left: 20px;">人头数量:11</span>
<span style="margin-left: 20px;">提成比例:22</span>
<span style="">预期提成:22</span>
</p>
</div>
</el-col>
</el-row>
</div> -->
<!-- 未平账单 -->
<div
class=
"OpenOrder"
>
<div
class=
"OpenOrderMore"
>
...
...
@@ -221,8 +276,9 @@
</div>
<OrderList
:OrderList=
"OrderList"
></OrderList>
</div>
<div
style=
"padding: 10px 0 0 0;color: #E95252;line-height: 30px;"
>
<p>
备注:
</p>
<div
style=
"display: flex;justify-content: space-between;"
>
<div
style=
"padding: 10px 0 0 0;color: #E95252;line-height: 30px;width: 50%;white-space: wrap;"
>
<p
style=
"font-weight: bold;"
>
出境提成提醒:
</p>
1.日本线.韩国线.东南亚线.南亚线散拚.与单团提成保持1%提成不变
</br>
2.增加境外散拚提成(日本线.欧洲线分别奖励计算)
</br>
3.增加人头奖励(日本线与其他.欧洲线2种)
</br>
...
...
@@ -234,6 +290,20 @@
9.单项服务每月人头数与年终人头奖励接按0.5计算
</br>
10.以上制度公司会因市场变动与业务实际情况採取适当因应或调整,敬请注意!!
</div>
<div
style=
"padding: 10px 0 0 0;color: #E95252;line-height: 30px;width: 50%;white-space: wrap;"
>
<p
style=
"font-weight: bold;"
>
关于提成发放流程的补充通知:
</p>
<p>
提成按时发放是公司所有人的期盼,同时也是公司重视的一部份,202
3年04月27日发布文件编号:2023-A-19“关于提成发放流程的通知”文件,在实际
操作过程中还是有部份人员不重视、无公德心,未在规定时间内及时改价或成本录入
未完成,导致5月提成未正常发放,为不影响其他销售的提成,特对提成规则做以下补充:
</p>
1.从2023年5月18日起,行政部会按提成规定对已平账订单进行制单;
</br>
2.未在规定时间内改价平账订单,违反提成规则,该订单报名当事人提成金额为0。
</br>
3.未平账订单继续追溯至下个月,直到全部帐平为止,再放发上月其他订单提成
</br>
4.未结团团期或成本遗漏补录等原因,造成团队利润变动,销售提成会在次月再次验证此团利润,多退少补;
</br>
5.提成工作环环相扣,请所有人员务必有公德心,同时遵守工作流程,尊重他人。
</br>
</div>
</div>
</div>
...
...
@@ -413,27 +483,27 @@
this
.
CommissionInfor
=
data
;
// 日本及其他人头奖励
this
.
JapaneseLine
.
AvgLureNum
=
this
.
CommissionInfor
.
PeopleNum
this
.
JapaneseLine
.
Commission
=
this
.
CommissionInfor
.
PeopleMoney
this
.
JapaneseLine
.
AvgLureNum
=
this
.
CommissionInfor
.
PeopleNum
?
this
.
CommissionInfor
.
PeopleNum
:
0
this
.
JapaneseLine
.
Commission
=
this
.
CommissionInfor
.
PeopleMoney
?
this
.
CommissionInfor
.
PeopleMoney
:
0
// 日本及其他提成比例
this
.
JapaneseProfit
.
AvgLureNum
=
this
.
CommissionInfor
.
JapanCommission
this
.
JapaneseProfit
.
AvfOrderNum
=
this
.
CommissionInfor
.
JapanOrderNum
this
.
JapaneseProfit
.
CommissionRate
=
this
.
CommissionInfor
.
JapanRate
this
.
JapaneseProfit
.
Commission
=
this
.
CommissionInfor
.
JapanCommission
this
.
JapaneseProfit
.
CommissionProfit
=
this
.
CommissionInfor
.
JapanProfit
this
.
JapaneseProfit
.
AvgLureNum
=
this
.
CommissionInfor
.
JapanCommission
?
this
.
CommissionInfor
.
JapanCommission
:
0
this
.
JapaneseProfit
.
AvfOrderNum
=
this
.
CommissionInfor
.
JapanOrderNum
?
this
.
CommissionInfor
.
JapanOrderNum
:
0
this
.
JapaneseProfit
.
CommissionRate
=
this
.
CommissionInfor
.
JapanRate
?
this
.
CommissionInfor
.
JapanRate
:
0
this
.
JapaneseProfit
.
Commission
=
this
.
CommissionInfor
.
JapanCommission
?
this
.
CommissionInfor
.
JapanCommission
:
0
this
.
JapaneseProfit
.
CommissionProfit
=
this
.
CommissionInfor
.
JapanProfit
?
this
.
CommissionInfor
.
JapanProfit
:
0
// 欧洲人头奖励
this
.
EuropeLine
.
AvgLureNum
=
this
.
CommissionInfor
.
EuropePNum
this
.
EuropeLine
.
Commission
=
this
.
CommissionInfor
.
EuropeMoney
this
.
EuropeLine
.
AvgLureNum
=
this
.
CommissionInfor
.
EuropePNum
?
this
.
CommissionInfor
.
EuropePNum
:
0
this
.
EuropeLine
.
Commission
=
this
.
CommissionInfor
.
EuropeMoney
?
this
.
CommissionInfor
.
EuropeMoney
:
0
// 欧洲及其他提成比例
this
.
EuropeProfit
.
AvgLureNum
=
this
.
CommissionInfor
.
EuropeCommission
this
.
EuropeProfit
.
AvfOrderNum
=
this
.
CommissionInfor
.
EuropeOrderNum
this
.
EuropeProfit
.
CommissionRate
=
this
.
CommissionInfor
.
EuropeRate
this
.
EuropeProfit
.
Commission
=
this
.
CommissionInfor
.
EuropeCommission
this
.
EuropeProfit
.
CommissionProfit
=
this
.
CommissionInfor
.
EuropeProfit
this
.
EuropeProfit
.
AvgLureNum
=
this
.
CommissionInfor
.
EuropeCommission
?
this
.
CommissionInfor
.
EuropeCommission
:
0
this
.
EuropeProfit
.
AvfOrderNum
=
this
.
CommissionInfor
.
EuropeOrderNum
?
this
.
CommissionInfor
.
EuropeOrderNum
:
0
this
.
EuropeProfit
.
CommissionRate
=
this
.
CommissionInfor
.
EuropeRate
?
this
.
CommissionInfor
.
EuropeRate
:
0
this
.
EuropeProfit
.
Commission
=
this
.
CommissionInfor
.
EuropeCommission
?
this
.
CommissionInfor
.
EuropeCommission
:
0
this
.
EuropeProfit
.
CommissionProfit
=
this
.
CommissionInfor
.
EuropeProfit
?
this
.
CommissionInfor
.
EuropeProfit
:
0
// 年终奖
this
.
AnnualBonus
.
AvfOrderNum
=
this
.
CommissionInfor
.
BonusNum
this
.
AnnualBonus
.
Commission
=
this
.
CommissionInfor
.
BonusPeriods
// console.log(this.OrderList
,'----')
this
.
AnnualBonus
.
AvfOrderNum
=
this
.
CommissionInfor
.
BonusNum
?
this
.
CommissionInfor
.
BonusNum
:
0
this
.
AnnualBonus
.
Commission
=
this
.
CommissionInfor
.
BonusPeriods
?
this
.
CommissionInfor
.
BonusPeriods
:
0
console
.
log
(
this
.
CommissionInfor
,
'----'
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/sale/sale.vue
View file @
9fe3ced7
...
...
@@ -69,7 +69,7 @@
<span>
¥
</span>
<span>
{{
data
.
totalCommission
}}
</span>
</p>
<p
v-if=
"data.peopelBonus"
>
{{
data
.
peopelBonus
}}
/人
</p>
<p
v-if=
"data.peopelBonus"
>
人头奖励:
{{
data
.
peopelBonus
}}
</p>
<p
style=
"color: #BDBDBD;font-size: 13px;padding: 0 0 5px 0;"
>
{{
data
.
periodsName
}}
期
</p>
</div>
<!--
<span>
¥
<p
class=
"tc"
>
{{
data
.
totalCommission
}}
</p></span>
-->
...
...
@@ -112,8 +112,8 @@
</div>
</div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"预期提成"
placement=
"top"
>
<i
class=
"el-icon-document
"
@
click=
"goAnticipate(4)"
style=
"
position: absolute;right: -0;top: -10px;cursor: pointer;color: #33B3FF;"
></i
>
<i
mg
src=
"../../assets/img/xiaosouYQ.png
"
@
click=
"goAnticipate(4)"
style=
"
width: 15px;height: auto; position: absolute;right: -0;top: -10px;cursor: pointer;color: #33B3FF;"
></img
>
</el-tooltip>
</div>
</div>
...
...
@@ -640,6 +640,7 @@
methods
:
{
// 销售预期提成
goAnticipate
(
type
){
let
userInfo
=
this
.
getLocalStorage
();
let
name
if
(
type
==
1
){
name
=
'TradeTicketUserDetails'
...
...
@@ -653,6 +654,7 @@
this
.
$router
.
push
({
name
:
name
,
query
:
{
UserId
:
Number
(
userInfo
.
EmployeeId
),
isSale
:
1
,
blank
:
'y'
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment