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
0c76a79d
Commit
0c76a79d
authored
Jun 21, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
9a7ca8b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
24 deletions
+46
-24
AirTicketLoss.vue
src/components/FinancialModule/ReportForm/AirTicketLoss.vue
+40
-21
TeamRevenueReport.vue
...mponents/FinancialModule/ReportForm/TeamRevenueReport.vue
+6
-3
No files found.
src/components/FinancialModule/ReportForm/AirTicketLoss.vue
View file @
0c76a79d
...
@@ -6,22 +6,28 @@
...
@@ -6,22 +6,28 @@
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"AirTicketApp"
style=
"padding-bottom:20px"
>
<div
class=
"AirTicketApp"
style=
"padding-bottom:20px"
>
<div
class=
"Header"
>
<div
class=
"Header"
style=
"display: flex;flex-wrap: nowrap; justify-content: space-between;padding: 10px 0;"
>
<el-col
:span=
"8"
style=
"margin:10px 0"
>
<div
style=
"flex-shrink: 0; display: flex;align-items: center; flex-wrap: nowrap;"
>
<el-date-picker
<el-date-picker
v-model=
"value1"
v-model=
"value1"
type=
"daterange"
type=
"daterange"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-date-picker>
</el-col>
<button
style=
"margin-top:15px"
class=
"normalBtn"
@
click=
"getList"
>
查询
</button>
<button
class=
"normalBtn"
@
click=
"getList"
>
查询
</button>
<button
style=
"margin-top:15px"
class=
"hollowFixedBtn"
@
click=
"Export"
>
导出
</button>
<button
class=
"hollowFixedBtn"
@
click=
"Export"
>
导出
</button>
</div>
<div
v-if=
"LossIncomeList&&LossIncomeList.length>0"
style=
"display: flex;flex-wrap: wrap;flex-grow: 1;margin-left: 20px;justify-content: end;"
>
<div>
<span
style=
"line-height: 60px;font-size: 13px;"
>
机损增收:
</span>
<el-tag
v-for=
"(x,index) in LossIncomeList"
:key=
"index"
@
click=
"goUrl(x)"
style=
"margin-left: 5px;margin-top: 2px;margin-bottom: 2px; cursor: pointer;"
>
{{
x
.
LineName
}}
/
{{
x
.
AirLossIncome
}}
</el-tag>
</div>
</div>
</div>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
...
@@ -47,6 +53,7 @@
...
@@ -47,6 +53,7 @@
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
LossIncomeList
:[],
loading
:
false
,
loading
:
false
,
ColNameList
:[],
ColNameList
:[],
LossList
:[],
LossList
:[],
...
@@ -62,6 +69,17 @@ export default {
...
@@ -62,6 +69,17 @@ export default {
},
created
(){
},
created
(){
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
},
methods
:{
},
methods
:{
goUrl
(
x
){
this
.
$router
.
push
({
name
:
'TeamRevenueReport'
,
query
:
{
StartTime
:
this
.
msg
.
StartTime
,
EndTime
:
this
.
msg
.
EndTime
,
LineId
:
x
.
LineId
,
blank
:
"y"
,
}
})
},
Export
(){
Export
(){
let
msg
=
this
.
msg
;
let
msg
=
this
.
msg
;
...
@@ -80,7 +98,7 @@ export default {
...
@@ -80,7 +98,7 @@ export default {
}
}
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
'financestatistics_post_GetCompamyAirTicketRatioList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'financestatistics_post_GetCompamyAirTicketRatioList'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
@@ -88,8 +106,9 @@ export default {
...
@@ -88,8 +106,9 @@ export default {
this
.
Rlist
=
res
.
data
.
data
.
Rlist
;
this
.
Rlist
=
res
.
data
.
data
.
Rlist
;
this
.
LossList
=
res
.
data
.
data
.
LossList
[
0
].
LossTL
;
this
.
LossList
=
res
.
data
.
data
.
LossList
[
0
].
LossTL
;
this
.
SunMoney
=
res
.
data
.
data
.
LossList
[
0
].
TotalMoney
;
this
.
SunMoney
=
res
.
data
.
data
.
LossList
[
0
].
TotalMoney
;
this
.
LossIncomeList
=
res
.
data
.
data
.
LossIncomeList
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
this
.
loading
=
false
;
this
.
loading
=
false
;
},
err
=>
{})
},
err
=>
{})
...
@@ -119,10 +138,10 @@ export default {
...
@@ -119,10 +138,10 @@ export default {
}
}
});
});
}
}
}
}
}
}
},
mounted
(){
},
mounted
(){
//默认查询当月第一个到最后一天日期
//默认查询当月第一个到最后一天日期
if
(
this
.
$route
.
query
.
startDate
&&
this
.
$route
.
query
.
endDate
){
if
(
this
.
$route
.
query
.
startDate
&&
this
.
$route
.
query
.
endDate
){
...
@@ -144,7 +163,7 @@ export default {
...
@@ -144,7 +163,7 @@ export default {
this
.
value1
.
push
(
startDate
,
endDate
);
this
.
value1
.
push
(
startDate
,
endDate
);
}
}
this
.
getList
();
this
.
getList
();
}
}
}
}
...
...
src/components/FinancialModule/ReportForm/TeamRevenueReport.vue
View file @
0c76a79d
...
@@ -2132,9 +2132,12 @@ export default {
...
@@ -2132,9 +2132,12 @@ export default {
mounted
()
{
mounted
()
{
let
STime
=
this
.
getBeforeDate
(
31
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
let
STime
=
this
.
getBeforeDate
(
31
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
let
ETime
=
this
.
getBeforeDate
(
0
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
let
ETime
=
this
.
getBeforeDate
(
0
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
this
.
productionDate
=
[
STime
,
ETime
]
if
(
!
this
.
msg
.
startDate
){
this
.
msg
.
startDate
=
this
.
productionDate
[
0
];
this
.
productionDate
=
[
STime
,
ETime
]
this
.
msg
.
endDate
=
this
.
productionDate
[
1
];
this
.
msg
.
startDate
=
this
.
productionDate
[
0
];
this
.
msg
.
endDate
=
this
.
productionDate
[
1
];
}
let
allH
,
allW
,
cH
,
cW
;
let
allH
,
allW
,
cH
,
cW
;
allH
=
document
.
documentElement
.
clientHeight
;
allH
=
document
.
documentElement
.
clientHeight
;
allW
=
document
.
documentElement
.
clientWidth
;
allW
=
document
.
documentElement
.
clientWidth
;
...
...
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