婚检增加 性别判断 ,

main
yanzai 6 months ago
parent d296506ab1
commit 3bc33185ac

@ -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

Loading…
Cancel
Save