|
@@ -62,7 +62,12 @@ export default {
|
|
|
title: '单位成本',
|
|
|
dataIndex: 'unitCost',
|
|
|
width: 120,
|
|
|
- className: 'replacecolor'
|
|
|
+ className: 'replacecolor',
|
|
|
+ customRender: (text, record, index) => {
|
|
|
+ if(text!==''&&text){
|
|
|
+ return Number(text).toFixed(4)
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: '总成本',
|