[原下单页面去掉统一下单页面,服务券提货券商品详情页面调整]

This commit is contained in:
2021-10-20 17:45:52 +08:00
parent d69486541b
commit 9c257e5303
5 changed files with 31 additions and 17 deletions

View File

@@ -20,7 +20,7 @@
<label>订单金额</label>
<view class="price nowrap">{{amount}}</view>
</view>
<block v-if="coupons.length > 1">
<block v-if="coupons.length >= 1">
<view class="item">
<label>使用优惠券</label>
<picker mode="selector" :range="coupons" range-key="title" :value="couponIndex" @change="couponsChange">
@@ -134,7 +134,6 @@
// 选择支付类型
payType(e){
console.log(e.detail.value)
this.payValue = e.detail.value
},
//数量变化
@@ -149,7 +148,7 @@
goods_sku_id : this.$Route.query.skuId,
qty : this.qty,
coupon_grant_id : this.couponId,
type : 1,
type : this.payValue === 'wx'?2:1,
remark : 'app订单易货产品',
channel : 'app'
}, 'POST').then(res=>{