Feat:供应商发送商品链接至商城用户

This commit is contained in:
linxi
2026-09-20 11:56:39 +08:00
parent c8119933af
commit 64ea2d7332
5 changed files with 60 additions and 15 deletions
+4 -3
View File
@@ -882,8 +882,8 @@ export default {
goGoodsCon(item, isGiftCardReceiveBlind, isDrawOrder, scenarioCode) {
if(isGiftCardReceiveBlind) return
if(isDrawOrder) return
// 采购批发订单(集采中心)商品卡片不跳转批发商品详情页
if (Number(scenarioCode) === 22) return
// 采购批发订单(集采中心/直购批发)商品卡片不跳转批发商品详情页
if ([22, 25].includes(Number(scenarioCode))) return
if (Number(scenarioCode) === 24) return
const activityId = Number(
item.drawActivityId ||
@@ -1065,7 +1065,8 @@ export default {
return Number(order && order.scenarioCode)
},
isWholesalerOrder(order = this.orderInfo) {
return this.getOrderScenarioCode(order) === 22
// 22=集采批发,25=直购批发
return [22, 25].includes(this.getOrderScenarioCode(order))
},
isCustomGiftOrder(order = this.orderInfo) {
return this.getOrderScenarioCode(order) === 24