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
7d88f3cf
Commit
7d88f3cf
authored
May 17, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
aa3711c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
81 deletions
+64
-81
OPCommissionDetail.vue
...nents/FinancialModule/OpCommission/OPCommissionDetail.vue
+1
-1
OpComPersonDetails.vue
...nents/FinancialModule/OpCommission/OpComPersonDetails.vue
+63
-80
No files found.
src/components/FinancialModule/OpCommission/OPCommissionDetail.vue
View file @
7d88f3cf
...
@@ -338,7 +338,7 @@
...
@@ -338,7 +338,7 @@
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PeroidsList
=
res
.
data
.
data
;
this
.
PeroidsList
=
res
.
data
.
data
;
if
(
!
this
.
$route
.
query
.
PeriodId
){
if
(
!
this
.
$route
.
query
.
PeriodId
){
this
.
msg
.
PeriodId
=
this
.
PeroidsList
[
0
].
Id
this
.
msg
.
Period
s
Id
=
this
.
PeroidsList
[
0
].
Id
}
}
this
.
getList
()
this
.
getList
()
}
else
{
}
else
{
...
...
src/components/FinancialModule/OpCommission/OpComPersonDetails.vue
View file @
7d88f3cf
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<ul
class=
"opUl"
>
<ul
class=
"opUl"
>
<li>
<li>
<em>
出团公司
</em>
<em>
出团公司
</em>
<el-select
filterable
v-model=
'msg.
OutBranch
Id'
<el-select
filterable
v-model=
'msg.
RB_Branch_
Id'
@
change=
'handleCurrentChange(1)'
>
@
change=
'handleCurrentChange(1)'
>
<el-option
label=
"不限"
:value=
"-1"
:key=
"-1"
></el-option>
<el-option
label=
"不限"
:value=
"-1"
:key=
"-1"
></el-option>
<el-option
<el-option
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</li>
</li>
<li>
<li>
<em>
期数
</em>
<em>
期数
</em>
<el-select
v-model=
"msg.PeriodId"
size=
"mini"
@
change=
"handleCurrentChange(1)"
filterable
>
<el-select
v-model=
"msg.Period
s
Id"
size=
"mini"
@
change=
"handleCurrentChange(1)"
filterable
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
"(item,index) in PeroidsList"
:key=
"item.index"
:label=
"item.Periods"
<el-option
v-for=
"(item,index) in PeroidsList"
:key=
"item.index"
:label=
"item.Periods"
:value=
"item.ID"
></el-option>
:value=
"item.ID"
></el-option>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</li>
</li>
<li>
<li>
<em>
所属公司
</em>
<em>
所属公司
</em>
<el-select
filterable
v-model=
'msg.
RB_Branch_
Id'
<el-select
filterable
v-model=
'msg.
EmBranch
Id'
@
change=
'getDepartment();handleCurrentChange(1)'
:disabled=
"disabled"
>
@
change=
'getDepartment();handleCurrentChange(1)'
:disabled=
"disabled"
>
<el-option
label=
"不限"
:value=
"-1"
:key=
"-1"
></el-option>
<el-option
label=
"不限"
:value=
"-1"
:key=
"-1"
></el-option>
<el-option
<el-option
...
@@ -149,6 +149,7 @@
...
@@ -149,6 +149,7 @@
<tr>
<tr>
<th
style=
"width: 100px;"
>
出团公司
</th>
<th
style=
"width: 100px;"
>
出团公司
</th>
<th
style=
"width: 80px;"
>
类型
</th>
<th
style=
"width: 80px;"
>
类型
</th>
<th
style=
"width: 150px;"
>
团/订单ID
</th>
<th
style=
"width: 150px;"
>
团号
</th>
<th
style=
"width: 150px;"
>
团号
</th>
<th
style=
"width: 100px;"
>
所属公司
</th>
<th
style=
"width: 100px;"
>
所属公司
</th>
...
@@ -168,7 +169,11 @@
...
@@ -168,7 +169,11 @@
<tr
v-for=
"item in dataList"
>
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
OutBranchName
?
item
.
OutBranchName
:
'-'
}}
</td>
<td>
{{
item
.
OutBranchName
?
item
.
OutBranchName
:
'-'
}}
</td>
<td>
{{
item
.
OrderTypeName
}}
</td>
<td>
{{
item
.
OrderTypeName
}}
</td>
<td><span
class=
"cursor-p"
:style=
"
{'color': !disabled?'#409EFF':''}" v-if="item.TCNUM" @click="!disabled?goTuanDetails(item):''">
{{
item
.
TCNUM
}}
(
{{
item
.
TCID
}}
)
</span></td>
<td>
<span
class=
"cursor-p"
:style=
"
{'color': !disabled?'#409EFF':''}" @click="clickUrl(item)">
{{
item
.
TCID
}}
</span>
</td>
<td><span
class=
"cursor-p"
:style=
"
{'color': !disabled?'#409EFF':''}" v-if="item.TCNUM"
@click="!disabled?goTuanDetails(item):''">
{{
item
.
TCNUM
}}
</span></td>
<td>
{{
item
.
BranchName
?
item
.
BranchName
:
'-'
}}
</td>
<td>
{{
item
.
BranchName
?
item
.
BranchName
:
'-'
}}
</td>
<td>
{{
item
.
DeptName
?
item
.
DeptName
:
'-'
}}
</td>
<td>
{{
item
.
DeptName
?
item
.
DeptName
:
'-'
}}
</td>
<td>
{{
item
.
UserName
}}
</td>
<td>
{{
item
.
UserName
}}
</td>
...
@@ -206,14 +211,13 @@
...
@@ -206,14 +211,13 @@
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
20
,
pageSize
:
20
,
EmployeeId
:
-
1
,
EmployeeId
:
-
1
,
PeriodId
:
-
1
,
PeriodsId
:
-
1
,
OrderId
:
''
,
OrderType
:
-
1
,
OrderType
:
-
1
,
Way
:
-
1
,
Way
:
-
1
,
TCNUM
:
''
,
TCNUM
:
''
,
RB_Department_Id
:
-
1
,
//部门ID
RB_Department_Id
:
-
1
,
//部门ID
RB_Branch_
Id
:
-
1
,
//公司ID
EmBranch
Id
:
-
1
,
//公司ID
OutBranch
Id
:
-
1
,
//出团公司ID
RB_Branch_
Id
:
-
1
,
//出团公司ID
},
},
loading
:
false
,
loading
:
false
,
//数据源
//数据源
...
@@ -226,9 +230,9 @@
...
@@ -226,9 +230,9 @@
TotalNum
:
0
,
TotalNum
:
0
,
disabled
:
true
,
disabled
:
true
,
WayTypeList
:[
WayTypeList
:[
{
n
ame
:
'不限'
,
Id
:
'-1'
},
{
N
ame
:
'不限'
,
Id
:
'-1'
},
{
n
ame
:
'人头奖励'
,
Id
:
'1'
},
{
N
ame
:
'人头奖励'
,
Id
:
'1'
},
{
n
ame
:
'利润比例'
,
Id
:
'2'
}
{
N
ame
:
'利润比例'
,
Id
:
'2'
}
],
],
titleList
:[
titleList
:[
{
name
:
'不限'
,
id
:
'-1'
},
{
name
:
'不限'
,
id
:
'-1'
},
...
@@ -281,17 +285,16 @@
...
@@ -281,17 +285,16 @@
}
}
}
}
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
PeriodId
?
Number
(
this
.
$route
.
query
.
PeriodId
):
-
1
this
.
msg
.
PeriodsId
=
this
.
$route
.
query
.
PeriodId
?
Number
(
this
.
$route
.
query
.
PeriodId
):
-
1
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
?
this
.
$route
.
query
.
OrderId
:
''
this
.
msg
.
RB_Branch_Id
=
this
.
$route
.
query
.
OutBranchId
?
Number
(
this
.
$route
.
query
.
OutBranchId
):
-
1
this
.
msg
.
OutBranchId
=
this
.
$route
.
query
.
OutBranchId
?
Number
(
this
.
$route
.
query
.
OutBranchId
):
-
1
this
.
msg
.
EmBranchId
=
this
.
$route
.
query
.
RB_Branch_Id
?
Number
(
this
.
$route
.
query
.
RB_Branch_Id
):
Number
(
userInfo
.
RB_Branch_id
)
this
.
msg
.
RB_Branch_Id
=
this
.
$route
.
query
.
RB_Branch_Id
?
Number
(
this
.
$route
.
query
.
RB_Branch_Id
):
Number
(
userInfo
.
RB_Branch_id
)
this
.
msg
.
EmployeeId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
Number
(
userInfo
.
EmployeeId
)
this
.
msg
.
EmployeeId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
Number
(
userInfo
.
EmployeeId
)
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=-
1
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=-
1
||
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=-
1
)
{
//是否有看所有人的权限
||
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=-
1
)
{
//是否有看所有人的权限
this
.
disabled
=
false
;
this
.
disabled
=
false
;
this
.
msg
.
OutBranch
Id
=
this
.
$route
.
query
.
OutBranchId
?
Number
(
this
.
$route
.
query
.
OutBranchId
):
-
1
this
.
msg
.
RB_Branch_
Id
=
this
.
$route
.
query
.
OutBranchId
?
Number
(
this
.
$route
.
query
.
OutBranchId
):
-
1
this
.
msg
.
RB_Branch_
Id
=
this
.
$route
.
query
.
RB_Branch_Id
?
Number
(
this
.
$route
.
query
.
RB_Branch_Id
):
-
1
this
.
msg
.
EmBranch
Id
=
this
.
$route
.
query
.
RB_Branch_Id
?
Number
(
this
.
$route
.
query
.
RB_Branch_Id
):
-
1
// this.msg.RB_Department_Id = -1
// this.msg.RB_Department_Id = -1
this
.
msg
.
EmployeeId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
-
1
this
.
msg
.
EmployeeId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
-
1
}
else
{
}
else
{
...
@@ -301,7 +304,7 @@
...
@@ -301,7 +304,7 @@
},
},
methods
:
{
methods
:
{
GetOrderTypeEnumList
()
{
GetOrderTypeEnumList
()
{
this
.
apipost
(
"
CarSingle_post
_GetOrderTypeEnumList"
,
{},
(
res
)
=>
{
this
.
apipost
(
"
opcommission
_GetOrderTypeEnumList"
,
{},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
OrderTypeList
=
res
.
data
.
data
;
this
.
OrderTypeList
=
res
.
data
.
data
;
}
else
{
}
else
{
...
@@ -326,10 +329,17 @@
...
@@ -326,10 +329,17 @@
},
},
goTuanDetails
(
row
)
{
goTuanDetails
(
row
)
{
let
name
=
''
let
name
=
''
if
(
row
.
IsOneDayOrder
==
1
)
{
// if (row.IsOneDayOrder == 1) {
name
=
'groupTourOrderByTuanOne'
// name = 'groupTourOrderByTuanOne'
}
else
{
// } else {
name
=
'groupTourOrderByTuan'
// name = 'groupTourOrderByTuan'
// }
if
(
row
.
TravelType
==
0
)
{
//正常团
name
=
'TravelControlList'
}
else
if
(
row
.
TravelType
==
2
)
{
//当地团
name
=
'oneDayTrip'
}
else
{
//小包团
name
=
'TravelControlListSale'
}
}
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
name
,
name
:
name
,
...
@@ -340,29 +350,9 @@
...
@@ -340,29 +350,9 @@
}
}
});
});
},
},
clickUrl
(
row
,
type
){
clickUrl
(
row
){
let
data
=
[{
path
:
""
,
OrderId
:
row
.
OrderId
,
Type
:
''
,
PeriodId
:
this
.
msg
.
PeriodId
}]
let
href
let
url
=
this
.
domainManager
().
crmRoutingUrl
;
if
(
row
.
OrderType
==
1
)
{
if
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
)
{
data
[
0
].
path
=
'myCustomerOrderAllType'
}
else
{
data
[
0
].
path
=
'customerOrderAllType'
}
href
=
url
+
'automaticLogin?token='
+
this
.
getLocalStorage
().
token
+
'&data='
+
JSON
.
stringify
(
data
)
window
.
open
(
href
);
}
else
{
let
name
=
''
let
name
=
''
if
(
row
.
OrderType
==
6
)
{
if
(
row
.
OrderType
==
5
)
{
//签证
if
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
)
{
if
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
)
{
name
=
'VisaProductEditOrder'
name
=
'VisaProductEditOrder'
}
else
{
}
else
{
...
@@ -371,29 +361,29 @@
...
@@ -371,29 +361,29 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
name
,
name
:
name
,
});
});
}
else
if
(
row
.
OrderType
==
2
)
{
//跟团 一日游
}
else
if
(
row
.
OrderType
==
1
||
row
.
OrderType
==
6
)
{
//跟团 一日游 团签
if
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
)
{
// if (!this.S_CheckBranchOrder && !this.S_CheckAllOrder) {}
if
(
row
.
TravelType
==
1
)
{
if
(
row
.
TravelType
==
0
)
{
//正规团
name
=
'groupTourOrder'
name
=
'TravelControlList'
}
else
{
}
else
if
(
row
.
TravelType
==
2
)
{
//当地游
name
=
'groupTourOrderOne'
name
=
'oneDayTrip'
}
}
else
if
(
row
.
TravelType
==
1
)
{
//小包团
}
else
{
name
=
'TravelControlListSale'
name
=
'enrollTotal'
}
}
}
else
if
(
row
.
OrderType
==
3
)
{
//酒店
}
else
if
(
row
.
OrderType
==
2
)
{
//酒店
if
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
)
{
if
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
)
{
name
=
'singleProductHotelOrder'
name
=
'singleProductHotelOrder'
}
else
{
}
else
{
name
=
'singleProductHotelOrderOP'
name
=
'singleProductHotelOrderOP'
}
}
}
else
if
(
row
.
OrderType
==
4
)
{
//门票
}
else
if
(
row
.
OrderType
==
3
)
{
//门票
if
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
)
{
if
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
)
{
name
=
'SingleticketOrderList'
name
=
'SingleticketOrderList'
}
else
{
}
else
{
name
=
'SingleticketOrderListOP'
name
=
'SingleticketOrderListOP'
}
}
}
else
if
(
row
.
OrderType
==
5
)
{
//包车
}
else
if
(
row
.
OrderType
==
4
)
{
//包车
if
(
row
.
CarType
==
''
||
row
.
CarType
==
null
){
if
(
row
.
CarType
==
''
||
row
.
CarType
==
null
){
this
.
GetAdminCarOrderPageList
(
row
,
url
,
href
,
data
)
this
.
GetAdminCarOrderPageList
(
row
,
url
,
href
,
data
)
}
else
{
}
else
{
...
@@ -404,33 +394,26 @@
...
@@ -404,33 +394,26 @@
}
}
data
[
0
].
Type
=
row
.
CarType
==
null
||!
row
.
CarType
?
4
:
row
.
CarType
data
[
0
].
Type
=
row
.
CarType
==
null
||!
row
.
CarType
?
4
:
row
.
CarType
}
}
}
else
if
(
row
.
OrderType
==
7
)
{
//jalan酒店
this
.
$message
.
info
(
'jalan酒店暂不支持查看'
)
// if(!this.S_CheckBranchOrder && !this.S_CheckAllOrder){
// name = 'CharterOrderList'
// }else{
// name = 'CharterOrderListOP'
// }
}
}
if
(
name
)
{
if
(
name
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
name
,
name
:
name
,
query
:
{
query
:
{
OrderId
:
row
.
OrderId
,
OrderId
:
row
.
TCID
,
PeriodId
:
this
.
msg
.
PeriodId
,
tcmun
:
row
.
TCNUM
,
PeriodId
:
this
.
msg
.
PeriodsId
,
blank
:
"y"
,
blank
:
"y"
,
}
}
});
});
}
}
}
},
},
GetAdminCarOrderPageList
(
row
,
url
,
href
,
data
)
{
GetAdminCarOrderPageList
(
row
,
url
,
href
,
data
)
{
let
msg
=
{
let
msg
=
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
OrderType
:
''
,
OrderType
:
''
,
OrderId
:
row
.
OrderId
,
OrderId
:
row
.
TCID
,
OrderNo
:
''
,
OrderNo
:
''
,
SurName
:
''
,
SurName
:
''
,
Name
:
''
,
Name
:
''
,
...
@@ -460,7 +443,7 @@
...
@@ -460,7 +443,7 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
name
,
name
:
name
,
query
:
{
query
:
{
OrderId
:
row
.
OrderId
,
OrderId
:
row
.
TCID
,
OrderType
:
OrderType
?
OrderType
:
4
,
OrderType
:
OrderType
?
OrderType
:
4
,
blank
:
"y"
,
blank
:
"y"
,
}
}
...
@@ -490,7 +473,7 @@
...
@@ -490,7 +473,7 @@
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PeroidsList
=
res
.
data
.
data
;
this
.
PeroidsList
=
res
.
data
.
data
;
if
(
!
this
.
$route
.
query
.
PeriodId
){
if
(
!
this
.
$route
.
query
.
PeriodId
){
this
.
msg
.
PeriodId
=
this
.
PeroidsList
[
0
].
Id
this
.
msg
.
Period
s
Id
=
this
.
PeroidsList
[
0
].
Id
}
}
this
.
getList
()
this
.
getList
()
}
else
{
}
else
{
...
...
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