Commit fea49cb9 by 前端

修复bug

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