The storm affected large parts of China, including Beijing, causing hazardous air quality and grounding dozens of flights.