Feat:供应商发送商品链接至商城用户
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user