修复bug
This commit is contained in:
parent
4eb5580ff1
commit
fb0e6a33c6
@ -116,6 +116,7 @@
|
||||
this.isAuto = true;
|
||||
this.isShowAuth = true;
|
||||
} else {
|
||||
this.checkForm.cart_id = [];
|
||||
this.getProductInfoByMerid(this.mer_id);
|
||||
}
|
||||
},
|
||||
|
@ -73,7 +73,7 @@
|
||||
<view class='money'>¥{{payForm.money}}</view>
|
||||
</view>
|
||||
|
||||
<view class='item acea-row row-between-wrapper' v-if="false">
|
||||
<view class='item acea-row row-between-wrapper'>
|
||||
<view>补贴抵扣</view>
|
||||
<block v-if="platformConsumption.length > 0" >
|
||||
<view class='discount money red_packet' @click="couponTap3()">
|
||||
@ -94,7 +94,7 @@
|
||||
<view>
|
||||
合计:
|
||||
<text class='pColor' v-if="cartArr[4].payStatus == 1 && active == 4">¥0.00</text>
|
||||
<text class='pColor' v-else>¥{{payForm.money }}</text>
|
||||
<text class='pColor' v-else>¥{{ total_coupon }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class='settlement' :class='couponData.status != "noAddress" ? "" : "disabled"' style='z-index:100'
|
||||
@ -231,6 +231,7 @@
|
||||
type_id: '', //店铺类型
|
||||
consumption_id: '', //补贴id
|
||||
consumption_money: '', //补贴抵扣金额
|
||||
total_coupon: '', //合计
|
||||
payForm: {
|
||||
cart_id: '',
|
||||
address_id: '',
|
||||
@ -266,11 +267,12 @@
|
||||
}
|
||||
},
|
||||
onLoad: function(options) {
|
||||
options.money = parseFloat(options.money).toFixed(2);
|
||||
this.payForm.cart_id = options.cartId;
|
||||
this.payForm.money = options.money;
|
||||
this.payForm.merName = options.merName;
|
||||
this.checkForm.cart_id = options.cartId.split(',');
|
||||
|
||||
this.total_coupon = options.money;
|
||||
|
||||
// this.platformConsumption = [{
|
||||
// balance: "39000.00",
|
||||
@ -322,7 +324,8 @@
|
||||
...this.checkForm,
|
||||
consumption_id: this.consumption_id
|
||||
}).then(res=>{
|
||||
this.payForm.money = this.cartForm.total_price;
|
||||
this.total_coupon = res.data.total_coupon;
|
||||
this.consumption_money = res.data.consumption_money;
|
||||
})
|
||||
})
|
||||
}
|
||||
|
@ -51,6 +51,7 @@
|
||||
qrcode,
|
||||
merchantRecord
|
||||
} from "@/api/activity.js";
|
||||
import { Toast } from '../../../libs/uniApi';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@ -87,7 +88,15 @@
|
||||
getQrcode() {
|
||||
qrcode().then(res => {
|
||||
this.qrcodeUrl = res.data.url;
|
||||
})
|
||||
}).catch(err=>{
|
||||
uni.showModal({
|
||||
content:'暂未开通邀请码,需开通邀请码请联系管理员',
|
||||
showCancel: false,
|
||||
success: (res)=>{
|
||||
uni.navigateBack();
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
// 获取好友列表
|
||||
getList() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user