Shanghai textile firm beats forecast