Ver código fonte

过滤订单编辑返回的商业险列表中的交强险

@dongkboy 4 semanas atrás
pai
commit
5e913b62b7
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      pages/quote/Mixin.js

+ 2 - 2
pages/quote/Mixin.js

@@ -465,14 +465,14 @@ export default {
 						ele.result = item;
 						ele.insurancePlanInfo = {};
 						ele.insurancePlanInfo.drivings = item.accidentalDrivings;
-						ele.insurancePlanInfo.kinds = item.kindInfoVo;
+						ele.insurancePlanInfo.kinds = item.kindInfoVo.filter(item => item.kindCode != 'J1');
 						ele.quoteCode = 200;
 					} else {
 						ele.result = item;
 						ele.msg = item.errorMessage;
 						ele.insurancePlanInfo = {};
 						ele.insurancePlanInfo.drivings = item.accidentalDrivings;
-						ele.insurancePlanInfo.kinds = item.kindInfoVo;
+						ele.insurancePlanInfo.kinds = item.kindInfoVo.filter(item => item.kindCode != 'J1');
 						ele.quoteCode = 3;
 					}