修改产品列表样式
This commit is contained in:
@@ -145,23 +145,13 @@
|
||||
<div class="ele-text-danger">L:{{ row.cluesCommission }}</div>
|
||||
<div class="ele-text-danger">S:{{ row.orderCommission }}</div>
|
||||
</template>
|
||||
<template v-slot:cityName="{ row }">
|
||||
{{ row.cityName[0] }}
|
||||
<el-link
|
||||
size="mini"
|
||||
v-if="row.cityName.length > 1"
|
||||
type="primary"
|
||||
class="ele-btn-icon"
|
||||
@click="showAllCityName(row)"
|
||||
>
|
||||
查看所有>>
|
||||
</el-link>
|
||||
</template>
|
||||
<template v-slot:couponBiz="{ row }">
|
||||
<template v-if="row.coupon">
|
||||
<template v-if="row.coupon.userType === 1">所有门店</template>
|
||||
<template v-else>
|
||||
<template v-if="row.coupon.bizList['list'][0]">
|
||||
<template
|
||||
v-if="row.coupon.bizList && row.coupon.bizList['list'][0]"
|
||||
>
|
||||
<div>{{ row.coupon.bizList['list'][0]['biz_name'] }}</div>
|
||||
<div>
|
||||
{{ row.coupon.bizList['list'][0]['province_name'] }}-{{
|
||||
@@ -214,6 +204,7 @@
|
||||
<!--核心买点-->
|
||||
<template v-slot:couponSelling="{ row }">
|
||||
<template v-for="(item, index) in couponSelling">
|
||||
<!--
|
||||
<el-tag
|
||||
style="margin-top: 5px"
|
||||
:key="index"
|
||||
@@ -221,6 +212,13 @@
|
||||
size="small"
|
||||
>{{ item.dictDataName }}</el-tag
|
||||
>
|
||||
-->
|
||||
<div
|
||||
style="margin-top: 5px"
|
||||
:key="index"
|
||||
v-if="row.labels.includes(item.dictDataId)"
|
||||
>{{ item.dictDataName }}</div
|
||||
>
|
||||
</template>
|
||||
</template>
|
||||
<!-- 操作列 -->
|
||||
@@ -386,7 +384,7 @@
|
||||
{
|
||||
prop: 'couponSelling',
|
||||
label: '核心卖点',
|
||||
align: 'center',
|
||||
align: 'left',
|
||||
slot: 'couponSelling',
|
||||
width: 220
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user