The TJX Companies has booked a drop in earnings in the fourth quarter amid a competitive retail environment and poor weather conditions.