A washing machine with a steam washing function and a control method are provided. The washing machine includes an outer drum, wherein a heater is arranged inside the outer drum; the washing machine further includes a spray thrower used for spraying water to the heater, and the heater heats and vaporizes the water sprayed onto the surface to form high-temperature steam. When the heater is provided with a spray thrower which sprays water to the heater, the heater in a heating state can rapidly heat and vaporize the sprayed water to form a large amount of steam, then the steam generated in the outer drum can be utilized to heat and wet the clothes in the inner drum, such that the washing machine has the functions of steam washing, clothes drying, sterilization and disinfection, deodorization and ironing.