diff --git a/h5/pages/main/combo/combo.vue b/h5/pages/main/combo/combo.vue index 7720b07..8f78b3d 100644 --- a/h5/pages/main/combo/combo.vue +++ b/h5/pages/main/combo/combo.vue @@ -397,6 +397,11 @@ uni.$lu.toast("当前体检人身份证信息有误,请先完善身份证信息"); return false; } + //婚检性别限定 + if($store.getCheckupTypeId()?.id==4 && (item.sex != 0 && item.sex != $store.getUser()?.sex)){ + uni.$lu.toast("当前体检人性别与套餐限定性别不符,不能预约"); + return false; + } if($store.getTempPlan()?.plan_time && item.keyue_start_time!=null && item.keyue_end_time!=null){ let planTime=$store.getTempPlan()?.plan_time