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
263c8da2
Commit
263c8da2
authored
Jul 23, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增机票分摊详情
parent
45087608
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
738 additions
and
7 deletions
+738
-7
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+4
-2
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+5
-1
AirTicketLoss.vue
src/components/FinancialModule/ReportForm/AirTicketLoss.vue
+39
-4
AirTicketLossDetail.vue
...onents/FinancialModule/ReportForm/AirTicketLossDetail.vue
+682
-0
config.js
src/router/config.js
+8
-0
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
263c8da2
...
@@ -319,7 +319,10 @@
...
@@ -319,7 +319,10 @@
<p>
附加说明:
<span
class=
"fr"
v-if=
"GetDetail.ComplainID > 0"
@
click=
"goUrl('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"
>
<span
style=
"color:#000"
>
投诉单号:
</span>
<span
class=
"cursorpointer text-decoration"
>
{{GetDetail.ComplainID}}
</span></span></p>
<p>
附加说明:
<span
class=
"fr"
v-if=
"GetDetail.ComplainID > 0"
@
click=
"goUrl('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"
>
<span
style=
"color:#000"
>
投诉单号:
</span>
<span
class=
"cursorpointer text-decoration"
>
{{GetDetail.ComplainID}}
</span></span></p>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
v-if=
"GetDetail.TCIDAndTCNUMList.length>0"
>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
v-if=
"GetDetail.TCIDAndTCNUMList.length>0"
>
<tr
v-for=
"(o,ox) in GetDetail.TCIDAndTCNUMList"
class=
"_fujiashuoming_tr"
>
<tr
v-for=
"(o,ox) in GetDetail.TCIDAndTCNUMList"
class=
"_fujiashuoming_tr"
>
<td
:colspan=
"4"
>
{{o.TCNUM}}({{o.TCID}})
</td>
<td
:colspan=
"3"
>
{{o.TCNUM}}({{o.TCID}})
<span
v-if=
"GetDetail.IsShowPlanUrl === 1"
style=
"margin-left:20px;"
>
旅客意见/{{o.GuestSurveyNum}}份
</span>
</td>
<td
@
click=
"jumpPage('TravelControlList',o.TCNUM,1)"
>
<span
class=
"_jump_page _font_bold"
>
查看团队
</span>
</td>
<td
@
click=
"jumpPage('TravelControlList',o.TCNUM,1)"
>
<span
class=
"_jump_page _font_bold"
>
查看团队
</span>
</td>
<td
@
click=
"jumpPage('RegistrationList',o.TCID,7)"
>
<span
class=
"_jump_page _font_bold"
>
查看报名
</span>
</td>
<td
@
click=
"jumpPage('RegistrationList',o.TCID,7)"
>
<span
class=
"_jump_page _font_bold"
>
查看报名
</span>
</td>
<td
@
click=
"GetDetail.TCIDAndTCNUMList.length==1?jumpPage('TeamBalancePayment',o.TCID,5):jumpPage('TeamBalancePayment',o.TCID,6)"
>
<span
class=
"_jump_page _font_bold"
>
团队收支
</span>
</td>
<td
@
click=
"GetDetail.TCIDAndTCNUMList.length==1?jumpPage('TeamBalancePayment',o.TCID,5):jumpPage('TeamBalancePayment',o.TCID,6)"
>
<span
class=
"_jump_page _font_bold"
>
团队收支
</span>
</td>
...
@@ -2265,7 +2268,6 @@ export default {
...
@@ -2265,7 +2268,6 @@ export default {
this
.
GetDetail
=
data
;
this
.
GetDetail
=
data
;
this
.
showModel
=
true
this
.
showModel
=
true
this
.
FrID
=
data
.
FrID
this
.
FrID
=
data
.
FrID
console
.
log
(
this
.
GetDetail
,
'GetDetail.OrderId'
);
this
.
ChongDiMsg
.
Types
=
''
this
.
ChongDiMsg
.
Types
=
''
this
.
ChongDiMsg
.
ClientType
=
data
.
Type
===
2
?
data
.
ClientType
:
''
this
.
ChongDiMsg
.
ClientType
=
data
.
Type
===
2
?
data
.
ClientType
:
''
this
.
ChongDiMsg
.
ClientID
=
data
.
Type
===
2
?
data
.
ClientID
:
''
this
.
ChongDiMsg
.
ClientID
=
data
.
Type
===
2
?
data
.
ClientID
:
''
...
...
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
263c8da2
...
@@ -383,7 +383,10 @@
...
@@ -383,7 +383,10 @@
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
v-if=
"GetDetail.TCIDAndTCNUMList.length>0"
>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
v-if=
"GetDetail.TCIDAndTCNUMList.length>0"
>
<tr
v-for=
"(o,ox) in GetDetail.TCIDAndTCNUMList"
class=
"_fujiashuoming_tr"
>
<tr
v-for=
"(o,ox) in GetDetail.TCIDAndTCNUMList"
class=
"_fujiashuoming_tr"
>
<td
:colspan=
"4"
v-if=
"GetDetail.Is_Merge===1"
>
单据号:
{{
o
.
FinanceId
}}
</td>
<td
:colspan=
"4"
v-if=
"GetDetail.Is_Merge===1"
>
单据号:
{{
o
.
FinanceId
}}
</td>
<td
:colspan=
"4"
>
{{
o
.
TCNUM
}}
(
{{
o
.
TCID
}}
)
</td>
<td
:colspan=
"3"
>
{{
o
.
TCNUM
}}
(
{{
o
.
TCID
}}
)
<span
v-if=
"GetDetail.IsShowPlanUrl === 1"
style=
"margin-left:20px;"
>
旅客意见/
{{
o
.
GuestSurveyNum
}}
份
</span>
</td>
<td
@
click=
"jumpPage('TravelControlList',o.TCNUM,1)"
>
<span
class=
"_jump_page _font_bold"
>
查看团队
</span>
</td>
<td
@
click=
"jumpPage('TravelControlList',o.TCNUM,1)"
>
<span
class=
"_jump_page _font_bold"
>
查看团队
</span>
</td>
<td
@
click=
"jumpPage('RegistrationList',o.TCID,7)"
>
<span
class=
"_jump_page _font_bold"
>
查看报名
</span>
</td>
<td
@
click=
"jumpPage('RegistrationList',o.TCID,7)"
>
<span
class=
"_jump_page _font_bold"
>
查看报名
</span>
</td>
<td
@
click=
"GetDetail.TCIDAndTCNUMList.length==1?jumpPage('TeamBalancePayment',o.TCID,5):jumpPage('TeamBalancePayment',o.TCID,6)"
>
<span
class=
"_jump_page _font_bold"
>
团队收支
</span>
</td>
<td
@
click=
"GetDetail.TCIDAndTCNUMList.length==1?jumpPage('TeamBalancePayment',o.TCID,5):jumpPage('TeamBalancePayment',o.TCID,6)"
>
<span
class=
"_jump_page _font_bold"
>
团队收支
</span>
</td>
...
@@ -1303,6 +1306,7 @@ export default {
...
@@ -1303,6 +1306,7 @@ export default {
this
.
FrID
=
this
.
GetDetail
.
FrID
;
this
.
FrID
=
this
.
GetDetail
.
FrID
;
this
.
SourceID
=
this
.
GetDetail
.
SourceID
;
this
.
SourceID
=
this
.
GetDetail
.
SourceID
;
this
.
Callback
=
this
.
GetDetail
.
Callback
;
this
.
Callback
=
this
.
GetDetail
.
Callback
;
// 拼接团号显示团信息
// 拼接团号显示团信息
let
str
=
''
;
let
str
=
''
;
if
(
data
.
TCIDList
.
length
>
0
){
if
(
data
.
TCIDList
.
length
>
0
){
...
...
src/components/FinancialModule/ReportForm/AirTicketLoss.vue
View file @
263c8da2
<
style
>
<
style
>
.AirClick
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"AirTicketApp"
>
<div
class=
"AirTicketApp"
>
...
@@ -26,6 +29,11 @@
...
@@ -26,6 +29,11 @@
<th
v-if=
"index!=0 && index!=ColNameList.length"
colspan=
"2"
v-for=
"(item,index) in ColNameList"
:key=
"index"
>
{{
item
}}
</th>
<th
v-if=
"index!=0 && index!=ColNameList.length"
colspan=
"2"
v-for=
"(item,index) in ColNameList"
:key=
"index"
>
{{
item
}}
</th>
<th
v-if=
"index==ColNameList.length"
v-for=
"(item,index) in ColNameList"
:key=
"index"
>
{{
item
}}
</th>
<th
v-if=
"index==ColNameList.length"
v-for=
"(item,index) in ColNameList"
:key=
"index"
>
{{
item
}}
</th>
</tr>
</tr>
<tr>
<td></td>
<td
v-for=
"item in LossList"
:class=
"
{'AirClick':item.Value!='损失占比'}" @click="goToDetail(item)">
{{
item
.
Value
}}
</td>
<td>
{{
SunMoney
}}
</td>
</tr>
<tr
v-for=
"(item,index) in Rlist"
:key=
"index"
>
<tr
v-for=
"(item,index) in Rlist"
:key=
"index"
>
<td>
{{
item
.
BranchName
}}
</td>
<td>
{{
item
.
BranchName
}}
</td>
<td
v-for=
"(cl,index) in item.LossTL"
:key=
"index"
>
{{
cl
}}
</td>
<td
v-for=
"(cl,index) in item.LossTL"
:key=
"index"
>
{{
cl
}}
</td>
...
@@ -41,8 +49,10 @@ export default {
...
@@ -41,8 +49,10 @@ export default {
return
{
return
{
loading
:
false
,
loading
:
false
,
ColNameList
:[],
ColNameList
:[],
LossList
:[],
SunMoney
:
0
,
Rlist
:[],
Rlist
:[],
value1
:
""
,
value1
:
[]
,
msg
:{
msg
:{
StartTime
:
""
,
StartTime
:
""
,
EndTime
:
""
,
EndTime
:
""
,
...
@@ -76,16 +86,41 @@ export default {
...
@@ -76,16 +86,41 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ColNameList
=
res
.
data
.
data
.
ColNameList
;
this
.
ColNameList
=
res
.
data
.
data
.
ColNameList
;
this
.
Rlist
=
res
.
data
.
data
.
Rlist
;
this
.
Rlist
=
res
.
data
.
data
.
Rlist
;
this
.
LossList
=
res
.
data
.
data
.
LossList
[
0
].
LossTL
;
this
.
SunMoney
=
res
.
data
.
data
.
LossList
[
0
].
TotalMoney
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
this
.
loading
=
false
;
this
.
loading
=
false
;
},
err
=>
{})
},
err
=>
{})
},
},
//跳转至详情
goToDetail
(
item
){
if
(
item
.
Value
!=
'损失占比'
){
this
.
$router
.
push
({
name
:
'AirTicketLossDetail'
,
query
:
{
msg
:
JSON
.
stringify
(
item
),
blank
:
"y"
,
}
});
}
}
},
mounted
(){
},
mounted
(){
//默认查询当月第一个到最后一天日期
var
now
=
new
Date
();
var
month
=
now
.
getMonth
()
+
1
;
//js获取到的是月份是 0-11 所以要加1
var
year
=
now
.
getFullYear
();
var
nextMonthFirstDay
=
new
Date
([
year
,
month
+
1
,
1
].
join
(
'-'
)).
getTime
();
var
oneDay
=
1000
*
24
*
60
*
60
;
var
monthLast
=
new
Date
(
nextMonthFirstDay
-
oneDay
).
getDate
()
if
(
month
<
10
){
month
=
'0'
+
month
;
}
var
startDate
=
[
year
,
month
,
1
].
join
(
'-'
);
var
endDate
=
[
year
,
month
,
monthLast
].
join
(
'-'
);
this
.
value1
.
push
(
startDate
,
endDate
);
this
.
getList
();
this
.
getList
();
}
}
}
}
...
...
src/components/FinancialModule/ReportForm/AirTicketLossDetail.vue
0 → 100644
View file @
263c8da2
This diff is collapsed.
Click to expand it.
src/router/config.js
View file @
263c8da2
...
@@ -2977,6 +2977,14 @@ export default {
...
@@ -2977,6 +2977,14 @@ export default {
title
:
'机票损失分摊'
title
:
'机票损失分摊'
},
},
},
},
{
//财务 机票损失分摊详情
path
:
'/AirTicketLossDetail'
,
name
:
'AirTicketLossDetail'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/ReportForm/AirTicketLossDetail'
],
resolve
),
meta
:
{
title
:
'机票损失分摊详情'
},
},
{
//财务 报表 团队人数统计
{
//财务 报表 团队人数统计
path
:
'/NumberStatistics'
,
path
:
'/NumberStatistics'
,
name
:
'NumberStatistics'
,
name
:
'NumberStatistics'
,
...
...
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