Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
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
zhengke
jz_Travel
Commits
90b8e7b3
Commit
90b8e7b3
authored
Oct 13, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
de57d95a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
21 deletions
+42
-21
jz_MyOrder.vue
pages/jiuzhai/jz_MyOrder.vue
+14
-7
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+14
-7
jz_SureOrder.vue
pages/jiuzhai/jz_SureOrder.vue
+14
-7
No files found.
pages/jiuzhai/jz_MyOrder.vue
View file @
90b8e7b3
...
...
@@ -485,13 +485,20 @@ export default {
tradeNO
:
tradeNO
,
success
:
function
(
res
)
{
console
.
log
(
"success"
,
res
);
let
obj
=
{
TradeNo
:
tradeNO
,
OrderNo
:
item
.
orderNo
,
OrderId
:
item
.
orderId
,
preferPrice
:
item
.
preferPrice
,
};
that
.
payAliCallback
(
obj
);
if
(
res
.
resultCode
==
"9000"
)
{
let
obj
=
{
TradeNo
:
tradeNO
,
OrderNo
:
item
.
orderNo
,
OrderId
:
item
.
orderId
,
preferPrice
:
item
.
preferPrice
,
};
that
.
payAliCallback
(
obj
);
}
else
{
uni
.
showToast
({
title
:
"支付失败"
,
icon
:
"none"
,
});
}
},
fail
:
function
(
err
)
{
console
.
log
(
"fail:"
,
err
);
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
90b8e7b3
...
...
@@ -801,13 +801,20 @@ export default {
tradeNO
:
tradeNO
,
success
:
function
(
res
)
{
console
.
log
(
"success"
,
res
);
let
cbObj
=
{
TradeNo
:
tradeNO
,
OrderNo
:
data
.
OrderNo
,
OrderId
:
data
.
OrderId
,
preferPrice
:
data
.
PreferPrice
,
};
that
.
payAliCallback
(
cbObj
);
if
(
res
.
resultCode
==
"9000"
)
{
let
cbObj
=
{
TradeNo
:
tradeNO
,
OrderNo
:
data
.
OrderNo
,
OrderId
:
data
.
OrderId
,
preferPrice
:
data
.
PreferPrice
,
};
that
.
payAliCallback
(
cbObj
);
}
else
{
uni
.
showToast
({
title
:
"支付失败"
,
icon
:
"none"
,
});
}
},
fail
:
function
(
err
)
{
console
.
log
(
"fail:"
,
err
);
...
...
pages/jiuzhai/jz_SureOrder.vue
View file @
90b8e7b3
...
...
@@ -871,13 +871,20 @@ export default {
tradeNO
:
tradeNO
,
success
:
function
(
res
)
{
console
.
log
(
"success"
,
res
);
let
obj
=
{
TradeNo
:
tradeNO
,
OrderNo
:
that
.
orderData
.
model
.
orderNo
,
OrderId
:
that
.
orderData
.
model
.
orderId
,
preferPrice
:
that
.
orderData
.
model
.
PreferPrice
,
};
that
.
payAliCallback
(
obj
);
if
(
res
.
resultCode
==
"9000"
)
{
let
obj
=
{
TradeNo
:
tradeNO
,
OrderNo
:
that
.
orderData
.
model
.
orderNo
,
OrderId
:
that
.
orderData
.
model
.
orderId
,
preferPrice
:
that
.
orderData
.
model
.
PreferPrice
,
};
that
.
payAliCallback
(
obj
);
}
else
{
uni
.
showToast
({
title
:
"支付失败"
,
icon
:
"none"
,
});
}
},
fail
:
function
(
err
)
{
console
.
log
(
"fail:"
,
err
);
...
...
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