Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
d5754ea2
Commit
d5754ea2
authored
Aug 09, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待审核支付成功
parent
d9391553
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
16 deletions
+39
-16
src/components/paySuccess/paySuccessInfo.vue
+27
-15
src/pages/paySuccess/index.vue
+12
-1
No files found.
src/components/paySuccess/paySuccessInfo.vue
View file @
d5754ea2
...
@@ -8,21 +8,27 @@
...
@@ -8,21 +8,27 @@
<div
class=
"iconPay"
:style=
"
{'width':imgSize,'height':imgSize}">
<div
class=
"iconPay"
:style=
"
{'width':imgSize,'height':imgSize}">
<image
mode=
"aspectFit"
:src=
"icon"
alt
></image>
<image
mode=
"aspectFit"
:src=
"icon"
alt
></image>
</div>
</div>
<p
class=
"success"
>
{{
payTitle
}}
</p>
<!-- 企业要货开启了待审核 -->
<p
v-if=
"orderDetail.orderType == 5"
class=
"tips"
>
<template
v-if=
"whetherOpenEnterprisesWantGoods == 1 && whetherOpenApproval == 1"
>
您可在【我的】-【我的礼包】中进行送礼
<p
class=
"success"
>
提交成功,等待审核
</p>
</p>
</
template
>
<p
v-if=
"orderDetail.orderType == 5"
class=
"tips"
>
<
template
v-else
>
亦可以直接点下面按钮【立即送出】
<p
class=
"success"
>
{{
payTitle
}}
</p>
</p>
<p
v-if=
"orderDetail.orderType == 5"
class=
"tips"
>
<div
v-if=
"orderDetail.orderType == 5"
></div>
您可在【我的】-【我的礼包】中进行送礼
<div
v-else
class=
"orderPrice"
v-html=
"subTitle"
>
</p>
订单金额:
<p
v-if=
"orderDetail.orderType == 5"
class=
"tips"
>
<span
v-if=
"routeQuery.multiMerchantsFlag"
亦可以直接点下面按钮【立即送出】
>
¥
{{
routeQuery
.
totalMoney
}}
</span
</p>
>
<div
v-if=
"orderDetail.orderType == 5"
></div>
<span
v-else
>
¥
{{
totalMoney
}}
</span>
<div
v-else
class=
"orderPrice"
v-html=
"subTitle"
>
</div>
订单金额:
<span
v-if=
"routeQuery.multiMerchantsFlag"
>
¥
{{
routeQuery
.
totalMoney
}}
</span
>
<span
v-else
>
¥
{{
totalMoney
}}
</span>
</div>
</
template
>
<div
class=
"bottom flex"
>
<div
class=
"bottom flex"
>
<
template
v-if=
"orderDetail.orderType == 5"
>
</
template
>
<
template
v-if=
"orderDetail.orderType == 5"
>
</
template
>
<
template
v-else
>
<
template
v-else
>
...
@@ -133,6 +139,12 @@ export default {
...
@@ -133,6 +139,12 @@ export default {
giftsKey
:
{
giftsKey
:
{
default
:
0
,
default
:
0
,
},
},
whetherOpenEnterprisesWantGoods
:
{
default
:
0
,
},
whetherOpenApproval
:
{
default
:
0
,
},
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/pages/paySuccess/index.vue
View file @
d5754ea2
...
@@ -45,6 +45,8 @@
...
@@ -45,6 +45,8 @@
:routeQuery=
"routeQuery"
:routeQuery=
"routeQuery"
:orderDetail=
"orderDetail"
:orderDetail=
"orderDetail"
:totalMoney=
"totalMoney"
:totalMoney=
"totalMoney"
:whetherOpenEnterprisesWantGoods=
"whetherOpenEnterprisesWantGoods"
:whetherOpenApproval=
"whetherOpenApproval"
/>
/>
</div>
</div>
</div>
</div>
...
@@ -137,7 +139,16 @@ export default {
...
@@ -137,7 +139,16 @@ export default {
PayElectronCard
,
PayElectronCard
,
automatiCard
automatiCard
},
},
computed
:
{},
computed
:
{
// 是否开启企业要货
whetherOpenEnterprisesWantGoods
()
{
return
this
.
mpApp
.
globalData
.
shopInfo
.
whetherOpenEnterprisesWantGoods
||
0
},
// 是否开启待审核
whetherOpenApproval
()
{
return
this
.
mpApp
.
shop_configuration
.
whetherOpenApproval
||
0
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
console
.
log
(
options
,
"--paySuccess-onLoad"
);
console
.
log
(
options
,
"--paySuccess-onLoad"
);
this
.
query
.
orderSn
=
options
.
orderSn
;
this
.
query
.
orderSn
=
options
.
orderSn
;
...
...
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