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
e8305e49
Commit
e8305e49
authored
Nov 21, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务简易报表新增跳转
parent
efc37be8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
11 deletions
+23
-11
AirTicketLoss.vue
src/components/FinancialModule/ReportForm/AirTicketLoss.vue
+19
-11
EasyReport.vue
src/components/FinancialModule/ReportForm/EasyReport.vue
+4
-0
No files found.
src/components/FinancialModule/ReportForm/AirTicketLoss.vue
View file @
e8305e49
...
...
@@ -125,18 +125,26 @@ export default {
},
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
;
if
(
this
.
$route
.
query
.
startDate
&&
this
.
$route
.
query
.
endDate
){
let
startDate
=
this
.
$route
.
query
.
startDate
;
let
endDate
=
this
.
$route
.
query
.
endDate
;
this
.
value1
.
push
(
startDate
,
endDate
);
}
else
{
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
;
}
let
startDate
=
[
year
,
month
,
1
].
join
(
'-'
);
let
endDate
=
[
year
,
month
,
monthLast
].
join
(
'-'
);
this
.
value1
.
push
(
startDate
,
endDate
);
}
var
startDate
=
[
year
,
month
,
1
].
join
(
'-'
);
var
endDate
=
[
year
,
month
,
monthLast
].
join
(
'-'
);
this
.
value1
.
push
(
startDate
,
endDate
);
this
.
getList
();
}
}
...
...
src/components/FinancialModule/ReportForm/EasyReport.vue
View file @
e8305e49
...
...
@@ -868,6 +868,7 @@ export default {
}
else
{
endDate
=
that
.
year
+
"-"
+
column
.
end
}
if
(
rowIndex
<
9
){
// 联运收入
if
(
rowData
.
ZhaiYao
==
"联运收入"
){
...
...
@@ -913,6 +914,9 @@ export default {
}
}
else
if
(
rowData
.
ZhaiYao
==
"歐洲與南亞損失分攤"
){
that
.
goUrl
(
"AirTicketLoss"
,
startDate
,
endDate
,
BranchId
,
"机票分摊"
)
}
else
{
that
.
GoUrlFan
(
'JumpReport'
,
month
,
rowData
.
Year
,
rowData
.
BranchId
,
rowData
.
CostIds
)
}
...
...
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