|
@@ -221,7 +221,7 @@ export default {
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
|
|
]
|
|
]
|
|
if (this.pageType === 'SERVICE_FEE') {
|
|
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 {
|
|
} else {
|
|
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) : '--') } })
|
|
}
|
|
}
|
|
@@ -270,7 +270,7 @@ export default {
|
|
const sendData = {
|
|
const sendData = {
|
|
dealerName: row.dealerEntity && row.dealerEntity.dealerName ? row.dealerEntity.dealerName : undefined,
|
|
dealerName: row.dealerEntity && row.dealerEntity.dealerName ? row.dealerEntity.dealerName : undefined,
|
|
ruleStartDate: row.ruleStartDate,
|
|
ruleStartDate: row.ruleStartDate,
|
|
- ruleValue1: row.ruleValue1,
|
|
|
|
|
|
+ ruleValue1: this.pageType === 'SERVICE_FEE' ? (row.ruleValue1 * 100) : row.ruleValue1,
|
|
defaultFlag: row.defaultFlag,
|
|
defaultFlag: row.defaultFlag,
|
|
ruleSn: row.ruleSn
|
|
ruleSn: row.ruleSn
|
|
}
|
|
}
|