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
29dc5359
Commit
29dc5359
authored
Sep 19, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微信地址
parent
42664357
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
confirmOrder.js
src/pages/confirmOrder/confirmOrder.js
+6
-3
No files found.
src/pages/confirmOrder/confirmOrder.js
View file @
29dc5359
...
...
@@ -296,13 +296,13 @@ wxService.page({
})
},
handelGobuy
()
{
const
{
trolleySku2Buy
,
couponId
,
addressInfo
}
=
this
.
data
const
{
trolleySku2Buy
,
couponId
,
addressId
,
addressInfo
}
=
this
.
data
let
params
=
{
couponId
,
trolleySku2Buy
,
addressId
:
addressI
nfo
.
id
addressId
:
addressI
d
?
addressId
:
addressInfo
.
id
// 微信地址 or 地址
id
}
this
.
getBill
(
params
)
// 下单
},
// 下单
...
...
@@ -398,6 +398,9 @@ wxService.page({
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
wx
.
hideLoading
()
this
.
setData
({
addressId
:
data
})
}
}).
finally
(()
=>
{
wx
.
hideLoading
()
...
...
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