A detergent box assembly, comprising: a housing mechanism, a material box mechanism, an ejection mechanism, and a locking mechanism, wherein the housing mechanism is provided with a first accommodation cavity, and the first accommodation cavity is configured to accommodate the material box mechanism; and the ejection mechanism is separately coupled to the material box mechanism and the locking mechanism, the locking mechanism is separately coupled to the housing mechanism and the material box mechanism, and the locking mechanism comprises a track, a track switch, and an actuating assembly, wherein the track comprises a locking end, a releasing end, and a first part and a second part respectively connected to the locking end and the releasing end side-by-side to form a loop, and the releasing end is placed to limit a maximum ejection displacement of the material box mechanism relative to the housing mechanism; the track switch comprises a direction changing portion and a guide portion; the guide portion configured to slide along the track, the direction changing portion configured to adjust a deflection angle of the guide portion in response to a sliding position of the guide portion on the track, and the material box mechanism is in a locked state when the guide portion is located at the locking end; and the actuating assembly is coupled to the ejection mechanism, the track switch, and the material box mechanism separately, and is configured to be driven by the ejection mechanism to drive the material box mechanism to move relative to the housing mechanism; characterized in that the actuating assembly comprises a sliding member and a block portion, wherein the sliding member is coupled to the ejection mechanism, and the sliding member comprises a push rod; and the block portion is disposed at the material box mechanism, and the block portion fits the push rod, and is configured to be pushed by the push rod to drive the material box mechanism to move relative to the housing mechanism, wherein the housing mechanism is provided with a first opening, and the first opening is used for the push rod to pass through and used for exposing the block portion. the housing mechanism is provided with a first accommodation cavity, and the first accommodation cavity is configured to accommodate the material box mechanism; and the ejection mechanism is separately coupled to the material box mechanism and the locking mechanism, the locking mechanism is separately coupled to the housing mechanism and the material box mechanism, and the locking mechanism comprises a track, a track switch, and an actuating assembly, wherein the track comprises a locking end, a releasing end, and a first part and a second part respectively connected to the locking end and the releasing end side-by-side to form a loop, and the releasing end is placed to limit a maximum ejection displacement of the material box mechanism relative to the housing mechanism; the track switch comprises a direction changing portion and a guide portion; the guide portion configured to slide along the track, the direction changing portion configured to adjust a deflection angle of the guide portion in response to a sliding position of the guide portion on the track, and the material box mechanism is in a locked state when the guide portion is located at the locking end; and the actuating assembly is coupled to the ejection mechanism, the track switch, and the material box mechanism separately, and is configured to be driven by the ejection mechanism to drive the material box mechanism to move relative to the housing mechanism; characterized in that the actuating assembly comprises a sliding member and a block portion, wherein the sliding member is coupled to the ejection mechanism, and the sliding member comprises a push rod; and the block portion is disposed at the material box mechanism, and the block portion fits the push rod, and is configured to be pushed by the push rod to drive the material box mechanism to move relative to the housing mechanism, wherein the housing mechanism is provided with a first opening, and the first opening is used for the push rod to pass through and used for exposing the block portion.