I don’t recommend freezing pasta as it often gets extremely mushy after freezing.  But the sauce and vegetables can be frozen.  The best thing you can do if you know you will have leftovers is to keep the sauce, vegetables and pasta separate.  The sauce and vegetables can easily be frozen and then reheated later and added to another batch of pasta.  And the extra pasta can be stored in the refrigerator to make a salad or different pasta recipe later in the week.