Definition
This phrase is used to express that someone or something has caused damage or created a difficult situation that is beyond repair.
"That's done it!" he said looking at the computer screen, "I accidentally deleted the important file."
"Oh no, that's done it!" she exclaimed, "I spilled coffee all over my report."
When he realized he had missed the last train, he said, "That's really done it!"