diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 96b454d..7bd427b 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -493,6 +493,7 @@ ref="attrWindow" :attr="attr" :cartNum="cart_num" + :hideQuantityControls="source === 'countyLottery' && Number(activityId) > 0" @changeFun="changeFun" :isNegotiable="storeInfo.isNegotiable === 1" @gift="gift" diff --git a/pagesOrder/order/OrderDetails/index.vue b/pagesOrder/order/OrderDetails/index.vue index a2fb978..75a6a23 100644 --- a/pagesOrder/order/OrderDetails/index.vue +++ b/pagesOrder/order/OrderDetails/index.vue @@ -848,11 +848,21 @@ export default { goGoodsCon(item, isGiftCardReceiveBlind, isDrawOrder) { if(isGiftCardReceiveBlind) return if(isDrawOrder) return + const activityId = Number( + item.drawActivityId || + (item.productInfo && item.productInfo.drawActivityId) || + 0 + ) + const query = { + id: item.productId + } + if (activityId > 0) { + query.from = 'countyLottery' + query.activityId = activityId + } this.$yrouter.push({ path: '/pages/shop/GoodsCon/index', - query: { - id: item.productId - } + query }) }, handleShowMore() {