Commit 233a6949 by zhangxw

bug修复

1 parent 515b47b6
......@@ -113,7 +113,10 @@ export default {
},
{
label: "填报交付数",
prop: "deliveryCount"
prop: "deliveryCount",
formatter: (cellValue) => {
return (cellValue.deliveryCount ?? '') === '' ? '-' : cellValue.deliveryCount
}
},
{
label: "填报时间",
......
......@@ -238,25 +238,21 @@ export default {
label: "新车到店流量(会员权益/延保)",
prop: "equityToShopCount",
formatter: (cellValue) => {
return cellValue.equityToShopCount
? cellValue.equityToShopCount
: "-"
return (cellValue.equityToShopCount ?? '') === '' ? '-' : cellValue.equityToShopCount
}
},
{
label: "售后到店流量(会员权益/延保)",
prop: "afterSaleEquityToShopCount",
formatter: (cellValue) => {
return cellValue.afterSaleEquityToShopCount
? cellValue.afterSaleEquityToShopCount
: "-"
return (cellValue.afterSaleEquityToShopCount ?? '') === '' ? '-' : cellValue.afterSaleEquityToShopCount
}
},
{
label: "成交量(会员权益)",
prop: "equityCount",
formatter: (cellValue) => {
return cellValue.equityCount ? cellValue.equityCount : "-"
return (cellValue.equityCount ?? '') === '' ? '-' : cellValue.equityCount
}
},
{
......@@ -264,9 +260,7 @@ export default {
prop: "warrantyInsuranceCount",
width: "150px",
formatter: (cellValue) => {
return cellValue.warrantyInsuranceCount
? cellValue.warrantyInsuranceCount
: "-"
return (cellValue.warrantyInsuranceCount ?? '') === '' ? '-' : cellValue.warrantyInsuranceCount
}
},
{
......@@ -274,7 +268,7 @@ export default {
prop: "upgradeRate",
width: "150px",
formatter: (cellValue) => {
return cellValue.upgradeRate ? cellValue.upgradeRate : "-"
return (cellValue.upgradeRate ?? '') === '' ? '-' : cellValue.upgradeRate
}
}
]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!