Commit d5754ea2 by 李嘉林

待审核支付成功

parent d9391553
...@@ -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 {
......
...@@ -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