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
d450362d
Commit
d450362d
authored
May 24, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
d5a97d1d
74626e22
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
109 additions
and
76 deletions
+109
-76
ImpressionTicketDetails.vue
...ialModule/ImpressionTicketing/ImpressionTicketDetails.vue
+35
-10
CommissionRule.vue
...mponents/FinancialModule/OPExtraReward/CommissionRule.vue
+15
-12
OpComPersonDetails.vue
...nents/FinancialModule/OpCommission/OpComPersonDetails.vue
+37
-38
TicketDetails.vue
...ponents/FinancialModule/TradeCommission/TicketDetails.vue
+6
-6
productOrderList.vue
src/components/SalesModule/productOrderList.vue
+1
-1
allList.vue
src/components/myOrdersAllType/components/allList.vue
+15
-9
No files found.
src/components/FinancialModule/ImpressionTicketing/ImpressionTicketDetails.vue
View file @
d450362d
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
</li>
</li>
<li>
<li>
<em>
人员
</em>
<em>
人员
</em>
<el-select
v-model=
"msg.EmpId"
size=
"mini"
@
change=
"handleCurrentChange(1)"
filterable
>
<el-select
v-model=
"msg.EmpId"
size=
"mini"
@
change=
"handleCurrentChange(1)"
filterable
:disabled=
"disabled"
>
<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>
<el-option
v-for=
"(item,index) in searchList"
:key=
"item.index"
:label=
"item.name"
<el-option
v-for=
"(item,index) in searchList"
:key=
"item.index"
:label=
"item.name"
...
@@ -118,14 +118,16 @@
...
@@ -118,14 +118,16 @@
<!--
<td></td>
-->
<!--
<td></td>
-->
<td>
{{
item
.
PostName
?
item
.
PostName
:
'-'
}}
</td>
<td>
{{
item
.
PostName
?
item
.
PostName
:
'-'
}}
</td>
<td>
{{
item
.
EmName
}}
</td>
<td>
{{
item
.
EmName
}}
</td>
<td><span
class=
"cursor-p"
@
click=
"
clickUrl(item,1)
"
>
{{
item
.
OrderId
}}
</span></td>
<td><span
class=
"cursor-p"
@
click=
"
!disabled?clickUrl(item,1):''
"
>
{{
item
.
OrderId
}}
</span></td>
<td>
{{
item
.
OrderTypeName
}}
</td>
<td>
{{
item
.
OrderTypeName
}}
</td>
<td
style=
"font-size: 12px;"
:style=
"
{'cursor':item.TCID?'pointer':''}" @click="item.TCID?goTravel(item.TCID):''">
{{
item
.
TCNUM
?
item
.
TCNUM
:
'-'
}}
<td
style=
"font-size: 12px;"
:style=
"
{'cursor':item.TCID?'pointer':''}"
@click="!disabled
&&
item.TCID?goTravel(item.TCID):''">
{{
item
.
TCNUM
?
item
.
TCNUM
:
'-'
}}
<p
v-if=
"item.OutBranchName"
>
{{
item
.
OutBranchName
?
item
.
OutBranchName
:
'-'
}}
</p>
<p
v-if=
"item.OutBranchName"
>
{{
item
.
OutBranchName
?
item
.
OutBranchName
:
'-'
}}
</p>
</td>
</td>
<td>
{{
item
.
LineName
?
item
.
LineName
:
'-'
}}
</td>
<td>
{{
item
.
LineName
?
item
.
LineName
:
'-'
}}
</td>
<td>
{{
item
.
PeopleNum
?
item
.
PeopleNum
:
''
}}
<td>
{{
item
.
PeopleNum
?
item
.
PeopleNum
:
''
}}
<template
v-if=
"item.
PeopleNum
>0"
>
/
</
template
>
<template
v-if=
"item.
TCID
>0"
>
/
</
template
>
<
template
v-if=
"item.TCID>0"
>
{{
item
.
TCGuestNum
}}
</
template
></td>
<
template
v-if=
"item.TCID>0"
>
{{
item
.
TCGuestNum
}}
</
template
></td>
<td><
template
v-if=
"item.TCID>0"
>
{{
item
.
TCProfit
?
item
.
TCProfit
:
'-'
}}
</
template
>
<td><
template
v-if=
"item.TCID>0"
>
{{
item
.
TCProfit
?
item
.
TCProfit
:
'-'
}}
</
template
>
<
template
v-else
>
-
</
template
>
<
template
v-else
>
-
</
template
>
...
@@ -196,13 +198,14 @@
...
@@ -196,13 +198,14 @@
searchList
:
[],
searchList
:
[],
TotalMoney
:
0
,
TotalMoney
:
0
,
TotalNum
:
0
,
TotalNum
:
0
,
disabled
:
true
,
titleList
:[
titleList
:[
{
name
:
'不限'
,
id
:
'-1'
},
{
name
:
'不限'
,
id
:
'-1'
},
{
name
:
'引流'
,
id
:
'2'
},
{
name
:
'引流'
,
id
:
'2'
},
{
name
:
'销售'
,
id
:
'1'
}
{
name
:
'销售'
,
id
:
'1'
}
],
],
S_CheckBranchOrder
:
false
,
S_CheckAllOrder
:
false
,
disabled
:
true
,
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -219,6 +222,20 @@
...
@@ -219,6 +222,20 @@
this
.
msg
.
EmpType
=
this
.
$route
.
query
.
EmpType
this
.
msg
.
EmpType
=
this
.
$route
.
query
.
EmpType
}
}
}
}
// 判断是否销售
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
)
{
this
.
S_CheckBranchOrder
=
true
}
if
(
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
)
{
this
.
S_CheckAllOrder
=
true
}
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=-
1
||
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=-
1
)
{
//是否有看所有人的权限
this
.
disabled
=
false
;
}
else
{
this
.
disabled
=
true
;
}
},
},
methods
:
{
methods
:
{
GetOrderTypeEnumList
()
{
GetOrderTypeEnumList
()
{
...
@@ -230,12 +247,20 @@
...
@@ -230,12 +247,20 @@
}
}
});
});
},
},
clickUrl
(
item
,
type
){
clickUrl
(
item
,
type
){
if
(
type
==
2
){
//线索
this
.
$router
.
push
({
name
:
'erpCustomerOrderDay'
,
query
:
{
blank
:
'y'
,
OrderId
:
item
.
OrderId
}
});
// if(type==2){//线索
}
else
{
//
}else{
this
.
OrderStatistics
(
item
)
//
this.OrderStatistics(item)
}
//
}
},
},
// 订单统计
// 订单统计
OrderStatistics
(
item
){
OrderStatistics
(
item
){
...
...
src/components/FinancialModule/OPExtraReward/CommissionRule.vue
View file @
d450362d
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<li
style=
"color: red;"
></li>
<li
style=
"color: red;"
></li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"新增"
@
click=
"AddMsg"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"新增"
@
click=
"AddMsg"
/>
<input
type=
"button"
class=
"normalBtn"
style=
"position: absolute; right: 90px;
t
"
value=
"查询"
@
click=
"getList"
/>
<input
type=
"button"
class=
"normalBtn"
style=
"position: absolute; right: 90px;"
value=
"查询"
@
click=
"getList"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
>
>
<tr>
<tr>
<td
:rowspan=
"item.FProfitList&&item.FProfitList.length>0?4:2"
width=
"150"
style=
"min-width: 150px;"
>
当月负责线路毛利金额
<p>
当月提成比例
</p>
</td>
<td
:rowspan=
"item.FProfitList&&item.FProfitList.length>0?4:2"
width=
"150"
style=
"min-width: 150px;"
>
当月负责线路毛利金额
<p>
当月提成比例
</p>
</td>
<th
v-if=
"item.FProfitList
.length>0"
width=
"80"
style=
"min-width:80px;
"
rowspan=
"2"
>
总公司OP
</th>
<th
v-if=
"item.FProfitList
&&item.FProfitList.length>0"
width=
"80"
class=
"opTitle
"
rowspan=
"2"
>
总公司OP
</th>
<th
style=
"min-width: 220px;"
<th
style=
"min-width: 220px;"
v-for=
"( son , sIndex ) in item.ProfitList"
v-for=
"( son , sIndex ) in item.ProfitList"
:key=
"sIndex"
:key=
"sIndex"
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
</tr>
</tr>
<template
v-if=
"item.FProfitList&&item.FProfitList.length>0"
>
<template
v-if=
"item.FProfitList&&item.FProfitList.length>0"
>
<tr>
<tr>
<th
width=
"80"
style=
"min-width:80px;
"
rowspan=
"2"
>
分公司OP
</th>
<th
width=
"80"
class=
"opTitle
"
rowspan=
"2"
>
分公司OP
</th>
<th
style=
"min-width: 220px;"
<th
style=
"min-width: 220px;"
v-for=
"( son , sIndex ) in item.FProfitList"
v-for=
"( son , sIndex ) in item.FProfitList"
:key=
"sIndex"
:key=
"sIndex"
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
>
>
<tr>
<tr>
<td
:rowspan=
"item.FExtraList&&item.FExtraList.length>0?4:2"
width=
"150"
style=
"min-width: 150px;"
>
当月负责团数
<p>
当月奖励
</p>
</td>
<td
:rowspan=
"item.FExtraList&&item.FExtraList.length>0?4:2"
width=
"150"
style=
"min-width: 150px;"
>
当月负责团数
<p>
当月奖励
</p>
</td>
<th
v-if=
"item.FExtraList&&item.FExtraList.length>0"
width=
"80"
style=
"min-width:80px;
"
rowspan=
"2"
>
总公司OP
</th>
<th
v-if=
"item.FExtraList&&item.FExtraList.length>0"
width=
"80"
class=
"opTitle
"
rowspan=
"2"
>
总公司OP
</th>
<th
style=
"min-width: 220px;"
<th
style=
"min-width: 220px;"
v-for=
"( son , sIndex ) in item.ExtraList"
v-for=
"( son , sIndex ) in item.ExtraList"
:key=
"sIndex"
:key=
"sIndex"
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
</tr>
</tr>
<
template
v-if=
"item.FExtraList&&item.FExtraList.length>0"
>
<
template
v-if=
"item.FExtraList&&item.FExtraList.length>0"
>
<tr>
<tr>
<th
width=
"80"
style=
"min-width:80px;
"
rowspan=
"2"
>
分公司OP
</th>
<th
width=
"80"
class=
"opTitle
"
rowspan=
"2"
>
分公司OP
</th>
<th
style=
"min-width: 220px;"
<th
style=
"min-width: 220px;"
v-for=
"( son , sIndex ) in item.FExtraList"
v-for=
"( son , sIndex ) in item.FExtraList"
:key=
"sIndex"
:key=
"sIndex"
...
@@ -285,8 +285,8 @@
...
@@ -285,8 +285,8 @@
<el-switch
<el-switch
v-model=
"form.IsEnableFBranch"
v-model=
"form.IsEnableFBranch"
@
change=
"isSwitch"
@
change=
"isSwitch"
active-value=
"1"
active-value=
1
inactive-value=
"0"
>
inactive-value=
0
>
</el-switch>
</el-switch>
</div>
</div>
<div>
<div>
...
@@ -553,7 +553,7 @@
...
@@ -553,7 +553,7 @@
Rate
:
null
Rate
:
null
}
}
],
],
IsEnableFBranch
:
false
,
IsEnableFBranch
:
0
,
FSingleVisaMoney
:
0
,
FSingleVisaMoney
:
0
,
FTravelVisaMoney
:
0
FTravelVisaMoney
:
0
},
},
...
@@ -583,13 +583,13 @@
...
@@ -583,13 +583,13 @@
addRule
(
row
,
index
,
type
,
num
){
addRule
(
row
,
index
,
type
,
num
){
if
(
type
==
2
){
if
(
type
==
2
){
if
(
num
){
if
(
num
){
this
.
form
.
FProfitList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ProfitList
)))
this
.
form
.
FProfitList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
F
ProfitList
)))
}
else
{
}
else
{
this
.
form
.
ProfitList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ProfitList
)))
this
.
form
.
ProfitList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ProfitList
)))
}
}
}
else
if
(
type
==
3
){
}
else
if
(
type
==
3
){
if
(
num
){
if
(
num
){
this
.
form
.
FExtraList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ExtraList
)))
this
.
form
.
FExtraList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
F
ExtraList
)))
}
else
{
}
else
{
this
.
form
.
ExtraList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ExtraList
)))
this
.
form
.
ExtraList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ExtraList
)))
}
}
...
@@ -614,7 +614,7 @@
...
@@ -614,7 +614,7 @@
AddMsg
(){
//新增
AddMsg
(){
//新增
this
.
ruleVisible
=
true
this
.
ruleVisible
=
true
this
.
titleName
=
'提成规则'
this
.
titleName
=
'提成规则'
this
.
form
.
FExtraList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
FExtraList
)))
this
.
form
.
FExtraList
=
[
JSON
.
parse
(
JSON
.
stringify
(
this
.
FExtraList
))]
},
},
SetRules
(
item
){
//编辑
SetRules
(
item
){
//编辑
this
.
titleName
=
'编辑规则'
this
.
titleName
=
'编辑规则'
...
@@ -637,7 +637,7 @@
...
@@ -637,7 +637,7 @@
CountryId
:
item
.
CountryId
>
0
||
item
.
CountryId
==
0
?
item
.
CountryId
:
null
,
CountryId
:
item
.
CountryId
>
0
||
item
.
CountryId
==
0
?
item
.
CountryId
:
null
,
ProfitList
:
item
.
ProfitList
,
ProfitList
:
item
.
ProfitList
,
ExtraList
:
item
.
ExtraList
,
ExtraList
:
item
.
ExtraList
,
IsEnableFBranch
:
item
.
IsEnableFBranch
,
IsEnableFBranch
:
String
(
item
.
IsEnableFBranch
)
,
FProfitList
:
item
.
FProfitList
&&
item
.
FProfitList
.
length
>
0
?
item
.
FProfitList
:
item
.
IsEnableFBranch
>
0
?[
this
.
FProfitList
]:[],
FProfitList
:
item
.
FProfitList
&&
item
.
FProfitList
.
length
>
0
?
item
.
FProfitList
:
item
.
IsEnableFBranch
>
0
?[
this
.
FProfitList
]:[],
FExtraList
:
item
.
FExtraList
&&
item
.
FExtraList
.
length
>
0
?
item
.
FExtraList
:[
this
.
FExtraList
],
FExtraList
:
item
.
FExtraList
&&
item
.
FExtraList
.
length
>
0
?
item
.
FExtraList
:[
this
.
FExtraList
],
FSingleVisaMoney
:
item
.
FSingleVisaMoney
,
FSingleVisaMoney
:
item
.
FSingleVisaMoney
,
...
@@ -843,4 +843,7 @@
...
@@ -843,4 +843,7 @@
padding
:
0
0
10px
0
;
padding
:
0
0
10px
0
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.opTitle
{
min-width
:
80px
;
background
:
#fff
;
border-top
:
1px
solid
#E6E6E6
;
border-right
:
1px
solid
#E6E6E6
;
}
</
style
>
</
style
>
src/components/FinancialModule/OpCommission/OpComPersonDetails.vue
View file @
d450362d
...
@@ -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 @
d450362d
...
@@ -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'
...
...
src/components/SalesModule/productOrderList.vue
View file @
d450362d
...
@@ -533,7 +533,7 @@
...
@@ -533,7 +533,7 @@
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
CurrentUserInfo
=
this
.
userInfo
;
this
.
CurrentUserInfo
=
this
.
userInfo
;
this
.
userId
=
this
.
userInfo
.
EmployeeId
;
this
.
userId
=
this
.
userInfo
.
EmployeeId
;
this
.
msg
.
BranchId
=
this
.
userInfo
.
RB_Branch_id
.
toString
();
this
.
msg
.
BranchId
=
'-1'
//
this.userInfo.RB_Branch_id.toString();
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
msg
.
BranchId
=
"-1"
;
this
.
msg
.
BranchId
=
"-1"
;
this
.
msg
.
TCID
=
this
.
$route
.
query
.
id
;
this
.
msg
.
TCID
=
this
.
$route
.
query
.
id
;
...
...
src/components/myOrdersAllType/components/allList.vue
View file @
d450362d
...
@@ -612,21 +612,20 @@
...
@@ -612,21 +612,20 @@
},
},
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
OrderId
){
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
}
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
employeeMsg
.
GroupId
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
employeeMsg
.
GroupId
=
userInfo
.
RB_Group_id
;
//集团ID
// this.msg.EnterID = userInfo.EmployeeId;
// this.msg.EnterID = userInfo.EmployeeId;
},
mounted
()
{
this
.
Title
=
this
.
pagesTitle
if
(
this
.
Title
!=
'销售'
){
this
.
getEmployee
()
}
this
.
msg
.
StartTime
=
this
.
getBeforeDate
(
0
,
new
Date
())
this
.
msg
.
StartTime
=
this
.
getBeforeDate
(
0
,
new
Date
())
this
.
msg
.
EndTime
=
this
.
getBeforeDate
(
0
,
new
Date
())
this
.
msg
.
EndTime
=
this
.
getBeforeDate
(
0
,
new
Date
())
this
.
DatelistBM
=
[
new
Date
(
this
.
msg
.
StartTime
),
new
Date
()]
this
.
DatelistBM
=
[
new
Date
(
this
.
msg
.
StartTime
),
new
Date
()]
if
(
this
.
$route
.
query
.
OrderId
){
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
this
.
msg
.
StartTime
=
''
this
.
msg
.
EndTime
=
''
this
.
DatelistBM
=
[]
this
.
msg
.
OrderState
=
'0'
}
if
(
this
.
$route
.
query
.
DepartSTime
){
if
(
this
.
$route
.
query
.
DepartSTime
){
this
.
msg
.
DepartSTime
=
this
.
$route
.
query
.
DepartSTime
this
.
msg
.
DepartSTime
=
this
.
$route
.
query
.
DepartSTime
this
.
msg
.
DepartETime
=
this
.
$route
.
query
.
DepartETime
this
.
msg
.
DepartETime
=
this
.
$route
.
query
.
DepartETime
...
@@ -635,6 +634,13 @@
...
@@ -635,6 +634,13 @@
this
.
msg
.
EndTime
=
''
this
.
msg
.
EndTime
=
''
this
.
DatelistBM
=
[]
this
.
DatelistBM
=
[]
this
.
DatelistUse
=
[
this
.
msg
.
DepartSTime
,
this
.
msg
.
DepartETime
]
this
.
DatelistUse
=
[
this
.
msg
.
DepartSTime
,
this
.
msg
.
DepartETime
]
this
.
msg
.
OrderState
=
'0'
}
},
mounted
()
{
this
.
Title
=
this
.
pagesTitle
if
(
this
.
Title
!=
'销售'
){
this
.
getEmployee
()
}
}
// this.GetOrderStatusEnumList()//订单状态
// this.GetOrderStatusEnumList()//订单状态
// this.GetTicketStatusEnumList()//出票状态
// this.GetTicketStatusEnumList()//出票状态
...
...
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