Commit bc65c660 by 李伟康

提交

1 parent 3edb5a5e
...@@ -143,14 +143,14 @@ export default { ...@@ -143,14 +143,14 @@ export default {
label: '销售价/元', label: '销售价/元',
minWidth: 100, minWidth: 100,
formatter: cellValue => { formatter: cellValue => {
return (cellValue.salesPrice / 100).toFixed(2) return cellValue.salesPrice ? (cellValue.salesPrice / 100).toFixed(2) : '--'
} }
}, },
{ {
label: '订单金额/元', label: '订单金额/元',
minWidth: 130, minWidth: 130,
formatter: cellValue => { formatter: cellValue => {
return (cellValue.orderPrice / 100).toFixed(2) return cellValue.orderPrice ? (cellValue.orderPrice / 100).toFixed(2) : '--'
} }
}, },
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!