Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
56f175df
Commit
56f175df
authored
Sep 21, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
c7c0e2f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
confirmOrder.js
src/pages/confirmOrder/confirmOrder.js
+0
-4
No files found.
src/pages/confirmOrder/confirmOrder.js
View file @
56f175df
...
@@ -117,10 +117,6 @@ wxService.page({
...
@@ -117,10 +117,6 @@ wxService.page({
let
plusPrice
=
isSelect
?
plusMemberPrice
:
0
// plus
let
plusPrice
=
isSelect
?
plusMemberPrice
:
0
// plus
let
calCouponPrice
=
defalutCoupon
?
defalutCoupon
:
orderCoupon
let
calCouponPrice
=
defalutCoupon
?
defalutCoupon
:
orderCoupon
console
.
log
(
'优惠价'
,
orderCoupon
)
console
.
log
(
'默认优惠'
,
defalutCoupon
)
console
.
log
(
'参与计算coupon'
,
calCouponPrice
)
// 实际价格 - 优惠价 + plus
// 实际价格 - 优惠价 + plus
this
.
setData
({
this
.
setData
({
// orderPrice: Math.round(orderInitPrice - orderCoupon)
// orderPrice: Math.round(orderInitPrice - orderCoupon)
...
...
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