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
74626e22
Commit
74626e22
authored
May 24, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
3875f60e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
44 deletions
+43
-44
OpComPersonDetails.vue
...nents/FinancialModule/OpCommission/OpComPersonDetails.vue
+37
-38
TicketDetails.vue
...ponents/FinancialModule/TradeCommission/TicketDetails.vue
+6
-6
No files found.
src/components/FinancialModule/OpCommission/OpComPersonDetails.vue
View file @
74626e22
...
@@ -4,20 +4,20 @@
...
@@ -4,20 +4,20 @@
position
:
relative
;
position
:
relative
;
top
:
1px
;
top
:
1px
;
}
}
.opUl
li
{
.opUl
li
{
display
:
inline-block
;
display
:
inline-block
;
margin
:
10px
15px
10px
0
;
margin
:
10px
15px
10px
0
;
}
}
.domesticCommissiondetails
.opUl
li
input
{
.domesticCommissiondetails
.opUl
li
input
{
height
:
34px
!important
;
height
:
34px
!important
;
}
}
.domesticCommissiondetails
.singeRowTable
tr
td
{
.domesticCommissiondetails
.singeRowTable
tr
td
{
padding
:
8px
5px
;
padding
:
8px
5px
;
}
}
.domesticCommissiondetails
.hoverSpan
span
:hover
{
.domesticCommissiondetails
.hoverSpan
span
:hover
{
cursor
:
pointer
;
cursor
:
pointer
;
text-decoration
:
underline
;
text-decoration
:
underline
;
...
@@ -36,13 +36,13 @@
...
@@ -36,13 +36,13 @@
<ul
class=
"opUl"
>
<ul
class=
"opUl"
>
<li>
<li>
<em>
出团公司
</em>
<em>
出团公司
</em>
<el-select
filterable
v-model=
'msg.RB_Branch_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
v-for=
"item in companyList"
v-for=
"item in companyList"
:label=
'item.BName'
:label=
'item.BName'
:value=
'item.Id'
:value=
'item.Id'
:key=
'item.Id'
:key=
'item.Id'
></el-option>
></el-option>
</el-select>
</el-select>
...
@@ -57,24 +57,24 @@
...
@@ -57,24 +57,24 @@
</li>
</li>
<li>
<li>
<em>
所属公司
</em>
<em>
所属公司
</em>
<el-select
filterable
v-model=
'msg.EmBranchId'
<el-select
filterable
v-model=
'msg.EmBranchId'
@
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
v-for=
"item in companyList"
v-for=
"item in companyList"
:label=
'item.BName'
:label=
'item.BName'
:value=
'item.Id'
:value=
'item.Id'
:key=
'item.Id'
:key=
'item.Id'
></el-option>
></el-option>
</el-select>
</el-select>
</li>
</li>
<li>
<li>
<em>
部门
</em>
<em>
部门
</em>
<el-select
filterable
v-model=
'msg.RB_Department_Id'
<el-select
filterable
v-model=
'msg.RB_Department_Id'
@
change=
'getEmployee();handleCurrentChange(1)'
>
@
change=
'getEmployee();handleCurrentChange(1)'
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
'item in departmentList'
<el-option
v-for=
'item in departmentList'
:label=
'item.DepartmentName'
:label=
'item.DepartmentName'
:value=
'item.DepartmentID'
:value=
'item.DepartmentID'
:key=
'item.DepartmentID'
>
:key=
'item.DepartmentID'
>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
</li>
</li>
<li>
<li>
<em>
人员
</em>
<em>
人员
</em>
<el-select
v-model=
"msg.EmployeeId"
size=
"mini"
<el-select
v-model=
"msg.EmployeeId"
size=
"mini"
@
change=
"handleCurrentChange(1)"
:disabled=
"disabled"
filterable
>
@
change=
"handleCurrentChange(1)"
:disabled=
"disabled"
filterable
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
label=
"微途"
:value=
"-2"
></el-option>
<el-option
label=
"微途"
:value=
"-2"
></el-option>
...
@@ -116,8 +116,8 @@
...
@@ -116,8 +116,8 @@
<el-option
v-for=
"item in WayTypeList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
<el-option
v-for=
"item in WayTypeList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
</el-select>
</el-select>
</li>
</li>
<li
style=
"position: fixed;right: 3px;top: 51px;"
><input
type=
"button"
class=
"normalBtn"
value=
"导出"
@
click=
"exportExcel"
></li>
<li
style=
"position: fixed;right: 3px;top: 51px;"
><input
type=
"button"
class=
"normalBtn"
value=
"导出"
@
click=
"exportExcel"
></li>
</ul>
</ul>
</div>
</div>
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
</p>
</p>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
<table
v-loading=
"loading"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
<table
v-loading=
"loading"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
...
@@ -151,11 +151,11 @@
...
@@ -151,11 +151,11 @@
<th
style=
"width: 150px;"
>
团/订单ID
</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>
<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>
...
@@ -163,7 +163,7 @@
...
@@ -163,7 +163,7 @@
<th
style=
"width: 100px;"
>
提成金额
</th>
<th
style=
"width: 100px;"
>
提成金额
</th>
<th
style=
"width: 100px;"
>
期数
</th>
<th
style=
"width: 100px;"
>
期数
</th>
<th
width=
'200'
>
备注
</th>
<th
width=
'200'
>
备注
</th>
</tr>
</tr>
<tr
v-for=
"item in dataList"
>
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
OutBranchName
?
item
.
OutBranchName
:
'-'
}}
</td>
<td>
{{
item
.
OutBranchName
?
item
.
OutBranchName
:
'-'
}}
</td>
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
<td>
<td>
<span
class=
"cursor-p"
:style=
"
{'color': !disabled?'#409EFF':''}" @click="clickUrl(item)">
{{
item
.
TCID
}}
</span>
<span
class=
"cursor-p"
:style=
"
{'color': !disabled?'#409EFF':''}" @click="clickUrl(item)">
{{
item
.
TCID
}}
</span>
</td>
</td>
<td><span
class=
"cursor-p"
:style=
"
{'color': !disabled?'#409EFF':''}" v-if="item.TCNUM"
<td><span
class=
"cursor-p"
:style=
"
{'color': !disabled?'#409EFF':''}" v-if="item.TCNUM"
@click="!disabled?goTuanDetails(item):''">
{{
item
.
TCNUM
}}
</span></td>
@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>
...
@@ -195,12 +195,12 @@
...
@@ -195,12 +195,12 @@
</el-pagination>
</el-pagination>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
moment
from
"moment"
import
moment
from
"moment"
export
default
{
export
default
{
components
:{
components
:{
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -281,14 +281,14 @@
...
@@ -281,14 +281,14 @@
}
}
if
(
this
.
$route
.
query
)
{
//不大于0的话用默认值
if
(
this
.
$route
.
query
)
{
//不大于0的话用默认值
if
(
this
.
$route
.
query
.
PeriodId
&&
this
.
$route
.
query
.
PeriodId
>
0
)
{
if
(
this
.
$route
.
query
.
PeriodId
&&
this
.
$route
.
query
.
PeriodId
>
0
)
{
}
}
}
}
this
.
msg
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
?
this
.
$route
.
query
.
TCNUM
:
''
this
.
msg
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
?
this
.
$route
.
query
.
TCNUM
:
''
this
.
msg
.
PeriodsId
=
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
.
RB_Branch_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
.
EmBranchId
=
this
.
$route
.
query
.
RB_Branch_Id
?
Number
(
this
.
$route
.
query
.
RB_Branch_Id
):
Number
(
userInfo
.
RB_Branch_id
)
this
.
msg
.
EmBranchId
=
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
)
{
//是否有看所有人的权限
...
@@ -300,7 +300,7 @@
...
@@ -300,7 +300,7 @@
}
else
{
}
else
{
this
.
disabled
=
true
;
this
.
disabled
=
true
;
}
}
},
},
methods
:
{
methods
:
{
GetOrderTypeEnumList
()
{
GetOrderTypeEnumList
()
{
...
@@ -318,7 +318,7 @@
...
@@ -318,7 +318,7 @@
this
.
departmentList
=
res
.
data
.
data
;
this
.
departmentList
=
res
.
data
.
data
;
}
}
},
err
=>
{})
},
err
=>
{})
},
},
getCompany
(){
getCompany
(){
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
...
@@ -326,7 +326,7 @@
...
@@ -326,7 +326,7 @@
this
.
companyList
=
res
.
data
.
data
;
this
.
companyList
=
res
.
data
.
data
;
}
else
{}
}
else
{}
},
err
=>
{})
},
err
=>
{})
},
},
goTuanDetails
(
row
)
{
goTuanDetails
(
row
)
{
let
name
=
''
let
name
=
''
// if (row.IsOneDayOrder == 1) {
// if (row.IsOneDayOrder == 1) {
...
@@ -353,7 +353,7 @@
...
@@ -353,7 +353,7 @@
clickUrl
(
row
){
clickUrl
(
row
){
let
name
=
''
let
name
=
''
if
(
row
.
OrderType
==
5
)
{
//签证
if
(
row
.
OrderType
==
5
)
{
//签证
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'VisaProductEditOrderOP'
name
=
'VisaProductEditOrderOP'
}
else
{
}
else
{
name
=
'VisaProductEditOrder'
name
=
'VisaProductEditOrder'
...
@@ -362,7 +362,7 @@
...
@@ -362,7 +362,7 @@
name
:
name
,
name
:
name
,
});
});
}
else
if
(
row
.
OrderType
==
1
||
row
.
OrderType
==
6
)
{
//跟团 一日游 团签
}
else
if
(
row
.
OrderType
==
1
||
row
.
OrderType
==
6
)
{
//跟团 一日游 团签
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'enrollTotal'
name
=
'enrollTotal'
}
else
{
}
else
{
if
(
row
.
TravelType
==
0
)
{
//正规团
if
(
row
.
TravelType
==
0
)
{
//正规团
...
@@ -374,13 +374,13 @@
...
@@ -374,13 +374,13 @@
}
}
}
}
}
else
if
(
row
.
OrderType
==
2
)
{
//酒店
}
else
if
(
row
.
OrderType
==
2
)
{
//酒店
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'singleProductHotelOrderOP'
name
=
'singleProductHotelOrderOP'
}
else
{
}
else
{
name
=
'singleProductHotelOrder'
name
=
'singleProductHotelOrder'
}
}
}
else
if
(
row
.
OrderType
==
3
)
{
//门票
}
else
if
(
row
.
OrderType
==
3
)
{
//门票
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'SingleticketOrderListOP'
name
=
'SingleticketOrderListOP'
}
else
{
}
else
{
name
=
'SingleticketOrderList'
name
=
'SingleticketOrderList'
...
@@ -437,7 +437,7 @@
...
@@ -437,7 +437,7 @@
if
(
pageData
&&
pageData
.
length
>
0
)
{
if
(
pageData
&&
pageData
.
length
>
0
)
{
OrderType
=
pageData
[
0
].
OrderType
OrderType
=
pageData
[
0
].
OrderType
}
}
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'CharterOrderListOP'
name
=
'CharterOrderListOP'
}
else
{
}
else
{
name
=
'CharterOrderList'
name
=
'CharterOrderList'
...
@@ -502,8 +502,8 @@
...
@@ -502,8 +502,8 @@
err
=>
{}
err
=>
{}
);
);
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
this
.
getList
();
...
@@ -547,9 +547,8 @@
...
@@ -547,9 +547,8 @@
var
fileName
=
"OP提成明细表.xls"
;
var
fileName
=
"OP提成明细表.xls"
;
this
.
GetLocalFile
(
"opcommission_GetNewOPCommissionDetailsListToExcel"
,
msg
,
fileName
);
this
.
GetLocalFile
(
"opcommission_GetNewOPCommissionDetailsListToExcel"
,
msg
,
fileName
);
}
}
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
src/components/FinancialModule/TradeCommission/TicketDetails.vue
View file @
74626e22
...
@@ -356,7 +356,7 @@
...
@@ -356,7 +356,7 @@
if
(
row
.
OrderType
==
1
)
{
if
(
row
.
OrderType
==
1
)
{
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
data
[
0
].
path
=
'customerOrderAllType'
data
[
0
].
path
=
'customerOrderAllType'
}
else
{
}
else
{
data
[
0
].
path
=
'myCustomerOrderAllType'
data
[
0
].
path
=
'myCustomerOrderAllType'
...
@@ -367,7 +367,7 @@
...
@@ -367,7 +367,7 @@
}
else
{
}
else
{
let
name
=
''
let
name
=
''
if
(
row
.
OrderType
==
6
)
{
if
(
row
.
OrderType
==
6
)
{
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'VisaProductEditOrderOP'
name
=
'VisaProductEditOrderOP'
}
else
{
}
else
{
name
=
'VisaProductEditOrder'
name
=
'VisaProductEditOrder'
...
@@ -376,7 +376,7 @@
...
@@ -376,7 +376,7 @@
name
:
name
,
name
:
name
,
});
});
}
else
if
(
row
.
OrderType
==
2
)
{
//跟团 一日游
}
else
if
(
row
.
OrderType
==
2
)
{
//跟团 一日游
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'enrollTotal'
name
=
'enrollTotal'
}
else
{
}
else
{
if
(
row
.
TravelType
==
1
)
{
if
(
row
.
TravelType
==
1
)
{
...
@@ -386,13 +386,13 @@
...
@@ -386,13 +386,13 @@
}
}
}
}
}
else
if
(
row
.
OrderType
==
3
)
{
//酒店
}
else
if
(
row
.
OrderType
==
3
)
{
//酒店
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'singleProductHotelOrderOP'
name
=
'singleProductHotelOrderOP'
}
else
{
}
else
{
name
=
'singleProductHotelOrder'
name
=
'singleProductHotelOrder'
}
}
}
else
if
(
row
.
OrderType
==
4
)
{
//门票
}
else
if
(
row
.
OrderType
==
4
)
{
//门票
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'SingleticketOrderListOP'
name
=
'SingleticketOrderListOP'
}
else
{
}
else
{
name
=
'SingleticketOrderList'
name
=
'SingleticketOrderList'
...
@@ -456,7 +456,7 @@
...
@@ -456,7 +456,7 @@
if
(
pageData
&&
pageData
.
length
>
0
)
{
if
(
pageData
&&
pageData
.
length
>
0
)
{
OrderType
=
pageData
[
0
].
OrderType
OrderType
=
pageData
[
0
].
OrderType
}
}
if
(
!
this
.
S_CheckBranchOrder
||
!
this
.
S_CheckAllOrder
)
{
if
(
this
.
S_CheckBranchOrder
||
this
.
S_CheckAllOrder
)
{
name
=
'CharterOrderListOP'
name
=
'CharterOrderListOP'
}
else
{
}
else
{
name
=
'CharterOrderList'
name
=
'CharterOrderList'
...
...
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