Fix:3982 【商城小程序】送礼页面优惠券改为选填模式
This commit is contained in:
@@ -207,7 +207,8 @@
|
||||
@ok="setCoupon"
|
||||
@change="changeCoupons"
|
||||
@close="changeCoupons()"
|
||||
:showTab="false"
|
||||
:showTab="false"
|
||||
:showRadio="false"
|
||||
:currentPrice="storeInfo.price" />
|
||||
</u-popup>
|
||||
<!-- v9 优惠券结束 -->
|
||||
@@ -1458,7 +1459,6 @@ export default {
|
||||
path: "/pages/order/OrderSubmission/index",
|
||||
query: {
|
||||
id: res.data.cartId,
|
||||
couponId: that.couponId, // 优惠券ID
|
||||
discount: that.storeInfo.discount,
|
||||
}
|
||||
})
|
||||
@@ -1467,7 +1467,8 @@ export default {
|
||||
if(news === 2) {
|
||||
const coupId = that.couponId ? that.couponId : (that.couponList.usable[0] && that.couponList.usable[0].id || '')
|
||||
uni.navigateTo({
|
||||
url: '/pkg_user/views/gift/gift?cartId=' + res.data.cartId + '&couponId=' + coupId + (that.storeInfo.discount ? '&discount=' + that.storeInfo.discount : '')
|
||||
// + '&couponId=' + coupId
|
||||
url: '/pkg_user/views/gift/gift?cartId=' + res.data.cartId + (that.storeInfo.discount ? '&discount=' + that.storeInfo.discount : '')
|
||||
})
|
||||
}
|
||||
if(news === 0) {
|
||||
|
||||
Reference in New Issue
Block a user