Commit c158bfd7 by zhangxw

bug修改

1 parent 0cca7a3e
...@@ -309,27 +309,21 @@ export default { ...@@ -309,27 +309,21 @@ export default {
label: "到店贴膜量(轻改)", label: "到店贴膜量(轻改)",
prop: "toShopFilmCount", prop: "toShopFilmCount",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.toShopFilmCount return (cellValue.toShopFilmCount ?? '') === '' ? '-' : cellValue.toShopFilmCount
? cellValue.toShopFilmCount
: "-"
} }
}, },
{ {
label: "升级转化量(轻改)", label: "升级转化量(轻改)",
prop: "upgradeCount", prop: "upgradeCount",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.upgradeCount return (cellValue.upgradeCount ?? '') === '' ? '-' : cellValue.upgradeCount
? cellValue.upgradeCount
: "-"
} }
}, },
{ {
label: "今日转化产值(轻改)/元", label: "今日转化产值(轻改)/元",
prop: "upgradeMoney", prop: "upgradeMoney",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.upgradeMoney return (cellValue.upgradeMoney ?? '') === '' ? '-' : cellValue.upgradeMoney
? cellValue.upgradeMoney
: "-"
} }
}, },
{ {
...@@ -337,9 +331,7 @@ export default { ...@@ -337,9 +331,7 @@ export default {
prop: "actualUpgradeCount", prop: "actualUpgradeCount",
width: "150px", width: "150px",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.actualUpgradeCount return (cellValue.actualUpgradeCount ?? '') === '' ? '-' : cellValue.actualUpgradeCount
? cellValue.actualUpgradeCount
: "-"
} }
} }
] ]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!