It can take 2 months to get permit. If cat is arriving from UK, Ireland, Jamaica, St. Kitts - Nevis, Antigua, St. Lucia and St. Vincent, then no quarantine is required.
Shanghai is one of few entry points into mainland China.
You must obtain an export license 60 days before leaving the country. See Hong Kong for details about visiting this city in China. Yes Also need certificate of immunization against feline distemper, pneumonitis and Feline Leukemia. No quarantine if arriving from Australia, New Zealand, or United Kingdom. There is extensive preparations needed to qualify for 30 day quarantine, including cat must have received 2 rabies shots in last year, not more than 6 months apart.