lilei 1 month ago
parent
commit
d2c4671000

+ 1 - 1
src/views/promotionRulesManagement/dealerPromotions/specialOfferModal.vue

@@ -422,7 +422,7 @@ export default {
       const ut = this.setTableData[0].unitType
       this.setTableData = this.setTableData.map(item => {
         item.unitType = ut
-        if (ut == 'GE') {
+        if (ut == 'GE' && item.orginAmountValue) {
           item.orginAmountValue = Math.floor(item.orginAmountValue)
         }
         return item

+ 6 - 5
src/views/promotionRulesManagement/promotionManagement/lookUpCustomersModal.vue

@@ -131,13 +131,14 @@ export default {
       },
       snObj: undefined, // 经销商列表
       columns: [// 表头
-        { title: '序号', dataIndex: 'no', width: '8%', align: 'center' },
-        { title: '地区', scopedSlots: { customRender: 'address' }, width: '20%', align: 'center', ellipsis: true },
+        { title: '序号', dataIndex: 'no', width: '5%', align: 'center' },
+        { title: '经销商名称', dataIndex: 'dealerName', scopedSlots: { customRender: 'dealerName' }, width: '20%', align: 'left', ellipsis: true },
+        { title: '活动次数', dataIndex: 'dealerJoinQty', width: '10%', align: 'center', customRender: function (text) { return text || text == 0 ? text : '--' } },
+        { title: '地区', scopedSlots: { customRender: 'address' }, width: '15%', align: 'center', ellipsis: true },
         { title: '区域', dataIndex: 'subareaArea.subareaName', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '经销商名称', dataIndex: 'dealerName', width: '20%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '商户类型', dataIndex: 'dealerLevelDictValue', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '商户级别', dataIndex: 'dealerTypeDictValue', width: '15%', align: 'center', customRender: function (text) { return text || '--' } }
+        { title: '商户类型', dataIndex: 'dealerLevelDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '商户级别', dataIndex: 'dealerTypeDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } }
       ]
     }
   },