Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mongo-ui
Commits
084a3270
Commit
084a3270
authored
Aug 28, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 支付流程优化
parent
3e824f6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
detailPay.mixin.js
src/views/Goods/Detail/modules/detailPay.mixin.js
+0
-7
index.vue
src/views/Policy/PayWaiting/index.vue
+2
-0
No files found.
src/views/Goods/Detail/modules/detailPay.mixin.js
View file @
084a3270
...
@@ -34,7 +34,6 @@ export default {
...
@@ -34,7 +34,6 @@ export default {
},
},
async
goPay
()
{
async
goPay
()
{
this
.
setIsLoading
(
false
);
this
.
setIsLoading
(
false
);
// let isThird = false;
const
{
tradeType
,
orderInfo
,
openId
}
=
this
;
const
{
tradeType
,
orderInfo
,
openId
}
=
this
;
const
{
payOrderNo
,
payType
}
=
orderInfo
;
const
{
payOrderNo
,
payType
}
=
orderInfo
;
if
(
!
payOrderNo
)
{
if
(
!
payOrderNo
)
{
...
@@ -73,13 +72,7 @@ export default {
...
@@ -73,13 +72,7 @@ export default {
state
:
1
state
:
1
}
}
};
};
// isThird = true;
}
}
// if (isThird && isWeixinBrower) {
// this.setIsPayWait(false);
// this.setIsShowOpenBrower(true);
// return;
// }
payByWay
(
tradeType
,
payInfo
)
payByWay
(
tradeType
,
payInfo
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
getPayResult
();
this
.
getPayResult
();
...
...
src/views/Policy/PayWaiting/index.vue
View file @
084a3270
...
@@ -23,10 +23,12 @@ export default {
...
@@ -23,10 +23,12 @@ export default {
// }
// }
this
.
setIsPayWait
(
true
);
this
.
setIsPayWait
(
true
);
this
.
orderInfo
=
this
.
$route
.
query
;
this
.
orderInfo
=
this
.
$route
.
query
;
// 如果存在isXyqb,同时当前不是在信用钱包环境,或众安第三方支付
if
(
this
.
orderInfo
.
isXyqb
==
1
&&
(
!
isXyqb
||
this
.
orderInfo
.
third
))
{
if
(
this
.
orderInfo
.
isXyqb
==
1
&&
(
!
isXyqb
||
this
.
orderInfo
.
third
))
{
window
.
location
.
href
=
"
xyqb://my
"
;
window
.
location
.
href
=
"
xyqb://my
"
;
return
;
return
;
}
}
// 没有订单信息的情况
if
(
!
this
.
orderInfo
.
payOrderNo
)
{
if
(
!
this
.
orderInfo
.
payOrderNo
)
{
this
.
$notify
({
type
:
"
warning
"
,
message
:
"
正在跳转...
"
});
this
.
$notify
({
type
:
"
warning
"
,
message
:
"
正在跳转...
"
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
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