Commit 5238ca39 by zhangxw

督导详情字段显示修改

1 parent 08e40eeb
......@@ -111,21 +111,21 @@ export default {
label: "产值",
prop: "outputValue",
formatter: (cellValue) => {
return cellValue.outputValue ? `¥${cellValue.outputValue}` : '-'
return (cellValue.outputValue ?? '') !== '' ? `¥${cellValue.outputValue}` : '-'
}
},
{
label: "转化率",
prop: "conversionRate",
formatter: (cellValue) => {
return cellValue.conversionRate ? `${cellValue.conversionRate}%` : '-'
return (cellValue.conversionRate ?? '') !== '' ? `${cellValue.conversionRate}%` : '-'
}
},
{
label: "客单价",
prop: "avgOrderValue",
formatter: (cellValue) => {
return cellValue.avgOrderValue ? `¥${cellValue.avgOrderValue}` : '-'
return (cellValue.avgOrderValue ?? '') !== '' ? `¥${cellValue.avgOrderValue}` : '-'
}
}
]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!