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
fcdc3473
Commit
fcdc3473
authored
Apr 25, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同业提成
parent
9e16fb09
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
863 additions
and
59 deletions
+863
-59
CommissionRule.vue
...onents/FinancialModule/TradeCommission/CommissionRule.vue
+1
-1
TicketCommission.vue
...ents/FinancialModule/TradeCommission/TicketCommission.vue
+9
-9
TicketDetails.vue
...ponents/FinancialModule/TradeCommission/TicketDetails.vue
+26
-25
TicketUserDetails.vue
...nts/FinancialModule/TradeCommission/TicketUserDetails.vue
+22
-23
commissionDialog.vue
...ents/FinancialModule/TradeCommission/commissionDialog.vue
+790
-0
visaOrderList.vue
src/components/SalesVisa/components/visaOrderList.vue
+15
-1
No files found.
src/components/FinancialModule/TradeCommission/CommissionRule.vue
View file @
fcdc3473
<
template
>
<div
class=
"page_FProcessManagement"
>
<ul
class=
"_nav clearfix"
>
<li
style=
"color: red;"
></li>
<li
style=
"color: red;"
>
注:门票不计入人头奖励
</li>
<!--
<button
class=
"hollowFixedBtn"
style=
"right: 185px;"
@
click=
"clickTheRules(1)"
>
提成限制
</button>
<button
class=
"normalBtn"
style=
"position: absolute; right: 90px;top: 9px;"
@
click=
"clickTheRules()"
>
提成规则
</button>
-->
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"新增"
@
click=
"AddMsg"
/>
...
...
src/components/FinancialModule/TradeCommission/TicketCommission.vue
View file @
fcdc3473
...
...
@@ -174,14 +174,9 @@
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
goUrl
(
path
,
id
,
type
)
{
goUrl
(
path
,
id
)
{
let
title
=
''
if
(
type
==
1
){
title
=
'当期利润差额'
}
else
{
title
=
'期数详情'
}
title
=
'提成明细'
this
.
$router
.
push
({
path
:
path
,
query
:
{
...
...
@@ -220,12 +215,17 @@
"sellcommission_SetTYSaleCommissionSend"
,
{
Month
:
this
.
Month
},
res
=>
{
this
.
btnLoading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
handleCurrentChange
(
1
);
this
.
Success
(
'报表生成成功'
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
$confirm
(
res
.
data
.
message
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{})
.
catch
(()
=>
{});
}
}
);
...
...
src/components/FinancialModule/TradeCommission/TicketDetails.vue
View file @
fcdc3473
...
...
@@ -72,7 +72,7 @@
<li>
<em>
部门
</em>
<el-select
filterable
v-model=
'msg.RB_Department_Id'
@
change=
'getEmployee();handleCurrentChange(1)'
:disabled=
"disabled"
>
@
change=
'getEmployee();handleCurrentChange(1)'
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
'item in departmentList'
:label=
'item.DepartmentName'
...
...
@@ -120,8 +120,9 @@
<el-row
:gutter=
"20"
>
<el-col
:xs=
"8"
:sm=
"8"
:md=
"8"
:lg=
"8"
:xl=
"6"
>
<div
class=
"groupTourOrder_count_item HT_total"
>
<div>
<div
style=
"display: flex;justify-content: space-between;"
>
<span>
统计
</span>
<span
style=
"color: red;"
>
注:门票不计入人头奖励
</span>
</div>
<p
style=
"margin-top: 10px;"
>
<span>
总人数:
...
...
@@ -189,23 +190,14 @@
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.pageIndex"
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.pageSize'
:total=
'total'
>
</el-pagination>
<!-- 查看生成比例 -->
<el-dialog
custom-class=
'w1006'
title=
"员工生成比例"
:visible
.
sync=
"outerVisible"
center
>
<inAccordanceWith
v-if=
"objNew"
:msgNew=
"objNew"
></inAccordanceWith>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false"
>
取消
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"outerVisible = false"
>
确定
</button>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
import
inAccordanceWith
from
"./inAccordanceWithDialog"
import
moment
from
"moment"
export
default
{
components
:{
inAccordanceWith
},
data
()
{
return
{
...
...
@@ -259,16 +251,20 @@
disabled
:
true
}
},
mounted
()
{
created
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
departmentMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团
this
.
departmentMsg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_Id
;
this
.
GetCommissionPeroidsList
()
//期数
this
.
getEmployee
()
//人员
this
.
getDepartment
()
this
.
getCompany
()
this
.
GetOrderTypeEnumList
()
this
.
GetCommissionPeroidsList
()
//期数
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
// 判断是否销售
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
)
{
...
...
@@ -282,7 +278,7 @@
}
}
this
.
msg
.
PeriodId
=
this
.
$route
.
query
&&
this
.
$route
.
query
.
PeriodId
>
0
?
Number
(
this
.
$route
.
query
.
PeriodId
):
-
1
this
.
msg
.
PeriodId
=
this
.
$route
.
query
&&
this
.
$route
.
query
.
PeriodId
?
Number
(
this
.
$route
.
query
.
PeriodId
):
-
1
this
.
msg
.
OrderId
=
this
.
$route
.
query
&&
this
.
$route
.
query
.
OrderId
?
this
.
$route
.
query
.
OrderId
:
''
this
.
msg
.
OutBranchId
=
this
.
$route
.
query
&&
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
&&
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
Number
(
userInfo
.
EmployeeId
)
...
...
@@ -290,13 +286,14 @@
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=-
1
||
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=-
1
)
{
//是否有看所有人的权限
this
.
disabled
=
false
;
}
else
{
this
.
disabled
=
true
;
this
.
msg
.
OutBranchId
=
-
1
this
.
msg
.
RB_Branch_Id
=
-
1
this
.
msg
.
RB_Department_Id
=
-
1
// this.msg.RB_Department_Id = -1
this
.
msg
.
UserId
=
-
1
}
else
{
this
.
disabled
=
true
;
}
this
.
getList
()
},
methods
:
{
GetOrderTypeEnumList
()
{
...
...
@@ -493,6 +490,10 @@
"sellcommission_GetTYSaleCommissionPeriodsList"
,{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PeroidsList
=
res
.
data
.
data
;
if
(
!
this
.
$route
.
query
.
PeriodId
){
this
.
msg
.
PeriodId
=
this
.
PeroidsList
[
0
].
Id
}
this
.
getList
()
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/FinancialModule/TradeCommission/TicketUserDetails.vue
View file @
fcdc3473
...
...
@@ -164,7 +164,7 @@
<li>
<em>
部门
</em>
<el-select
filterable
size=
"mini"
v-model=
'msg.RB_Department_Id'
@
change=
'getEmployee();handleCurrentChange(1)'
:disabled=
"disabled"
>
@
change=
'getEmployee();handleCurrentChange(1)'
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
'item in departmentList'
:label=
'item.DepartmentName'
...
...
@@ -233,23 +233,14 @@
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.pageIndex"
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.pageSize'
:total=
'total'
>
</el-pagination>
<!-- 查看生成比例 -->
<el-dialog
custom-class=
'w1006'
title=
"员工生成比例"
:visible
.
sync=
"outerVisible"
center
>
<inAccordanceWith
v-if=
"objNew"
:msgNew=
"objNew"
></inAccordanceWith>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false"
>
取消
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"outerVisible = false"
>
确定
</button>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
import
inAccordanceWith
from
"../ImpressionTicketing/inAccordanceWithDialog"
import
moment
from
"moment"
export
default
{
components
:{
inAccordanceWith
},
data
()
{
return
{
...
...
@@ -295,32 +286,36 @@
disabled
:
true
}
},
mounted
()
{
created
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
departmentMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团
this
.
departmentMsg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_Id
;
this
.
GetCommissionPeroidsList
()
//期数
this
.
getEmployee
()
//人员
this
.
getDepartment
()
this
.
getCompany
()
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
this
.
msg
.
PeriodId
=
this
.
$route
.
query
&&
this
.
$route
.
query
.
PeriodId
>
0
?
Number
(
this
.
$route
.
query
.
PeriodId
):
-
1
this
.
msg
.
OutBranchId
=
this
.
$route
.
query
&&
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
&&
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
Number
(
userInfo
.
EmployeeId
)
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
)
{
//是否有看所有人的权限
this
.
disabled
=
false
;
}
else
{
this
.
disabled
=
true
;
this
.
msg
.
OutBranchId
=
-
1
this
.
msg
.
RB_Branch_Id
=
-
1
this
.
msg
.
RB_Department_Id
=
-
1
// this.msg.RB_Department_Id = -1
this
.
msg
.
UserId
=
-
1
}
else
{
this
.
disabled
=
true
;
}
this
.
getList
()
this
.
getEmployee
()
//人员
this
.
getDepartment
()
this
.
getCompany
()
this
.
GetCommissionPeroidsList
()
//期数
},
methods
:
{
getDepartment
()
{
...
...
@@ -395,6 +390,10 @@
"sellcommission_GetTYSaleCommissionPeriodsList"
,{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PeroidsList
=
res
.
data
.
data
;
if
(
!
this
.
$route
.
query
.
PeriodId
){
this
.
msg
.
PeriodId
=
this
.
PeroidsList
[
0
].
Id
}
this
.
getList
()
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/FinancialModule/TradeCommission/commissionDialog.vue
0 → 100644
View file @
fcdc3473
<
style
scoped
>
.row
{
display
:
flex
;
}
.row-c
{
display
:
flex
;
align-items
:
center
;
}
.column
{
display
:
flex
;
flex-direction
:
column
;
}
.column-jac
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
}
.column-ac
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
.wrap
{
flex-wrap
:
wrap
;
}
.justify-sb
{
justify-content
:
space-between
;
}
.justify-c
{
justify-content
:
center
;
}
.justify-e
{
justify-content
:
flex-end
;
align-items
:
flex-end
;
}
.flex-g
{
flex-grow
:
1
;
}
.flex-s
{
flex-shrink
:
0
;
}
.align-c
{
align-items
:
center
;
}
.cblack
{
color
:
black
;
}
.cf
{
color
:
#ffffff
;
}
.c9e
{
color
:
#9e9e9e
;
}
.c20C997
{
color
:
#20c997
;
}
.c02C854
{
color
:
#02c854
;
}
.cff9800
{
color
:
#ff9800
;
}
.cF1416C
{
color
:
#f1416c
;
}
.cF57A98
{
color
:
#f57a98
;
}
.c04C8C8
{
color
:
#04c8c8
;
}
.c059FF6
{
color
:
#059ff6
;
}
.c3FC4FF
{
color
:
#3fc4ff
;
}
.fz10
{
font-size
:
10px
;
}
.fz11
{
font-size
:
11px
;
}
.fz12
{
font-size
:
12px
;
}
.fz13
{
font-size
:
13px
;
}
.fz14
{
font-size
:
14px
;
}
.fz15
{
font-size
:
15px
;
}
.fz16
{
font-size
:
16px
;
}
.fz17
{
font-size
:
17px
;
}
.fz18
{
font-size
:
18px
;
}
.fbold
{
font-weight
:
bold
;
}
.ml
{
margin-left
:
10px
;
}
.mr
{
margin-right
:
10px
;
}
.mt
{
margin-top
:
10px
;
}
.mt20
{
margin-top
:
20px
;
}
.mb
{
margin-bottom
:
10px
;
}
.mb20
{
margin-bottom
:
20px
;
}
.mx
{
margin-left
:
10px
;
margin-right
:
10px
;
}
.mx5
{
margin-left
:
5px
;
margin-right
:
5px
;
}
.mb5
{
margin-bottom
:
5px
;
}
.py
{
padding
:
15px
0
;
}
.py5
{
padding
:
5px
0
;
}
.px5
{
padding
:
0
5px
;
}
.px15
{
padding
:
0
15px
;
}
.pa15
{
padding
:
15px
;
}
.py20
{
padding
:
20px
0
;
}
.pb5
{
padding
:
0
0
5px
0
;
}
.pa
{
padding
:
10px
20px
;
}
.pa20
{
padding
:
20px
;
}
.pt20
{
padding
:
20px
0
;
}
.borderD
{
border-bottom
:
1px
dashed
#dddddd
;
}
.bgf
{
background
:
#ffffff
;
}
.bgf5
{
background
:
#f5f5f5
;
}
.bgE8F5E9
{
background
:
#e8f5e9
;
}
.bgD9F3FF
{
background
:
#d9f3ff
;
}
.bgFAEAED
{
background
:
#faeaed
;
}
.bj
{
background
:
#ffffff
;
}
.bjFFF3E0
{
background
:
#FFF3E0
;
}
.radius5
{
border-radius
:
5px
;
}
.cursor-pointer
{
cursor
:
pointer
;
}
.relative
{
position
:
relative
;
}
.absolute
{
position
:
absolute
;
}
.left0
{
left
:
0
;
}
.right0
{
right
:
0
;
}
.top0
{
top
:
0
;
}
.bottom0
{
bottom
:
0
;
}
.left20
{
left
:
020px
;
}
.right20
{
right
:
20px
;
}
.top20
{
top
:
20px
;
}
.bottom20
{
bottom
:
20px
;
}
.text-center
{
text-align
:
center
;
}
.orderType
{
padding
:
3px
15px
;
border-radius
:
3px
;
background
:
#f57a98
;
margin-right
:
15px
;
}
.orderType.active
{
background
:
#4dd0e1
;
}
.orderType.activeNo
{
background
:
#E95252
;
}
.copy
{
display
:
inline-block
;
padding
:
3px
15px
;
border-radius
:
3px
;
margin-left
:
20px
;
}
.copy
:hover
{
background
:
#f5f5f5
;
}
.see-rec
div
{
padding
:
1px
5px
;
border-radius
:
3px
;
}
.see
{
border
:
1px
solid
#04c8c8
;
}
.seeLK
{
border
:
1px
solid
#059ff6
;
}
.see
:hover
{
background-color
:
rgba
(
4
,
200
,
200
,
0.1
);
}
.rec
{
border
:
1px
solid
#04c8c8
;
background-color
:
rgba
(
4
,
200
,
200
,
1
);
}
.rec
:hover
{
border
:
1px
solid
rgba
(
4
,
200
,
200
,
0.9
);
background-color
:
rgba
(
4
,
200
,
200
,
0.9
);
}
.cancel
:hover
{
background-color
:
#f3dce2
;
}
.confirm
:hover
{
background-color
:
#dcedc8
;
}
.change
:hover
{
background-color
:
#d7e9f3
;
}
.change1
:hover
{
background-color
:
#dcedc8
;
}
.orderop
{
text-align
:
center
;
}
.orderop
div
{
display
:
flex
;
justify-content
:
center
;
padding
:
0
10px
;
margin
:
5px
0
;
}
.RoomList
div
{
border-bottom
:
1px
solid
#e7e7e7
;
}
.RoomList
div
:last-child
{
border
:
0
;
}
.el-table
{
font-size
:
13px
;
}
.shezhifrom
{
position
:
relative
;
}
.shebox
{
position
:
absolute
;
top
:
0
;
left
:
-100px
;
display
:
none
;
}
.shezhifrom
:hover
.shebox
{
display
:
block
;
}
.flexOne-form-bj
h3
{
font-size
:
18px
;
color
:
black
;
padding
:
0
0
20px
0
;
font-weight
:
400
;
}
.flexOne-type
{
display
:
flex
;
align-items
:
center
;
padding
:
0
0
20px
0
;
}
.flexOne-type
b
{
font-size
:
13px
;
width
:
100px
;
flex-shrink
:
0
;
}
.flexOne-type
div
{
display
:
flex
;
}
.flexOne-description
{
padding
:
15px
15px
;
border-radius
:
5px
;
background
:
#E1F5FE
;
margin-bottom
:
20px
;
}
.flexOne-description
b
{
font-size
:
14px
;
}
.flexOne-description
p
{
font-size
:
12px
;
color
:
#4C5759
;
padding
:
10px
0
0
0
;
}
.flexOne-infor-box
b
{
font-size
:
13px
;
}
.infor-list
{
display
:
flex
;
flex-direction
:
column
;
}
.list-title
{
padding
:
20px
0
;
border-bottom
:
1px
dashed
#eeeeee
;
color
:
#7E8299
;
font-size
:
13px
;
}
.list-title
,
.list-centent
{
display
:
flex
;
flex-wrap
:
wrap
;
margin-top
:
20px
;
}
.infor-list
li
{
width
:
25%
;
}
.list-centent
li
{
width
:
33.33%
;
}
.list-centent.active
li
{
width
:
25%
;
}
/
deep
/
.el-table
tr
td
:first-child
{
border-bottom
:
0
;
}
/
deep
/
.el-table
tr
:last-child
td
{
border-bottom
:
1px
solid
#EBEEF5
;
}
/
deep
/
.el-table
tr
td
{
border-bottom
:
1px
solid
#EBEEF5
;
}
/
deep
/
.el-table
.el-table__cell
{
padding
:
5px
0
;
}
.CM_look
{
padding
:
4px
!important
;
position
:
relative
;
top
:
1px
;
}
.opUl
li
{
display
:
inline-block
;
margin
:
10px
15px
10px
0
;
}
.domesticCommissionUser
.opUl
li
input
{
height
:
34px
!important
;
}
.domesticCommissionUser
.singeRowTable
{
/* position: absolute; */
}
.domesticCommissionUser
.singeRowTable
tr
td
{
padding
:
8px
5px
;
}
.domesticCommissionUser
.hoverSpan
span
:hover
{
cursor
:
pointer
;
text-decoration
:
underline
;
color
:
red
;
}
.text-fixed
{
/* height: 100%;
position: absolute;
left: 0;
top: 0; */
}
.cursor-p
{
cursor
:
pointer
;
}
.cursor-p
:hover
{
color
:
#409EFF
;
}
.ITUDWageMoney-box
{
margin-top
:
20px
;
margin-bottom
:
10px
;
}
.ITUDschedule-Box-box
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
}
.ITUDschedule-box
{
flex
:
1
;
display
:
flex
;
flex-direction
:
column
;
}
.ITUD-title
{
margin-top
:
10px
;
margin-bottom
:
10px
;
}
.progress-box
{
flex
:
1
;
display
:
flex
;
flex-direction
:
row
;
}
.relative-position
{
flex
:
1
;
margin-right
:
0
;
position
:
relative
;
}
/
deep
/
.relative-position
.el-progress-bar__outer
{
border-radius
:
0
!important
;
}
/
deep
/
.relative-position
.el-progress-bar__inner
{
border-radius
:
0
!important
;
}
.ITUD-text-box
{
position
:
relative
;
}
.ITUD-text
{
position
:
absolute
;
z-index
:
999
;
color
:
red
;
}
.rate-box
{
position
:
absolute
;
top
:
30px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
color
:
#000
;
z-index
:
9
;
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
center
;
}
.sanjiao
{
width
:
0
;
height
:
0
;
margin-left
:
5%
;
border-right
:
4px
solid
transparent
;
border-left
:
4px
solid
transparent
;
border-bottom
:
3px
solid
#CACACA
;
}
.rate
{
min-width
:
20px
;
padding
:
2px
6px
;
background-color
:
#CACACA
!important
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
color
:
#666666
;
font-size
:
0.62vw
;
font-family
:
PingFang
SC
;
border-radius
:
7px
;
line-height
:
12px
;
white-space
:
nowrap
;
}
.active-rate
{
background-color
:
#FF7262
!important
;
color
:
#FFFFFF
!important
;
}
.clickCp
{
cursor
:
pointer
;
color
:
#2961fe
;
}
</
style
>
<
template
>
<div>
<span
class=
"c059FF6"
:class=
"
{'cursor-pointer':objNew.createTime>=new Date('2023-04-01').Format('yyyy-MM-dd')
&&
objNew.commissionMoney>0}"
@click="objNew.createTime>=new Date('2023-04-01').Format('yyyy-MM-dd')?DetailsOfRoyalty():''">
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
objNew
.
commissionMoney
)
}}
</span>
</span>
<el-dialog
width=
"1000px"
title=
"提成详情"
:visible
.
sync=
"outerVisible"
center
>
<div
class=
"flexOne domesticCommissionUser"
>
<div
class=
"cm_content"
style=
"width: 100%;margin-bottom: 35px; "
>
<div
style=
"margin-bottom: 20px;display: flex;justify-content: space-between;"
>
<div>
<span>
总人数:
{{
dataObj
.
TotalNum
}}
</span>
<span>
总提成:
{{
dataObj
.
TotalMoney
}}
</span>
</div>
<input
type=
"button"
class=
"normalBtn"
value=
"查看提成明细"
@
click=
"goUrl"
/>
</div>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th
style=
"width: 100px;"
>
出团公司
</th>
<th
style=
"width: 80px;"
>
类型
</th>
<th
style=
"width: 80px;"
>
订单号
</th>
<th
style=
"width: 150px;"
>
团号
</th>
<!--
<th
style=
"width: 100px;"
>
所属公司
</th>
-->
<!--
<th
style=
"width: 100px;"
>
部门
</th>
-->
<th
style=
"width: 100px;"
>
姓名
</th>
<!--
<th
style=
"width: 100px;"
>
线路
</th>
-->
<!--
<th
style=
"width: 100px;"
>
是否欧洲订单
</th>
-->
<th
style=
"width: 100px;"
>
订单人数
</th>
<!--
<th
style=
"width: 100px;"
>
团队总人数
</th>
-->
<th
style=
"width: 100px;"
>
提成方式
</th>
<th
style=
"width: 100px;"
>
提成比例
</th>
<th
style=
"width: 100px;"
>
当月利润
</th>
<th
style=
"width: 100px;"
>
团队利润
</th>
<th
style=
"width: 100px;"
>
提成金额
</th>
<th
style=
"width: 100px;"
>
期数
</th>
<th
width=
'200'
>
备注
</th>
</tr>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<td>
{{
item
.
OutBranchName
?
item
.
OutBranchName
:
'-'
}}
</td>
<td>
{{
item
.
OrderTypeName
}}
</td>
<td>
{{
item
.
OrderId
}}
</td>
<td><span
v-if=
"item.TCNUM"
>
{{
item
.
TCNUM
}}
(
{{
item
.
TCID
}}
)
</span></td>
<!--
<td>
{{
item
.
BranchName
?
item
.
BranchName
:
'-'
}}
</td>
-->
<!--
<td>
{{
item
.
DeptName
?
item
.
DeptName
:
'-'
}}
</td>
-->
<td>
{{
item
.
UserName
}}
</td>
<!--
<td>
{{
item
.
LineName
}}
</td>
-->
<!--
<td>
{{
item
.
IsEurope
==
1
?
'是'
:
'否'
}}
</td>
-->
<td>
{{
item
.
PeopleNum
}}
</td>
<!--
<td>
{{
item
.
TCGuestNum
}}
</td>
-->
<td>
{{
item
.
Way
==
1
?
'销售额'
:
'利润比'
}}
</td>
<td>
{{
item
.
Rate
?
item
.
Rate
+
'%'
:
'-'
}}
</td>
<td>
{{
item
.
OrderProfit
}}
</td>
<td>
{{
item
.
TCProfit
}}
</td>
<td>
{{
item
.
CommissionMoney
?
item
.
CommissionMoney
:
'-'
}}
</td>
<td>
{{
item
.
Periods
}}
</td>
<td>
{{
item
.
Description
?
item
.
Description
:
'-'
}}
</td>
</tr>
</table>
<!-- 分页 -->
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.pageIndex"
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.pageSize'
:total=
'total'
>
</el-pagination>
</div>
<div
v-if=
"dataList&&dataList.length==0"
style=
"width: 100%;border:1px solid #fff;display: flex;align-items: center;justify-content: center;height: 60px;margin-top: 30px;"
>
暂无数据
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"outerVisible = false"
>
取消
</button>
<!--
<button
class=
"normalBtn"
type=
"primary"
@
click=
"outerVisible = false"
>
确定
</button>
-->
</div>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'objNew'
],
data
()
{
return
{
dataObj
:{},
total
:
0
,
msg
:{
pageIndex
:
1
,
pageSize
:
5
,
UserId
:
-
1
,
PeriodId
:
-
1
,
OrderId
:
''
,
OrderType
:
-
1
,
TCNUM
:
''
,
RB_Department_Id
:
-
1
,
//部门ID
RB_Branch_Id
:
-
1
,
//公司ID
OutBranchId
:
-
1
,
//出团公司ID
},
EmName
:
''
,
EmpType
:
''
,
dataList
:[],
//提成比例
outerVisible
:
false
,
//提成比例弹窗
loading
:
false
,
}
},
watch
:{
objNew
:
{
handler
(
val
,
oldVal
)
{
this
.
msg
.
OrderId
=
val
.
id
?
val
.
id
:
val
.
OrderId
},
deep
:
true
,
immediate
:
true
},
},
mounted
()
{
},
methods
:
{
goUrl
(){
this
.
outerVisible
=
false
this
.
$router
.
push
({
path
:
'TradeTicketUserDetails'
,
query
:
{
blank
:
'y'
,
tab
:
'提成明细'
}
});
},
DetailsOfRoyalty
(){
this
.
outerVisible
=
true
this
.
getList
()
},
// 获取员工生成比例
getList
(){
this
.
loading
=
true
this
.
apipost
(
"sellcommission_GetTYSaleCommissionSingleDetailsList"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
false
this
.
dataObj
=
res
.
data
.
data
this
.
dataList
=
res
.
data
.
data
.
pmodel
.
pageData
;
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
}
else
{
this
.
loading
=
false
this
.
Error
(
res
.
data
.
message
);
}
}
);
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
}
}
</
script
>
\ No newline at end of file
src/components/SalesVisa/components/visaOrderList.vue
View file @
fcdc3473
...
...
@@ -610,6 +610,14 @@
</span>
</
template
>
</el-table-column>
<el-table-column
v-if=
"item.commissionMoney&&item.commissionMoney>0"
label=
"提成"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<commissionDialog
:objNew=
"scope.row"
></commissionDialog>
<!--
<span
class=
"cursor-pointer"
:class=
"
{'cF1416C':scope.row.commissionMoney>0}" @click="DetailsOfRoyalty(item)">
¥
<span
class=
"fz15 fbold"
>
{{
moneyFormat
(
scope
.
row
.
commissionMoney
)
}}
</span>
</span>
-->
</
template
>
</el-table-column>
<
template
slot=
"append"
>
<div
class=
"row justify-sb"
style=
"padding:10px;"
>
<div
class=
"cF1416C flex-g"
style=
"min-width: 300px;"
>
...
...
@@ -862,11 +870,14 @@
</template>
<
script
>
import
offset
from
'../../public/offset.vue'
;
import
commissionDialog
from
"../../FinancialModule/TradeCommission/commissionDialog"
export
default
{
components
:
{
offset
},
components
:
{
offset
,
commissionDialog
},
props
:
[
"OrderList"
,
"pagesTitle"
],
data
()
{
return
{
isCommissionDialog
:
false
,
objNew
:{},
queryObj
:
null
,
cdState
:
false
,
copyId
:
0
,
...
...
@@ -964,6 +975,9 @@ export default {
}
},
methods
:
{
DetailsOfRoyalty
(){
},
isOffset
(
row
,
index
,
num
){
this
.
makeAdocument
(
row
,
index
,
num
,
'Offset'
)
setTimeout
(()
=>
{
...
...
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