"I'm going to eat dinner."
Here, "going to" means "will". This is a special use of "going to".
"I'm going to dinner."
Here, "going" is just the present continuous form of "go". It means that you're going to wherever dinner is located (probably a restaurant, but it can mean you're just going to the dining room).