Commit 650ae96b by 徐忆琳

Merge branch 'v3.15.1_10' into 'v3.15.1'

修复bug

See merge request !14
2 parents bac11672 fea49cb9
......@@ -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!