To me it looks like there is some sort of infection going on.
I have no idea as to how your vet intends to put it back together apart from glueing it and if so I would say a drain will need to be fitted so any infection can drain out.
As none of us have seen this before can you please keep us informed as to how you get on as all of us still learning.