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
毕凯
2017-09-01 15:07:48 +0800
Commit
e319b5e9b8f77995a8a0320aa9030d32d52227f8
2 parents
3eb5b476
1fa54ab8
Merge branch 'hotfix/pay' into 'master'
order-btn-fuck See merge request
!856
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
apps/home/models/order.js
apps/home/models/orderDetail.js
doraemon/views/partial/order/order-btns.hbs
apps/home/models/order.js
View file @
e319b5e
...
...
@@ -116,7 +116,9 @@ const _getOrderStatus = (order) => {
return
{};
}
if
(
parseInt
(
order
.
attribute
,
10
)
===
9
)
{
let
attribute
=
_
.
parseInt
(
order
.
attribute
);
if
(
attribute
===
9
||
attribute
===
11
)
{
/* 预售商品,不能进行任何操作 */
orderBtn
.
push
({
isAdvance
:
true
...
...
apps/home/models/orderDetail.js
View file @
e319b5e
...
...
@@ -57,7 +57,9 @@ const _getOrderStatus = (order, showLogistics) => {
return
{};
}
if
(
parseInt
(
order
.
attribute
,
10
)
===
9
)
{
let
attribute
=
_
.
parseInt
(
order
.
attribute
);
if
(
attribute
===
9
||
attribute
===
11
)
{
/* 预售商品,不能进行任何操作 */
orderBtn
.
push
({
isAdvance
:
true
...
...
doraemon/views/partial/order/order-btns.hbs
View file @
e319b5e
...
...
@@ -6,7 +6,7 @@
<li><span
class=
"hours"
>
{{
leftTime
}}
</span></li>
</ul>
{{else
if
isAdvance
}}
<span
class=
"order-opt-info"
>
*
定金预售
订单只能在APP端操作
</span>
<span
class=
"order-opt-info"
>
*
此
订单只能在APP端操作
</span>
{{else
if
refundApply
}}
<span
class=
"btn refund"
>
申请退款
</span>
{{else
if
modifyAddress
}}
...
...
Please
register
or
login
to post a comment