The invention provides a method for using a washing machine to realize one-button ordering, and the washing machine. The method comprises the steps that: S1, the washing machine receives a trigger signal; S2, an ordering command is sent to a server, wherein the ordering command comprises identity identification information and an identifier of the trigger signal; and S3, after the server receives the ordering command, the server searches for goods attribute information, consignee information and a payment mode corresponding to the ordering command and generates a goods order. When the washing machine receives the trigger signal, the washing machine sends the ordering command to the server, and after the server receives the ordering command, the server generates the goods order, so that when the goods is used up, the preset corresponding goods can be rapidly purchased on the washing machine, the shopping operation of a user is simplified, the shopping time of the user is saved, the shopping efficiency of the user is improved, and the rapid ordering of the goods is realized.