chenrui 3 mesiacov pred
rodič
commit
f5fbb58536

+ 2 - 2
src/views/setting/tireSubsidySetting/costCollectionList.vue

@@ -221,7 +221,7 @@ export default {
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
       ]
       if (this.pageType === 'SERVICE_FEE') {
-        arr.splice(7, 0, { title: '服务费比例(%)', dataIndex: 'ruleValue1', width: '12%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
+        arr.splice(7, 0, { title: '服务费比例(%)', dataIndex: 'ruleValue1', width: '12%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text * 100) + '%' : '--') } })
       } else {
         arr.splice(7, 0, { title: '运费补贴(元)', dataIndex: 'ruleValue1', width: '12%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
       }
@@ -270,7 +270,7 @@ export default {
       const sendData = {
         dealerName: row.dealerEntity && row.dealerEntity.dealerName ? row.dealerEntity.dealerName : undefined,
         ruleStartDate: row.ruleStartDate,
-        ruleValue1: row.ruleValue1,
+        ruleValue1: this.pageType === 'SERVICE_FEE' ? (row.ruleValue1 * 100) : row.ruleValue1,
         defaultFlag: row.defaultFlag,
         ruleSn: row.ruleSn
       }