Working for a company that deals with another that sells alcohol
Selling alcohol is haraam, because Allaah says (interpretation of the meaning):
“O you who believe! Intoxicants (all kinds of alcoholic drinks), and gambling, and Al‑Ansaab (stone altars for sacrifices to idols etc), and Al‑Azlaam (arrows for seeking luck or decision) are an abomination of Shaytaan’s (Satan’s) handiwork. So avoid (strictly all) that (abomination) in order that you may be successful.
91. Shaytaan (Satan) wants only to excite enmity and hatred between you with intoxicants (alcoholic drinks) and gambling, and hinder you from the remembrance of Allaah and from As‑Salaah (the prayer). So, will you not then abstain?”
And al-Bukhaari (22360 and Muslim 91581) narrated from Jaabir ibn ‘Abd-Allaah (may Allaah be pleased with him) that he heard the Messenger of Allaah (peace and blessings of Allaah be upon him) say: Allaah and His Messenger have forbidden the sale of alcohol.”
Al-Tirmidhi (1295) and Ibn Majaah (3381) narrated that Anas ibn Maalik (may Allaah be pleased with him) said: The Messenger of Allaah (peace and blessings of Allaah be upon him) cursed ten with regard to wine: the one who squeezes (the grapes etc), the one who asks for it to be squeezed, the one who drinks it, the one who carries it, the one to whom it is carried, the one who pours it, the one who sells it and consumes its price, the one who buys it and the one for whom it is bought.
Classed as saheeh by al-Albaani in Irwa’ al-Ghaleel (2385).
With regard to the company that deals with one that deals in alcohol, if they help in that trade then undoubtedly they are doing something haraam and have a share of the sin, and it is not permissible for anyone to do any work that is connected to that. But if their interaction with those who deal in alcohol has nothing to do with the alcohol and is not helping with it, rather it has to do with other work that is permissible, then it is permitted to work with this company with regard to permissible work that does not help with haraam things.
See also the answer to question no. 48005.
And Allaah knows best.