Commit 9faf9551 authored by guang.wu's avatar guang.wu

fix: 修改供货价显示问题

parent 8e89a87c
...@@ -94,7 +94,7 @@ export function columnManage() { ...@@ -94,7 +94,7 @@ export function columnManage() {
align: 'center', align: 'center',
sorter: (a, b) => a.supplyPrice - b.supplyPrice, sorter: (a, b) => a.supplyPrice - b.supplyPrice,
render: (_, row) => ( render: (_, row) => (
<div>{(row.supplyPrice && (row.marketPrice || 0).toFixed(2)) || '-'}</div> <div>{(row.supplyPrice && (row.supplyPrice || 0).toFixed(2)) || '-'}</div>
), ),
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment