Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
hrs_app_h5
/
bill
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d1e3a6a4
authored
Oct 16, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
每次进入时把当前账期索引清零
parent
ead364d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
src/views/Bill/index.vue
src/views/Bill/index.vue
View file @
d1e3a6a4
...
...
@@ -477,16 +477,11 @@ export default {
},
initMonth
()
{
const
localPerIndex
=
this
.
getCurPerIndex
;
localPerIndex
=
0
;
if
(
localPerIndex
&&
localPerIndex
!=
"undefined"
)
{
localPerIndex
=
localPerIndex
>
this
.
period
.
length
-
1
?
this
.
period
.
length
-
1
:
localPerIndex
;
localPerIndex
=
localPerIndex
>
this
.
period
.
length
-
1
?
0
:
localPerIndex
;
this
.
currentPerIndex
=
localPerIndex
;
this
.
currentPerId
=
this
.
period
[
localPerIndex
].
id
;
if
(
this
.
currentPerId
==
'2958927'
){
const
VConsole
=
require
(
'vconsole'
)
const
my_console
=
new
VConsole
();
}
this
.
currentPerName
=
this
.
period
[
localPerIndex
].
name
;
this
.
savePerBeginDate
(
this
.
period
[
localPerIndex
].
beginDate
);
}
else
{
...
...
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