Yes, there's the odd dialogue in "Balance of Terror" where the Martine/Tomlinson wedding somehow will alter the fact that Tomlinson is Martine's superior officer. Will one or the other have to take a transfer?
Tomlinson is not the captain, after all; he doesn't have the latitude to have his wife serve under his command, like Riker and Troi would later do on the Titan
I think that in Tomlinson and Martine's case there would be a fair whack of grumbling from the rest of his phaser control team that he was somehow favoring her. Riker wouldn't have that problem, because he's the captain, and he can have whoever he wants on his bridge.