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
Email Patches
Plain Diff
Browse Files
Authored by
Aiden Xu
9 years ago
Commit
87ee160a31227b7947b91f02c6f7e5cc660c5d3a
1 parent
8e395aac
分期订单
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
apps/home/views/action/installment/order-detail.hbs
public/js/home/installment.order-detail.page.js
apps/home/views/action/installment/order-detail.hbs
View file @
87ee160
...
...
@@ -45,6 +45,7 @@
<input
id=
"sort-
{{
@index
}}
"
type=
"checkbox"
class=
"installment-check-btn installment-term"
data-order-code=
"
{{
..
/
orderCode
}}
"
data-curr-amt=
"
{{
currAmt
}}
"
data-sort-id=
"
{{
sortId
}}
"
data-fee=
"
{{
currFeeAmt
}}
"
data-delay-fee=
"
{{
currDealyFeeAmt
}}
"
...
...
public/js/home/installment.order-detail.page.js
View file @
87ee160
...
...
@@ -13,7 +13,7 @@ var repayment = new Repayment({
index
:
input
.
data
(
'sortId'
),
orderCode
:
input
.
data
(
'orderCode'
),
termNo
:
input
.
data
(
'sortId'
),
amount
:
parseFloat
(
input
.
data
(
'
amoun
t'
)),
amount
:
parseFloat
(
input
.
data
(
'
currAm
t'
)),
fee
:
parseFloat
(
input
.
data
(
'delayFee'
))
};
...
...
@@ -65,10 +65,12 @@ $(CHECKBOX_SELECTOR + ':checkbox').click(function() {
var
self
=
this
;
selection
.
forEach
(
function
(
sel
)
{
if
(
sel
.
index
-
lastIndex
>
1
)
{
var
index
=
sel
.
index
+
1
;
if
(
index
-
lastIndex
>
1
)
{
isSkipped
=
true
;
}
else
{
lastIndex
=
sel
.
index
;
lastIndex
=
index
;
}
});
...
...
Please
register
or
login
to post a comment