An outdoor unit for an air conditioner, comprising: a body; a rotor arranged in the body; a welded member for electronic control arranged in a top portion within the body, defining at least one opening (31, 32) in a bottom portion of the welded member for electronic control, and provided with an electronic control component in the welded member for electronic control; a waterproof member connected to the bottom portion of the welded member for electronic control and being opposite to the opening (31, 32), the waterproof member defining an airflow passage in communication with the opening (31, 32) cooperatively with the welded member for electronic control, characterized in that the waterproof member having two ends separately spaced apart from the welded member for electronic control to define two airflow outlets in communication with the airflow passage, whereby the two airflow outlets are the only airflow outlets defined by the waterproof member; and in that at least one baffle is provide which is arranged in the airflow passage to prevent liquid from entering the welded member for electronic control through the airflow passage; and in thatthe waterproof member is open at a top portion, two sides of the waterproof member in a width direction are provided with connecting parts extending outwards respectively, the waterproof member is connected to the bottom portion of the welded member for electronic control by means of the connecting parts, and two ends of the waterproof member in the length direction are spaced apart from the welded member for electronic control to define the two airflow outlets respectively; and in that the baffle comprises a first sub-baffle, and the first sub-baffle surrounds the opening and extends downwards into the waterproof member; and in that the baffle further comprises a second sub-baffle, the second sub-baffle has a first end connected to the bottom portion of the welded member for electronic control and a second end extending downwards and spaced apart from a bottom wall of the waterproof member, and the second sub-baffle is arranged between the opening (31, 32) and one of the airflow outlets; and in that a width of the airflow outlets in an up-down direction is represented by a, a height of the first sub-baffle is represented by b, a height of the second sub-baffle is represented by c, a distance between a bottom surface of the welded member for electronic control and a bottom wall of the waterproof member is represented by d, and a, b, c, and d satisfy a<b<d, and a<c<d. a body; a rotor arranged in the body; a welded member for electronic control arranged in a top portion within the body, defining at least one opening (31, 32) in a bottom portion of the welded member for electronic control, and provided with an electronic control component in the welded member for electronic control; a waterproof member connected to the bottom portion of the welded member for electronic control and being opposite to the opening (31, 32), the waterproof member defining an airflow passage in communication with the opening (31, 32) cooperatively with the welded member for electronic control, characterized in that the waterproof member having two ends separately spaced apart from the welded member for electronic control to define two airflow outlets in communication with the airflow passage, whereby the two airflow outlets are the only airflow outlets defined by the waterproof member; and in that at least one baffle is provide which is arranged in the airflow passage to prevent liquid from entering the welded member for electronic control through the airflow passage; and in thatthe waterproof member is open at a top portion, two sides of the waterproof member in a width direction are provided with connecting parts extending outwards respectively, the waterproof member is connected to the bottom portion of the welded member for electronic control by means of the connecting parts, and two ends of the waterproof member in the length direction are spaced apart from the welded member for electronic control to define the two airflow outlets respectively; and in that the baffle comprises a first sub-baffle, and the first sub-baffle surrounds the opening and extends downwards into the waterproof member; and in that the baffle further comprises a second sub-baffle, the second sub-baffle has a first end connected to the bottom portion of the welded member for electronic control and a second end extending downwards and spaced apart from a bottom wall of the waterproof member, and the second sub-baffle is arranged between the opening (31, 32) and one of the airflow outlets; and in that a width of the airflow outlets in an up-down direction is represented by a, a height of the first sub-baffle is represented by b, a height of the second sub-baffle is represented by c, a distance between a bottom surface of the welded member for electronic control and a bottom wall of the waterproof member is represented by d, and a, b, c, and d satisfy a<b<d, and a<c<d.