Sri Lanka beat Zimbabwe 2-1 in the third and final ODI of the three-match series played at the Pallekele Stadium in Kandy.