|
@@ -517,6 +517,9 @@ const filterCostTypeList = (name: string) => {
|
|
|
if (name === "单商" && item.costType === "交强险") {
|
|
if (name === "单商" && item.costType === "交强险") {
|
|
|
return false; // 当 name 为 "商业" 且 costType 为 "交强险" 时,返回 false,不包含该项
|
|
return false; // 当 name 为 "商业" 且 costType 为 "交强险" 时,返回 false,不包含该项
|
|
|
}
|
|
}
|
|
|
|
|
+ if (name === "单三" && item.costType === "交强险") {
|
|
|
|
|
+ return false; // 当 name 为 "商业" 且 costType 为 "交强险" 时,返回 false,不包含该项
|
|
|
|
|
+ }
|
|
|
return true; // 其他情况返回 true,保留该项
|
|
return true; // 其他情况返回 true,保留该项
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|