Browse Source

修改bug

chenrui 1 year ago
parent
commit
4e1eebf7a6

+ 3 - 3
src/views/promotionRulesManagement/dealerPromotions/detailModal.vue

@@ -288,9 +288,9 @@ export default {
       var arr = []
       if (_this.form.discountType === '1') {
         arr = [
-          { title: '省价折扣', dataIndex: 'provinceValue', width: '33%', align: 'center', customRender: function (text) { return text || '--' } },
-          { title: '市价折扣', dataIndex: 'cityValue', width: '33%', align: 'center', customRender: function (text) { return text || '--' } },
-          { title: '特约折扣', dataIndex: 'specialValue', width: '33%', align: 'center', customRender: function (text) { return text || '--' } }
+          { title: '省价折扣', dataIndex: 'provinceValue', width: '33%', align: 'center', customRender: function (text) { return (text + '%') || '--' } },
+          { title: '市价折扣', dataIndex: 'cityValue', width: '33%', align: 'center', customRender: function (text) { return (text + '%') || '--' } },
+          { title: '特约折扣', dataIndex: 'specialValue', width: '33%', align: 'center', customRender: function (text) { return (text + '%') || '--' } }
         ]
       } else if (_this.form.discountType === '2') {
         arr = [