lilei пре 2 година
родитељ
комит
418d7507f4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/numsGoodsShelves/redPacket/statisticsDetail.vue

+ 1 - 1
src/views/numsGoodsShelves/redPacket/statisticsDetail.vue

@@ -110,7 +110,7 @@ export default {
         { title: '售价小计', dataIndex: 'terminalPriceTotal', width: '8%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
         { title: '成本小计', dataIndex: 'cityPriceTotal', width: '8%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
         { title: '毛利小计', dataIndex: 'grossAmountTotal', width: '8%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
-        { title: '红包毛利比例', dataIndex: 'rewardRatio', width: '10%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
+        { title: '红包毛利比例', dataIndex: 'rewardRatio', width: '10%', align: 'center', customRender: function (text) { return (text || text == 0) ? (text * 100 + '%') : '--' } },
         { title: '红包金额', dataIndex: 'rewardAmount', width: '8%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } }
       ],
       // 加载数据方法 必须为 Promise 对象