|
|
@ -49,7 +49,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- 列表 --> |
|
|
|
<!-- 列表 --> |
|
|
|
<el-table v-loading="loading" class="mt-20px" :data="tableList" border> |
|
|
|
<el-table v-loading="loading" class="mt-20px" :data="tableList" border> |
|
|
|
<el-table-column type="expand" width="30"> |
|
|
|
<el-table-column type="expand" width="30" fixed="left"> |
|
|
|
<template #default="{ row }"> |
|
|
|
<template #default="{ row }"> |
|
|
|
<div class="pl-100px pr-100px"> |
|
|
|
<div class="pl-100px pr-100px"> |
|
|
|
<el-table :data="row.productSpecList"> |
|
|
|
<el-table :data="row.productSpecList"> |
|
|
@ -71,16 +71,16 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column key="productId" label="产品编码" prop="productId" /> |
|
|
|
<el-table-column key="productId" label="产品编码" prop="productId" /> |
|
|
|
<el-table-column show-overflow-tooltip label="产品名称" min-width="200" prop="productName" /> |
|
|
|
<el-table-column show-overflow-tooltip label="产品名称" min-width="100" prop="productName" /> |
|
|
|
<el-table-column label="分类" min-width="90" prop="productCategoryName" /> |
|
|
|
<el-table-column label="分类" width="90" prop="productCategoryName" /> |
|
|
|
<el-table-column label="品牌" min-width="90" prop="productBrandName" /> |
|
|
|
<el-table-column label="品牌" width="90" prop="productBrandName" /> |
|
|
|
<el-table-column label="商品图" min-width="80"> |
|
|
|
<el-table-column label="商品图" min-width="80"> |
|
|
|
<template #default="{ row }"> |
|
|
|
<template #default="{ row }"> |
|
|
|
<el-image :src="row.mainImage" @click="imagePreview(row.mainImage)" class="w-30px h-30px" /> |
|
|
|
<el-image :src="row.mainImage" @click="imagePreview(row.mainImage)" class="w-30px h-30px" /> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="简介" min-width="70" prop="productIntro" /> |
|
|
|
<el-table-column label="简介" min-width="200" prop="productIntro" /> |
|
|
|
<el-table-column :formatter="dateFormatter" label="创建时间" prop="createTime" width="180" /> |
|
|
|
<el-table-column :formatter="dateFormatter" label="创建时间" prop="createTime" width="120" /> |
|
|
|
<el-table-column v-for="item in diyFieldList" :key="item.clueParamId" :label="item.label"> |
|
|
|
<el-table-column v-for="item in diyFieldList" :key="item.clueParamId" :label="item.label"> |
|
|
|
<template #default="{ row }"> |
|
|
|
<template #default="{ row }"> |
|
|
|
<div v-if="item.component == 'DatePicker'"> |
|
|
|
<div v-if="item.component == 'DatePicker'"> |
|
|
|