"Comment dit-on" is more indirect, it literally translates to "how would one say" where as "comment dites-vous" is "how do you say" which is more direct, and also more formal. They both mean the same thing, choosing which one is more of a stylistic choice.
Hope this helps :)