|
|
@@ -76,6 +76,12 @@
|
|
|
<el-table-column label="适用人群" width="120">
|
|
|
<template slot-scope="{ row }">{{ row.suitableFor || '-' }}</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="成份/配料" min-width="200" show-overflow-tooltip>
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <span v-if="row.ingredients">{{ row.ingredients }}</span>
|
|
|
+ <span v-else class="no-data">-</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="关联商品" width="120" align="center">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag v-if="row.localProductId" type="success" size="mini">已关联</el-tag>
|
|
|
@@ -106,6 +112,7 @@
|
|
|
<el-descriptions-item label="净含量">{{ detailData.product.netContent || '-' }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="保质期">{{ detailData.product.shelfLife || '-' }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="适用人群">{{ detailData.product.suitableFor || '-' }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="成份/配料表">{{ detailData.product.ingredients || '-' }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="关联商品ID" :span="2">
|
|
|
<el-tag v-if="detailData.product.localProductId" type="success">
|
|
|
{{ detailData.product.localProductId }}
|