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
Expand all
Hide 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
)
// 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
)
// 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
This diff is collapsed.
Click to expand it.
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