your baby now at 10 months will be jsut fine if he has your love and constant care and support.
also if you ahve good caregivers to take car of him while you supprot your partner visit him in rehab or however you intend to do that.
long term -there are potential very negative effects of depression/alcoholism on the hwole family and the children - but there are ways to mitigate this. eg child should ahve time away from the depresssed parent, experience non-depressed households/people etc.
you need support, you need to go to al anon and seek counselling and RL support from your family to support you and your baby,
not drinking aroudn teh abby does not mean the family is not impacted by the drniking at other times - your stress will show thru not just when he is drinking. because you always waiting fo the next time....
so dont worry too much now about the baby if things are happening to get your P treated but you need to look onger term.
do consider who else can care for him if you need to go off and support your P, get support for you and advice from al-anon and be aware that living in a stresed out family - long term - will have an impact.
surround yourself with RL friends and family who are not drinking/depressed so you and baby can have times away from that. so that the majority of times you are in happy, calm, loving environment.