When something good happens, but the negatives already far outweigh anything positive. The positive is small and of little importance when compared to the negative.
Put on (the) dog is an expression that means ‘to make a display of wealth or importance, especially by dressing stylishly and flashily’. It’s similar in meaning to the later expression put on the ritz.