Commit eceafeba by 前端

修复bug

1 parent d4cff464
......@@ -127,14 +127,14 @@ export default {
{
label: '小计 (元)',
formatter: cell => {
return cell.redeemPoints ? cell.redeemPoints + '积分' + '+' + (cell.salePrice * cell.sellQty).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) + '元'
}
},
{
label: '实收金额 (元)',
prop: 'orderAmount',
formatter: cell => {
return cell.redeemPoints ? cell.redeemPoints + '积分' + '+' + +(cell.salePrice * cell.sellQty).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.sellQty).toFixed(2) + '元' : (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!