Lawmakers in Springfield approved a measure that aims to protect warehouse workers whose workdays center on hitting quotas.