Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王水玲
9 years ago
Commit
bc8b608fc7b8c38c6538fe68137aad12b5cf9efe
2 parents
8ca83798
845dedac
Merge branch 'feature/installment2a' into feature/buryingPoint
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
apps/home/views/action/installment/repayment-list.hbs
public/js/home/repayment-list.page.js
apps/home/views/action/installment/repayment-list.hbs
View file @
bc8b608
...
...
@@ -13,7 +13,7 @@
<input
id=
"list-
{{
key
}}
"
type=
"checkbox"
class=
"installment-check-btn"
{{#if
isChecked
}}
checked
{{/if}}
/>
<label
for=
"list-
{{
key
}}
"
>
<div
class=
"cont"
>
<p>
¥
{{
curr
NoFee
Amt
}}
</p>
<p>
¥
{{
currAmt
}}
</p>
<p>
【全
{{
stage
}}
期】
{{
billInfo
}}
</p>
</div>
</label>
...
...
public/js/home/repayment-list.page.js
View file @
bc8b608
...
...
@@ -50,10 +50,10 @@ $(CHECKBOX_SELECTOR + ':checkbox').click(function() {
billNo
=
$
(
self
).
parent
().
data
(
'billNo'
),
li
=
$
(
'li[data-bill-no='
+
billNo
+
']'
),
selection
=
li
.
find
(
'input:checked'
),
lastIndex
=
li
.
eq
(
0
).
index
(
);
lastIndex
=
li
.
eq
(
0
).
data
(
'currterm'
);
selection
.
parent
().
each
(
function
(
index
,
sel
)
{
var
key
=
$
(
sel
).
index
(
);
var
key
=
$
(
sel
).
data
(
'currterm'
);
if
((
key
+
1
)
-
lastIndex
>
1
)
{
isSkipped
=
true
;
...
...
Please
register
or
login
to post a comment