Commit d4cff464 by 前端

一轮bug修复

1 parent fea49cb9
......@@ -134,7 +134,7 @@ export default {
label: '实收金额 (元)',
prop: 'orderAmount',
formatter: cell => {
return cell.redeemPoints ? cell.redeemPoints + '积分' + '+' + +(cell.salePrice).toFixed(2) + '元' : (cell.salePrice * cell.sellQty).toFixed(2) + '元'
return cell.redeemPoints ? cell.redeemPoints + '积分' + '+' + +(cell.salePrice * cell.sellQty).toFixed(2) + '元' : (cell.salePrice * cell.sellQty).toFixed(2) + '元'
}
}
]
......
......@@ -179,7 +179,7 @@ export default {
line: 1,
align:'right',
formatter: cell => {
return cell.businessType == 1 ? cell.redeemPoints + '积分' + '+' + cell.salePrice + '元' : (cell.salePrice * cell.sellQty).toFixed(2) + '元'
return cell.businessType == 1 ? cell.redeemPoints + '积分' + '+' + (cell.salePrice * cell.sellQty).toFixed(2) + '元' : (cell.salePrice * cell.sellQty).toFixed(2) + '元'
}
},
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!