|
|
@@ -611,7 +611,7 @@ const columns = [
|
|
|
prop: "ptlAgreementCostTypeList", label: "交强险费用", width: '300', formatter: (row: any) => {
|
|
|
let info = row.ptlAgreementCostTypeList.find((val: any) => val.costType == '交强险');
|
|
|
if (info) {
|
|
|
- return `入口:${info.inlet.toFixed(2)}% 出口:${info.export.toFixed(2)}%\n加投:${info.addThrow.toFixed(2)}% 手续费:${info.commission.toFixed(2)}%`
|
|
|
+ return `入口:${info.inlet?.toFixed(2)}% 出口:${info.export?.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}% 手续费:${info.commission?.toFixed(2)}%`
|
|
|
} else {
|
|
|
return '-'
|
|
|
}
|
|
|
@@ -621,7 +621,7 @@ const columns = [
|
|
|
prop: "agreementAbbreviation", label: "商业险费用", width: '300', formatter: (row: any) => {
|
|
|
let info = row.ptlAgreementCostTypeList.find((val: any) => val.costType == '商业险');
|
|
|
if (info) {
|
|
|
- return `入口:${info.inlet.toFixed(2)}% 出口:${info.export.toFixed(2)}%\n加投:${info.addThrow.toFixed(2)}% 手续费:${info.commission.toFixed(2)}%`
|
|
|
+ return `入口:${info.inlet?.toFixed(2)}% 出口:${info.export?.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}% 手续费:${info.commission?.toFixed(2)}%`
|
|
|
} else {
|
|
|
return '-'
|
|
|
}
|
|
|
@@ -631,7 +631,7 @@ const columns = [
|
|
|
prop: "deptName", label: "驾意险费用", width: '300', formatter: (row: any) => {
|
|
|
let info = row.ptlAgreementCostTypeList.find((val: any) => val.costType == '驾意险');
|
|
|
if (info) {
|
|
|
- return `入口:${info.inlet.toFixed(2)}% 出口:${info.export.toFixed(2)}%\n加投:${info.addThrow.toFixed(2)}% 手续费:${info.commission.toFixed(2)}%`
|
|
|
+ return `入口:${info.inlet?.toFixed(2)}% 出口:${info.export?.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}% 手续费:${info.commission?.toFixed(2)}%`
|
|
|
} else {
|
|
|
return '-'
|
|
|
}
|