From 1b4db7d4f85b4027ee15ebf897049e8cb08ffd89 Mon Sep 17 00:00:00 2001 From: LinCyJang Date: Fri, 22 May 2026 14:36:54 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E6=8A=BD=E5=A5=96=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E5=95=86=E5=93=81=E4=B8=8D=E5=85=81=E8=AE=B8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodsCon/index.vue | 1 + pagesOrder/order/OrderDetails/index.vue | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) 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() {