Influence of edge and field effects on topological states of germanene nanoribbons from self-consistent calculations