J.D. Martinez hit an early three-run homer and Julio Urías pitched seven strong innings as the streaking Dodgers beat rival San Diego 4-2 on Saturday.