The former is definitely the more common of the two. I'm not sure if 'treat' is specifically British English, or just old-fashioned, but either way, I would never use it.
I would just say 'dinner', rather than 'a dinner'.
I think that the way I would say it would be 'I would like to take you out to dinner'.