chenrui 1 gadu atpakaļ
vecāks
revīzija
cee3015162

+ 1 - 1
src/views/reportData/productRebateReport/dealerList.vue

@@ -207,7 +207,7 @@ export default {
         { title: '客户名称', dataIndex: 'buyerName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '客户级别', dataIndex: 'buyerLevelDictValue', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '差价归属方', dataIndex: 'parentDealerName', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '百分比', dataIndex: 'rebateRate', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '百分比', dataIndex: 'rebateRate', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text * 100 + '%' : '--') } },
         { title: '差价归属类型', dataIndex: 'rebateParentTypeDictValue', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '总开单金额', dataIndex: 'totalAmount', width: 90, align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
         { title: '总实售金额', dataIndex: 'totalRealAmount', width: 90, align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },

+ 2 - 2
src/views/reportData/productRebateReport/detailList.vue

@@ -205,9 +205,9 @@ export default {
         { title: '客户级别', dataIndex: 'buyerLevelDictValue', width: '90px', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '客户名称', dataIndex: 'buyerName', width: '150px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '差价归属方', dataIndex: 'parentDealerName', width: '130px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '百分比', dataIndex: 'rebateRate', width: '80px', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '百分比', dataIndex: 'rebateRate', width: '80px', align: 'center', customRender: function (text) { return ((text || text == 0) ? text * 100 + '%' : '--') } },
         { title: '差价归属类型', dataIndex: 'rebateParentTypeDictValue', width: '120px', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '价格级别', dataIndex: 'priceLevelDictValue', width: '80px', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '价格级别', dataIndex: 'directLevelDictValue', width: '80px', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '品牌', dataIndex: 'productEntity.productBrandName', width: '100px', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品分类', width: '160px', align: 'center', customRender: function (text, record) { return record.productEntity.productTypeName1 + (record.productEntity.productTypeName2 ? '>' : '') + (record.productEntity.productTypeName2 || '') } },
         { title: '产品编码', dataIndex: 'productEntity.code', width: '100px', align: 'center', customRender: function (text) { return text || '--' } },