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
aa750e66
Commit
aa750e66
authored
Jun 13, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单据 提成详情跳转优化
parent
d852e1d4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
143 additions
and
189 deletions
+143
-189
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+81
-107
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+62
-82
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
aa750e66
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
aa750e66
...
@@ -844,8 +844,8 @@
...
@@ -844,8 +844,8 @@
@
click=
"goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"
>
电商出库单:
{{
GetDetail
.
ReFinanceId
}}
</span>
@
click=
"goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"
>
电商出库单:
{{
GetDetail
.
ReFinanceId
}}
</span>
<span
class=
"fr"
style=
"text-decoration: underline;cursor: pointer;"
v-if=
"GetDetail.OtherType==17"
<span
class=
"fr"
style=
"text-decoration: underline;cursor: pointer;"
v-if=
"GetDetail.OtherType==17"
@
click=
"lookbreakage(GetDetail.ReFinanceId)"
>
报损/报溢单:
{{
GetDetail
.
ReFinanceId
}}
</span>
@
click=
"lookbreakage(GetDetail.ReFinanceId)"
>
报损/报溢单:
{{
GetDetail
.
ReFinanceId
}}
</span>
<!-- (GetDetail.TemplateId==28 || GetDetail.TemplateId==30) && GetDetail.OtherType!=63 && GetDetail.OtherType!=64 -->
<span
<
!--
<
span
v-if=
"GetDetail.OtherType==48"
v-if=
"GetDetail.OtherType==48"
@
click=
"GoOPurl('OPsalesCommissiondetails',GetDetail)"
@
click=
"GoOPurl('OPsalesCommissiondetails',GetDetail)"
style=
"cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"
>
国内提成详情
</span>
style=
"cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"
>
国内提成详情
</span>
...
@@ -853,7 +853,6 @@
...
@@ -853,7 +853,6 @@
v-if=
"GetDetail.OtherType==43"
v-if=
"GetDetail.OtherType==43"
@
click=
"GoOPurl('domesticCommissiondetails',GetDetail)"
@
click=
"GoOPurl('domesticCommissiondetails',GetDetail)"
style=
"cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"
>
国内提成详情
</span>
style=
"cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"
>
国内提成详情
</span>
<!-- (GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState && GetDetail.OtherType!=63 && GetDetail.OtherType!=64 -->
<span
<span
v-if=
"GetDetail.OtherType==73"
v-if=
"GetDetail.OtherType==73"
@
click=
"GoOPurl('OpComPersonDetails',GetDetail)"
@
click=
"GoOPurl('OpComPersonDetails',GetDetail)"
...
@@ -862,6 +861,15 @@
...
@@ -862,6 +861,15 @@
v-if=
"GetDetail.OtherType==72"
v-if=
"GetDetail.OtherType==72"
@
click=
"GoOPurl('TradeTicketDetails',GetDetail)"
@
click=
"GoOPurl('TradeTicketDetails',GetDetail)"
style=
"cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"
>
出境提成详情
</span>
style=
"cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"
>
出境提成详情
</span>
-->
<!-- 排除机票订单、票务提成、单项订单 -->
<span
v-if=
"GetDetail.OtherType!=55 && GetDetail.OtherType!=56 && GetDetail.OtherType!=57
&& GetDetail.OtherType!=61 && GetDetail.OtherType!=62 && GetDetail.OtherType!=66
&& GetDetail.OtherType!=67 && GetDetail.OtherType!=68"
@
click=
"GoRoyaltyUrl(GetDetail)"
style=
"cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"
>
提成详情
</span>
<span
v-if=
"CostTypeState"
@
click=
"GourlCostType('VisitRecord',1)"
<span
v-if=
"CostTypeState"
@
click=
"GourlCostType('VisitRecord',1)"
style=
"margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"
>
拜访记录
</span>
style=
"margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"
>
拜访记录
</span>
<span
v-if=
"CostTypeState"
@
click=
"GourlCostType('yingyanMap',2)"
<span
v-if=
"CostTypeState"
@
click=
"GourlCostType('yingyanMap',2)"
...
@@ -896,10 +904,11 @@
...
@@ -896,10 +904,11 @@
<div
v-if=
"GetDetail.OtherType==67||GetDetail.OtherType==68"
class=
"illustrate-right fygsbumen-box-right"
<div
v-if=
"GetDetail.OtherType==67||GetDetail.OtherType==68"
class=
"illustrate-right fygsbumen-box-right"
@
click=
"ImpressionSingleDetails('CharterOrderListOP')"
>
{{
'单项车订单:'
+
GetDetail
.
ReFinanceId
}}
</div>
@
click=
"ImpressionSingleDetails('CharterOrderListOP')"
>
{{
'单项车订单:'
+
GetDetail
.
ReFinanceId
}}
</div>
<div
v-if=
"GetDetail.OtherType==63"
class=
"illustrate-right fygsbumen-box-right"
<!--
<div
v-if=
"GetDetail.OtherType==63"
class=
"illustrate-right fygsbumen-box-right"
@
click=
"ImpressionSingleCommissionDetails('ServiceCommissiondetails',1)"
>
{{
'单项销售提成详情'
}}
</div>
@
click=
"ImpressionSingleCommissionDetails('ServiceCommissiondetails',1)"
>
{{
'单项销售提成详情'
}}
</div>
<div
v-if=
"GetDetail.OtherType==64"
class=
"illustrate-right fygsbumen-box-right"
<div
v-if=
"GetDetail.OtherType==64"
class=
"illustrate-right fygsbumen-box-right"
@
click=
"ImpressionSingleCommissionDetails('ServiceCommissiondetails',2)"
>
{{
'单项OP提成详情'
}}
</div>
@
click=
"ImpressionSingleCommissionDetails('ServiceCommissiondetails',2)"
>
{{
'单项OP提成详情'
}}
</div>
-->
</div>
</div>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
...
@@ -1792,83 +1801,48 @@
...
@@ -1792,83 +1801,48 @@
query
:
obj
query
:
obj
});
});
},
},
Gourl
(
GetDetail
)
{
// 提成明细详情
if
(
GetDetail
.
OtherType
==
43
)
{
//9月9号新增 如果是43 就跳转到国内的详情 反之按之前的来用
GoRoyaltyUrl
(
GetDetail
)
{
this
.
$router
.
push
({
let
obj
=
{
name
:
'domesticCommissiondetails'
,
query
:
{
PeriodId
:
GetDetail
.
ReFinanceId
,
blank
:
"y"
,
tab
:
"国内销售提成详情"
}
});
}
else
if
(
GetDetail
.
OtherType
==
69
)
{
//跳转台湾提成的三级详情
this
.
$router
.
push
({
name
:
'domesticCommissiondetailsTW'
,
query
:
{
PeriodId
:
GetDetail
.
ReFinanceId
,
PeriodId
:
GetDetail
.
ReFinanceId
,
OutBranchId
:
GetDetail
.
RB_Branch_Id
,
RB_Branch_Id
:
null
,
OutBranchId
:
String
(
GetDetail
.
RB_Branch_Id
),
blank
:
"y"
,
blank
:
"y"
,
tab
:
"台湾销售提成详情"
tab
:
""
,
Type
:
null
,
}
}
});
let
path
=
''
if
(
GetDetail
.
OtherType
==
43
)
{
//9月9号新增 如果是43 就跳转到国内的详情 反之按之前的来用
obj
.
tab
=
"国内提成详情"
path
=
'domesticCommissiondetails'
}
else
if
(
GetDetail
.
OtherType
==
48
){
}
else
if
(
GetDetail
.
OtherType
==
48
){
this
.
$router
.
push
({
obj
.
tab
=
"国内OP提成详情"
name
:
'OPsalesCommissiondetails'
,
path
=
'OPsalesCommissiondetails'
query
:
{
}
else
if
(
GetDetail
.
OtherType
==
63
||
GetDetail
.
OtherType
==
64
)
{
//单项提成详情
PeriodId
:
GetDetail
.
ReFinanceId
,
obj
.
tab
=
GetDetail
.
OtherType
==
63
?
"单项提成详情"
:
"单项OP提成详情"
OutBranchId
:
GetDetail
.
RB_Branch_Id
,
path
=
'ServiceCommissiondetails'
blank
:
"y"
obj
.
Type
=
GetDetail
.
OtherType
==
63
?
1
:
2
}
}
else
if
(
GetDetail
.
OtherType
==
69
)
{
//跳转台湾提成的三级详情 老版本
});
obj
.
tab
=
"台湾提成详情"
}
else
if
(
GetDetail
.
OtherType
==
73
){
path
=
'domesticCommissiondetailsTW'
this
.
$router
.
push
({
}
else
if
(
GetDetail
.
OtherType
==
70
)
{
//跳转台湾提成的三级详情 新版本
name
:
'OpComPersonDetails'
,
obj
.
tab
=
"台湾销售提成详情"
query
:
{
path
=
'domesticCommissiondetailsTW'
PeriodId
:
GetDetail
.
ReFinanceId
,
// if (GetDetail.ReFinanceId2 == 1) {
OutBranchId
:
GetDetail
.
RB_Branch_Id
,
// urlName = 'domesticCommissiondetailsTW'
blank
:
"y"
// }
}
// if (GetDetail.ReFinanceId2 == 2) {
});
// urlName = 'domesticCommissionUserTW'
}
else
if
(
GetDetail
.
OtherType
==
70
)
{
//跳转台湾提成的三级详情
// }
let
urlName
}
else
if
(
GetDetail
.
OtherType
==
72
)
{
//出境提成详情
if
(
GetDetail
.
ReFinanceId2
==
1
)
{
obj
.
tab
=
"出境提成详情"
urlName
=
'domesticCommissiondetailsTW'
path
=
'TradeTicketDetails'
}
obj
.
RB_Branch_Id
=
String
(
GetDetail
.
RB_Branch_Id
)
if
(
GetDetail
.
ReFinanceId2
==
2
)
{
obj
.
OutBranchId
=
null
urlName
=
'domesticCommissionUserTW'
}
this
.
$router
.
push
({
name
:
urlName
,
query
:
{
PeriodId
:
GetDetail
.
ReFinanceId
,
OutBranchId
:
GetDetail
.
RB_Branch_Id
,
blank
:
"y"
,
tab
:
"台湾销售提成详情"
}
});
}
else
if
(
GetDetail
.
OtherType
==
72
)
{
//同业提成详情
this
.
$router
.
push
({
name
:
'TradeTicketDetails'
,
query
:
{
PeriodId
:
GetDetail
.
ReFinanceId
,
// OutBranchId: GetDetail.RB_Branch_Id,
RB_Branch_Id
:
GetDetail
.
RB_Branch_Id
,
blank
:
"y"
,
tab
:
"同业提成详情"
}
});
}
else
if
(
GetDetail
.
OtherType
==
73
)
{
//OP提成详情
}
else
if
(
GetDetail
.
OtherType
==
73
)
{
//OP提成详情
this
.
$router
.
push
({
obj
.
tab
=
"出境OP提成详情"
name
:
'OpComPersonDetails'
,
path
=
'OpComPersonDetails'
query
:
{
}
else
{
PeriodId
:
GetDetail
.
ReFinanceId
,
OutBranchId
:
GetDetail
.
RB_Branch_Id
,
blank
:
"y"
,
tab
:
"同业提成明细"
}
});
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'CommissionDetail'
,
name
:
'CommissionDetail'
,
query
:
{
query
:
{
...
@@ -1879,6 +1853,12 @@
...
@@ -1879,6 +1853,12 @@
}
}
});
});
}
}
if
(
path
){
this
.
$router
.
push
({
name
:
path
,
query
:
obj
});
}
},
},
...
...
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