Commit 233a6949 by zhangxw

bug修复

1 parent 515b47b6
...@@ -113,7 +113,10 @@ export default { ...@@ -113,7 +113,10 @@ export default {
}, },
{ {
label: "填报交付数", label: "填报交付数",
prop: "deliveryCount" prop: "deliveryCount",
formatter: (cellValue) => {
return (cellValue.deliveryCount ?? '') === '' ? '-' : cellValue.deliveryCount
}
}, },
{ {
label: "填报时间", label: "填报时间",
......
...@@ -238,25 +238,21 @@ export default { ...@@ -238,25 +238,21 @@ export default {
label: "新车到店流量(会员权益/延保)", label: "新车到店流量(会员权益/延保)",
prop: "equityToShopCount", prop: "equityToShopCount",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.equityToShopCount return (cellValue.equityToShopCount ?? '') === '' ? '-' : cellValue.equityToShopCount
? cellValue.equityToShopCount
: "-"
} }
}, },
{ {
label: "售后到店流量(会员权益/延保)", label: "售后到店流量(会员权益/延保)",
prop: "afterSaleEquityToShopCount", prop: "afterSaleEquityToShopCount",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.afterSaleEquityToShopCount return (cellValue.afterSaleEquityToShopCount ?? '') === '' ? '-' : cellValue.afterSaleEquityToShopCount
? cellValue.afterSaleEquityToShopCount
: "-"
} }
}, },
{ {
label: "成交量(会员权益)", label: "成交量(会员权益)",
prop: "equityCount", prop: "equityCount",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.equityCount ? cellValue.equityCount : "-" return (cellValue.equityCount ?? '') === '' ? '-' : cellValue.equityCount
} }
}, },
{ {
...@@ -264,9 +260,7 @@ export default { ...@@ -264,9 +260,7 @@ export default {
prop: "warrantyInsuranceCount", prop: "warrantyInsuranceCount",
width: "150px", width: "150px",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.warrantyInsuranceCount return (cellValue.warrantyInsuranceCount ?? '') === '' ? '-' : cellValue.warrantyInsuranceCount
? cellValue.warrantyInsuranceCount
: "-"
} }
}, },
{ {
...@@ -274,7 +268,7 @@ export default { ...@@ -274,7 +268,7 @@ export default {
prop: "upgradeRate", prop: "upgradeRate",
width: "150px", width: "150px",
formatter: (cellValue) => { 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!