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
106c0abe
Commit
106c0abe
authored
May 13, 2020
by
程南
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单详情bug修改
parent
a8434c92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
orderDetail.js
src/pages/orderDetail/orderDetail.js
+9
-8
project.config.json
src/project.config.json
+7
-0
No files found.
src/pages/orderDetail/orderDetail.js
View file @
106c0abe
...
...
@@ -84,14 +84,15 @@ wxService.page({
item
.
canRefundNum
=
(
item
.
count
-
item
.
refundCount
)
>=
0
?
(
item
.
count
-
item
.
refundCount
)
:
0
;
sum
=
sum
+
item
.
price
*
item
.
count
;
});
if
(
data
.
order
.
wechatCouponPrice
){
data
.
order
.
wechatCouponPrice
=
data
.
order
.
wechatCouponPrice
/
10
/
10
;
data
.
payAmount
=
(
data
.
payAmount
*
1
)
-
(
data
.
order
.
wechatCouponPrice
*
1
)
}
if
(
data
.
order
.
postCouponDisCount
){
data
.
order
.
postCouponDisCount
=
data
.
order
.
postCouponDisCount
/
10
/
10
;
if
(
data
.
order
){
if
(
data
.
order
.
wechatCouponPrice
)
{
data
.
order
.
wechatCouponPrice
=
data
.
order
.
wechatCouponPrice
/
10
/
10
;
data
.
payAmount
=
(
data
.
payAmount
*
1
)
-
(
data
.
order
.
wechatCouponPrice
*
1
)
}
if
(
data
.
order
.
postCouponDisCount
)
{
data
.
order
.
postCouponDisCount
=
data
.
order
.
postCouponDisCount
/
10
/
10
;
}
}
...
...
src/project.config.json
View file @
106c0abe
...
...
@@ -687,6 +687,13 @@
"pathName"
:
"subPackage/page/pages/couponCenterInfo/couponCenterInfo"
,
"query"
:
"id=708696469342916608"
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"支付券信息"
,
"pathName"
:
"subPackageA/page/pages/payCardInfo/payCardInfo"
,
"query"
:
"id=710195552385654784"
,
"scene"
:
null
}
]
}
...
...
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