that does itidiom
Definition of that does it
1 —used to say that one has finished doing something. I just need to sign one more letter. There, that does it.
2 —used in angry speech to say that one will not accept or allow something anymore "They say we'll have to wait another hour." "That does it! We're leaving right now!"