Browse Source

bug修复【ID1007493】品牌分类显示

chenrui 4 years ago
parent
commit
88399e41b1

+ 1 - 1
src/views/productManagement/productBrand/detailModal.vue

@@ -11,7 +11,7 @@
     <div v-if="detailsData">
       <a-descriptions bordered size="default" :column="1">
         <a-descriptions-item label="品牌名称:">{{ detailsData.brandName || '--' }}</a-descriptions-item>
-        <a-descriptions-item label="品牌类:">{{ detailsData.brandType || '--' }}</a-descriptions-item>
+        <a-descriptions-item label="品牌类:">{{ detailsData.brandTypeDictValue || '--' }}</a-descriptions-item>
         <a-descriptions-item label="排序字母:">{{ detailsData.sortChar || '--' }}</a-descriptions-item>
         <a-descriptions-item label="品牌图片:">
           <img :src="detailsData.imageUrl" title="点击查看大图" class="productPic" @click="getPreview(detailsData.imageUrl)" />

+ 1 - 1
src/views/productManagement/productBrand/list.vue

@@ -100,7 +100,7 @@ export default {
         { title: '创建时间', dataIndex: 'createDate', width: 160, align: 'center' },
         { title: '品牌图片', scopedSlots: { customRender: 'imageUrl' }, width: 140, align: 'center' },
         { title: '品牌名称', dataIndex: 'brandName', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '品牌分类', dataIndex: 'brandType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '品牌分类', dataIndex: 'brandTypeDictValue', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '排序字母', dataIndex: 'sortChar', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 200, align: 'center' }
       ],