Commit d5754ea2 by 李嘉林

待审核支付成功

parent d9391553
......@@ -8,21 +8,27 @@
<div class="iconPay" :style="{'width':imgSize,'height':imgSize}">
<image mode="aspectFit" :src="icon" alt></image>
</div>
<p class="success">{{ payTitle }}</p>
<p v-if="orderDetail.orderType == 5" class="tips">
您可在【我的】-【我的礼包】中进行送礼
</p>
<p v-if="orderDetail.orderType == 5" class="tips">
亦可以直接点下面按钮【立即送出】
</p>
<div v-if="orderDetail.orderType == 5"></div>
<div v-else class="orderPrice" v-html="subTitle">
订单金额:
<span v-if="routeQuery.multiMerchantsFlag"
>{{ routeQuery.totalMoney }}</span
>
<span v-else>{{ totalMoney }}</span>
</div>
<!-- 企业要货开启了待审核 -->
<template v-if="whetherOpenEnterprisesWantGoods == 1 && whetherOpenApproval == 1">
<p class="success">提交成功,等待审核</p>
</template>
<template v-else>
<p class="success">{{ payTitle }}</p>
<p v-if="orderDetail.orderType == 5" class="tips">
您可在【我的】-【我的礼包】中进行送礼
</p>
<p v-if="orderDetail.orderType == 5" class="tips">
亦可以直接点下面按钮【立即送出】
</p>
<div v-if="orderDetail.orderType == 5"></div>
<div v-else class="orderPrice" v-html="subTitle">
订单金额:
<span v-if="routeQuery.multiMerchantsFlag"
>{{ routeQuery.totalMoney }}</span
>
<span v-else>{{ totalMoney }}</span>
</div>
</template>
<div class="bottom flex">
<template v-if="orderDetail.orderType == 5"> </template>
<template v-else>
......@@ -133,6 +139,12 @@ export default {
giftsKey: {
default: 0,
},
whetherOpenEnterprisesWantGoods: {
default: 0,
},
whetherOpenApproval: {
default: 0,
},
},
data() {
return {
......
......@@ -45,6 +45,8 @@
:routeQuery="routeQuery"
:orderDetail="orderDetail"
:totalMoney="totalMoney"
:whetherOpenEnterprisesWantGoods="whetherOpenEnterprisesWantGoods"
:whetherOpenApproval="whetherOpenApproval"
/>
</div>
</div>
......@@ -137,7 +139,16 @@ export default {
PayElectronCard,
automatiCard
},
computed: {},
computed: {
// 是否开启企业要货
whetherOpenEnterprisesWantGoods() {
return this.mpApp.globalData.shopInfo.whetherOpenEnterprisesWantGoods || 0
},
// 是否开启待审核
whetherOpenApproval() {
return this.mpApp.shop_configuration.whetherOpenApproval || 0
},
},
onLoad(options) {
console.log(options, "--paySuccess-onLoad");
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