A water inflow control method for a washing machine and a washing machine. A washing machine, comprising a dispensing device (3) and a single water inlet valve (1). A plurality of pipelines are discharged into the inner part of the dispensing device (3) from a water outlet of the same single water inlet valve (1); the pipelines comprise a first pipeline (21) used for dispensing detergents and/or additives and a second pipeline (22) used for spraying an observation window glass door and/or a glass sealing window pad; the water output ratio of the first pipeline (21) to that of the second pipeline (22) is 1: N, wherein N ≥ 1, so that the first pipeline (21) and the second pipeline (22) simultaneously discharge water when water enters the washing machine. The described washing machine simultaneously achieves the functions of dispensing washing additives and spraying the observation window glass door and/or the glass sealing window pad of the washing machine by means of a single water inlet valve (1), has a sim