bug
This commit is contained in:
parent
5d76fb1352
commit
7160b12ab4
@ -190,10 +190,10 @@
|
||||
}).then((res) => {
|
||||
this.numList = res.data.records
|
||||
|
||||
this.order.amount = this.numList.rechargeBalance
|
||||
this.order.rechargeBalance = this.numList.rechargeBalance
|
||||
this.order.points = this.numList.points
|
||||
this.realyPayBills = this.numList.rechargeBalance
|
||||
this.order.amount = this.numList[0].rechargeBalance
|
||||
this.order.rechargeBalance = this.numList[0].rechargeBalance
|
||||
this.order.points = this.numList[0].points
|
||||
this.realyPayBills = this.numList[0].rechargeBalance
|
||||
})
|
||||
},
|
||||
getmemberId(num, payType) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="container" v-if="oilOrder">
|
||||
<view class="container" v-if="oilOrder && type!=1">
|
||||
<headers :titles="titles"><u-icon name="arrow-left" color="#fff" size="22"></u-icon></headers>
|
||||
<view class="top_">
|
||||
<image src="../../static/imgs/zfcg.png" mode=""></image>
|
||||
@ -35,32 +35,28 @@
|
||||
<view class="h-size" v-if="oilOrder.payType=='APPLET_CODE'">小程序码支付</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="container" v-if="balanceOrder">
|
||||
<view class="container" v-if="balanceOrder && type==1">
|
||||
<headers :titles="titles"><u-icon name="arrow-left" color="#fff" size="22"></u-icon></headers>
|
||||
<!-- <view class="top_">
|
||||
<view class="top_">
|
||||
<image src="../../static/imgs/zfcg.png" mode=""></image>
|
||||
</view>
|
||||
<view class="title_">支付成功</view>
|
||||
<!-- <view class="top_" v-if="oilOrder.orderStatus!='paid'">
|
||||
<image src="../../static/imgs/zfsb.png" mode=""></image>
|
||||
</view>
|
||||
<view class="title_" v-if="oilOrder.orderStatus!='paid'">支付失败</view> -->
|
||||
<!-- <view class="b-bs">
|
||||
<view class="b-bs">
|
||||
<view class="h-size">应收金额</view>
|
||||
<view class="red-size">¥{{balanceOrder.orderAmount}}</view>
|
||||
<view class="red-size">¥{{balanceOrder.payAmount}}</view>
|
||||
</view>
|
||||
<view class="b-bs">
|
||||
<view class="h-size">优惠金额</view>
|
||||
<view class="red-size">¥{{balanceOrder.discountAmount}}</view>
|
||||
<view class="red-size">¥{{balanceOrder.discount}}</view>
|
||||
</view>
|
||||
<view class="b-bs">
|
||||
<view class="h-size">实收金额</view>
|
||||
<view class="red-size">¥{{balanceOrder.payAmount}}</view>
|
||||
</view>
|
||||
<view class="b-bs">
|
||||
<!-- <view class="b-bs">
|
||||
<view class="h-size">储值卡消费金额</view>
|
||||
<view class="red-size">¥{{balanceOrder.balanceAmount}}</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="b-bs">
|
||||
<view class="h-size">支付方式</view>
|
||||
<view class="h-size" v-if="balanceOrder.payType=='ALIPAY'">支付宝支付</view>
|
||||
@ -68,7 +64,7 @@
|
||||
<view class="h-size" v-if="balanceOrder.payType=='UNIONPAY'">银联二维码支付</view>
|
||||
<view class="h-size" v-if="balanceOrder.payType=='CASH'">现金支付</view>
|
||||
<view class="h-size" v-if="balanceOrder.payType=='APPLET_CODE'">小程序码支付</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="p-bottom">
|
||||
<view class="anniu" @click="goback()">
|
||||
@ -89,10 +85,12 @@
|
||||
orderNo: "",
|
||||
oilOrder: {},
|
||||
balanceOrder: {},
|
||||
type: "",
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
if (e.type && e.type == 1) {
|
||||
this.type = e.type
|
||||
this.orderNo = e.orderNo
|
||||
this.getBalanceOrder()
|
||||
} else {
|
||||
@ -134,7 +132,7 @@
|
||||
},
|
||||
getBalanceOrder() {
|
||||
request({
|
||||
url: 'business/marketingActivity/activeExchange/cardValueOrders/getOneByOrderNos',
|
||||
url: 'business/marketingActivity/activeExchange/cardValueOrders/getOneByOrderNo',
|
||||
method: 'post',
|
||||
data: {
|
||||
orderNo: this.orderNo
|
||||
|
Loading…
Reference in New Issue
Block a user