|
|
@@ -481,7 +481,7 @@ const columns = [
|
|
|
prop: "costExternalTypeAdds", label: "交强险费用", width: '300', formatter: (row: any) => {
|
|
|
let info = row.costExternalTypeAdds.find((val: any) => val.costType == '交强险');
|
|
|
if (info) {
|
|
|
- return `入口:${info.inlet?.toFixed(2)}% 出口:${info.export?.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}% 留点:${info.keepPointRatio?.toFixed(2)}%`
|
|
|
+ return `入口:${info.inlet?.toFixed(2) ?? '--' }% 出口:${info.export?.toFixed(2) ?? '--'}%\n加投:${info.addThrow?.toFixed(2) ?? '--'}% 留点:${info.keepPointRatio?.toFixed(2) ?? '--'}%`
|
|
|
}else {
|
|
|
return '-'
|
|
|
}
|
|
|
@@ -491,7 +491,7 @@ const columns = [
|
|
|
prop: "costExternalTypeAdds", label: "商业险费用", width: '300', formatter: (row: any) => {
|
|
|
let info = row.costExternalTypeAdds.find((val: any) => val.costType == '商业险');
|
|
|
if (info) {
|
|
|
- return `入口:${info.inlet?.toFixed(2)}% 出口:${info.export?.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}% 留点:${info.keepPointRatio?.toFixed(2)}%`
|
|
|
+ return `入口:${info.inlet?.toFixed(2) ?? '--'}% 出口:${info.export?.toFixed(2) ?? '--'}%\n加投:${info.addThrow?.toFixed(2) ?? '--'}% 留点:${info.keepPointRatio?.toFixed(2) ?? '--'}%`
|
|
|
}else {
|
|
|
return '-'
|
|
|
}
|
|
|
@@ -501,7 +501,7 @@ const columns = [
|
|
|
prop: "costExternalTypeAdds", label: "驾意险费用", width: '300', formatter: (row: any) => {
|
|
|
let info = row.costExternalTypeAdds.find((val: any) => val.costType == '驾意险');
|
|
|
if (info) {
|
|
|
- return `入口:${info.inlet?.toFixed(2)}% 出口:${info.export?.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}% 留点:${info.keepPointRatio?.toFixed(2)}%`
|
|
|
+ return `入口:${info.inlet?.toFixed(2) ?? '--'}% 出口:${info.export?.toFixed(2) ?? '--'}%\n加投:${info.addThrow?.toFixed(2) ?? '--'}% 留点:${info.keepPointRatio?.toFixed(2) ?? '--'}%`
|
|
|
}else {
|
|
|
return '-'
|
|
|
}
|