It depends on the proportions of the losses. Most of the time the enemy will be able to retreat. But if you've killed a large amount, the enemy army is completely destroyed. You'll see the retreat or death animation on the campaign map.

Conversely, the same happens to your armies. You might end up losing an entire army, even if some troops successfully escaped the battlefield.