This paper is concerned with the virtual element method for the semiconductor device problem on polygonal meshes. Specifically, The potential equation is discretized by the mixed virtual element method and the electron and hole density equations by the original virtual element method. The optimal convergence analysis of the numerical solutions for the electrostatic potential, the electric field intensity, the electron density and the hole density is carried out for full discrete scheme. The validity and stability of the method are verified by numerical experiments.