Fix:5701 【商城小程序】【我的订单-集采中心】订单列表采购批发商品卡片未显示商品名称信息
This commit is contained in:
@@ -1043,7 +1043,7 @@ export default {
|
||||
if (isCustomGift) {
|
||||
return {
|
||||
image: this.formatCollectiveImage(item.giftImage),
|
||||
name: item.giftName || '商品信息',
|
||||
name: item.giftName,
|
||||
sku: item.specName || '',
|
||||
qty: Number(item.giftNum) || 1,
|
||||
price: 0,
|
||||
@@ -1096,8 +1096,9 @@ export default {
|
||||
item.productName ||
|
||||
item.giftName ||
|
||||
item.name ||
|
||||
item.title ||
|
||||
'商品信息',
|
||||
productInfo.storeName ||
|
||||
productInfo.cateName ||
|
||||
item.cateName,
|
||||
price: Number(rawPrice) || 0,
|
||||
showPrice: true,
|
||||
sku: rawSku,
|
||||
@@ -1131,7 +1132,7 @@ export default {
|
||||
},
|
||||
getCollectiveProductName(cart) {
|
||||
const productInfo = (cart && cart.productInfo) || {}
|
||||
return productInfo.storeName || cart.storeName || '商品信息'
|
||||
return productInfo.storeName || cart.storeName
|
||||
},
|
||||
getCollectiveProductSku(cart) {
|
||||
const productInfo = (cart && cart.productInfo) || {}
|
||||
|
||||
Reference in New Issue
Block a user