From 3bc33185ac6699f57fafaa7a1ca230c6d072e900 Mon Sep 17 00:00:00 2001 From: yanzai Date: Mon, 16 Jun 2025 19:13:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A9=9A=E6=A3=80=E5=A2=9E=E5=8A=A0=20?= =?UTF-8?q?=E6=80=A7=E5=88=AB=E5=88=A4=E6=96=AD=20=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5/pages/main/combo/combo.vue | 5 +++++ 1 file changed, 5 insertions(+) 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