Fix:抽奖活动商品不允许修改数量
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user