Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cauchy-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
cauchy-ui
Commits
2c5e3f95
Commit
2c5e3f95
authored
Jul 20, 2021
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付流水缺失问题
parent
6015ace2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
index.vue
src/views/pay/index.vue
+4
-2
No files found.
src/views/pay/index.vue
View file @
2c5e3f95
...
...
@@ -125,7 +125,6 @@ import {
queryPayInfo
,
kaGetNextUrl
}
from
'
@/api/pay.api.js
'
;
import
Cookies
from
'
@/service/cookieStorage.service
'
;
const
VCC_CHANNEL
=
localStorage
.
get
(
'
vccChannel
'
);
let
Current_Url
=
null
;
export
default
{
...
...
@@ -210,6 +209,7 @@ export default {
cookies
.
set
(
'
orderNo
'
,
{
orderNo
:
this
.
orderNo
});
if
(
this
.
$route
?.
query
?.
ocrflag
||
cookies
.
get
(
'
ocrflag
'
))
{
this
.
payInfo
=
cookies
.
get
(
'
info
'
)
||
{};
this
.
flowOrderNo
=
this
.
payInfo
?.
paramsData
?.
flowOrderNo
||
''
;
cookies
.
remove
(
'
ocrflag
'
);
cookies
.
remove
(
'
info
'
);
// 先支付再查询信息
...
...
@@ -225,7 +225,7 @@ export default {
async
queryPayInfo
()
{
const
[
data
,
error
]
=
await
queryPayInfo
({
orderNo
:
this
.
orderNo
});
if
(
error
&&
codeArr
.
indexOf
(
error
?.
response
?.
businessCode
)
<
0
)
{
//
this.payResult('Fail');
this
.
payResult
(
'
Fail
'
);
return
;
}
this
.
isReady
=
true
;
...
...
@@ -403,6 +403,7 @@ export default {
this
.
retrieveLink
();
return
;
}
console
.
log
(
params
,
'
params
'
);
const
paramsData
=
{
...
params
,
quitUrl
:
Current_Url
,
...
...
@@ -483,6 +484,7 @@ export default {
isCheckAgreement
:
this
.
isCheckAgreement
,
mergePayPretreatmentId
:
this
.
mergePayPretreatmentId
});
this
.
close
();
this
.
goOcr
();
}
},
...
...
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