Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-front
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-front
Commits
053e8f3f
Commit
053e8f3f
authored
Mar 03, 2020
by
gaodapeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改直接收款的流程
parent
9e2ee8a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
+3
-17
home.js
pages/home/home.js
+3
-17
No files found.
pages/home/home.js
View file @
053e8f3f
...
@@ -81,23 +81,9 @@ Page({
...
@@ -81,23 +81,9 @@ Page({
});
});
}
else
if
(
res
.
action
==
ACTION_DIRECT_PAYMENT
)
{
}
else
if
(
res
.
action
==
ACTION_DIRECT_PAYMENT
)
{
//直接收款
//直接收款
my
.
ix
.
sendBuddyMessage
({
target
:
getApp
().
globalData
.
backScreenAppId
,
data
:
{
action
:
ACTION_DIRECT_PAYMENT
,
data
:
res
.
data
},
success
:
(
sres
)
=>
{
console
.
log
(
"通知后屏小程序跳转到结算页面 成功 ===》"
+
JSON
.
stringify
(
sres
));
//去结算页面
my
.
reLaunch
({
my
.
reLaunch
({
url
:
"/pages/balance/balance?totalPrice="
+
res
.
data
+
"&totalQuantity=0&totalDisc=0"
,
url
:
"/pages/balance/balance?totalPrice="
+
res
.
data
+
"&totalQuantity=0&totalDisc=0"
,
});
});
},
fail
:
(
fres
)
=>
{
console
.
log
(
"通知后屏小程序跳转到结算页面 失败 ===》 "
+
JSON
.
stringify
(
fres
));
}
})
}
else
if
(
res
.
action
==
ACTION_CONVERT_COUPON
)
{
}
else
if
(
res
.
action
==
ACTION_CONVERT_COUPON
)
{
//兑换券
//兑换券
context
.
setData
({
context
.
setData
({
...
...
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