The completed SDSS-IV extended Baryon oscillation spectroscopic survey : exploring the halo occupation distribution model for emission line galaxies