瀏覽代碼

修改bug

chenrui 1 年之前
父節點
當前提交
4e1eebf7a6
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/promotionRulesManagement/dealerPromotions/detailModal.vue

+ 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 = [