Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
12960b4479e7ab1d332391c7b487b03851fe541a
1 parent
c024c885
fix refund num bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
apps/me/models/order.js
apps/me/models/order.js
View file @
12960b4
...
...
@@ -278,11 +278,12 @@ const _getUserOrder = (uid, type, page) => {
good
.
returnUrl
=
helpers
.
urlFormat
(
'/me/return'
);
// 判断该订单是否可以退换货
}
else
if
(
good
.
buyNumber
!==
good
.
refund
)
{
}
else
if
(
good
.
buyNumber
!==
good
.
refund
Num
)
{
canRefund
=
true
;
}
});
item
.
showRefund
=
hasRefund
;
item
.
hideChange
=
!
canRefund
;
...
...
Please
register
or
login
to post a comment