Commit d5754ea2 by 李嘉林

待审核支付成功

parent d9391553
...@@ -8,6 +8,11 @@ ...@@ -8,6 +8,11 @@
<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>
<!-- 企业要货开启了待审核 -->
<template v-if="whetherOpenEnterprisesWantGoods == 1 && whetherOpenApproval == 1">
<p class="success">提交成功,等待审核</p>
</template>
<template v-else>
<p class="success">{{ payTitle }}</p> <p class="success">{{ payTitle }}</p>
<p v-if="orderDetail.orderType == 5" class="tips"> <p v-if="orderDetail.orderType == 5" class="tips">
您可在【我的】-【我的礼包】中进行送礼 您可在【我的】-【我的礼包】中进行送礼
...@@ -23,6 +28,7 @@ ...@@ -23,6 +28,7 @@
> >
<span v-else>{{ totalMoney }}</span> <span v-else>{{ totalMoney }}</span>
</div> </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 {
......
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment