Browse Source

修改bug

chenrui 8 months ago
parent
commit
205dc19e86
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/promotionManagement/promotionalProducts/list.vue

+ 4 - 4
src/views/promotionManagement/promotionalProducts/list.vue

@@ -194,13 +194,13 @@ export default {
         { title: '品牌', dataIndex: 'productBrandName', align: 'center', width: '10%', customRender: function (text) { return text || '--' } },
         { title: '产品分类', align: 'center', width: '15%', scopedSlots: { customRender: 'productType' } },
         { title: '促销名称', dataIndex: 'promoName', width: '15%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '促销时间', dataIndex: 'promoStartDate', align: 'center', width: '18%', scopedSlots: { customRender: 'promoTime' } },
+        { title: '促销时间', dataIndex: 'promoStartDate', align: 'center', width: '17%', scopedSlots: { customRender: 'promoTime' } },
         { title: '促销类型', dataIndex: 'promoTypeDictValue', align: 'center', width: '10%', customRender: function (text) { return text || '--' } },
         { title: '活动规则', align: 'center', width: '10%', scopedSlots: { customRender: 'promoRules' } },
-        { title: '促销状态', dataIndex: 'promoStateDictValue', align: 'center', width: '8%', customRender: function (text) { return text || '--' } },
+        { title: '促销状态', dataIndex: 'promoStateDictValue', align: 'center', width: '7%', customRender: function (text) { return text || '--' } },
         { title: '促销售价', width: '8%', align: 'right', scopedSlots: { customRender: 'promoPrice' } },
-        { title: '商城类目', scopedSlots: { customRender: 'categoryName' }, width: '10%', align: 'center' },
-        { title: '产品商城状态', dataIndex: 'shopProductStatusDictValue', align: 'center', width: '10%', customRender: function (text) { return text || '--' } }
+        { title: '商城类目', scopedSlots: { customRender: 'categoryName' }, width: '13%', align: 'center' },
+        { title: '产品商城状态', dataIndex: 'shopProductStatusDictValue', align: 'center', width: '6%', customRender: function (text) { return text || '--' } }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {