|
@@ -117,9 +117,10 @@ export default {
|
|
showEmpty: false, // 是否显示空数据图片
|
|
showEmpty: false, // 是否显示空数据图片
|
|
showTableHead: true, // 是否显示表格头部
|
|
showTableHead: true, // 是否显示表格头部
|
|
colspanNums: 13, // 单元格合并列数
|
|
colspanNums: 13, // 单元格合并列数
|
|
- hasOutStockOfActive: false,
|
|
|
|
|
|
+ hasOutStockOfActive: false, // 产品是否存在缺货
|
|
simpleImage: Empty.PRESENTED_IMAGE_SIMPLE, // 空图片
|
|
simpleImage: Empty.PRESENTED_IMAGE_SIMPLE, // 空图片
|
|
- showStockCol: false
|
|
|
|
|
|
+ showStockCol: false, // 显示第三方库存
|
|
|
|
+ hasJGtire: false // 是否轮胎产品
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -403,6 +404,8 @@ export default {
|
|
const productName = (item.productEntity && item.productEntity.name) || (item.dealerProductEntity && item.dealerProductEntity.name)
|
|
const productName = (item.productEntity && item.productEntity.name) || (item.dealerProductEntity && item.dealerProductEntity.name)
|
|
const productOrigCode = (item.productEntity && item.productEntity.origCode) || (item.dealerProductEntity && item.dealerProductEntity.origCode)
|
|
const productOrigCode = (item.productEntity && item.productEntity.origCode) || (item.dealerProductEntity && item.dealerProductEntity.origCode)
|
|
const productOrigUnit = (item.productEntity && item.productEntity.unit) || (item.dealerProductEntity && item.dealerProductEntity.unit)
|
|
const productOrigUnit = (item.productEntity && item.productEntity.unit) || (item.dealerProductEntity && item.dealerProductEntity.unit)
|
|
|
|
+ const productBrand = (item.productEntity && item.productEntity.productBrandName) || (item.dealerProductEntity && item.dealerProductEntity.productBrandName)
|
|
|
|
+ const productType3 = (item.productEntity && item.productEntity.productTypeName3) || (item.dealerProductEntity && item.dealerProductEntity.productTypeName3)
|
|
item.productCode = productCode || '--'
|
|
item.productCode = productCode || '--'
|
|
item.productName = productName || '--'
|
|
item.productName = productName || '--'
|
|
item.productOrigCode = productOrigCode == ' ' ? '--' : productOrigCode
|
|
item.productOrigCode = productOrigCode == ' ' ? '--' : productOrigCode
|
|
@@ -415,6 +418,10 @@ export default {
|
|
this.hasOutStockOfActive = true
|
|
this.hasOutStockOfActive = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ // 判断是否有箭冠轮胎产品
|
|
|
|
+ if (productBrand.indexOf('箭冠') >= 0 && productType3.indexOf('轮胎') >= 0) {
|
|
|
|
+ this.hasJGtire = true
|
|
|
|
+ }
|
|
})
|
|
})
|
|
// 是否有缺货明细
|
|
// 是否有缺货明细
|
|
if (str.length > 0) {
|
|
if (str.length > 0) {
|