A detergent dispensing device for a dishwasher, including: a storage box including a first half shell and a second half shell fixedly connected to each other in a first direction to define a storage cavity for storing detergent, the storage box including a first storage cavity for storing a first detergent and a second storage cavity for storing a second detergent; a discharge pump configured to suck the first detergent from the first storage cavity and to dispense the first detergent to the outside of the detergent dispensing device , and to suck the second detergent from the second storage cavity and to dispense the second detergent to the outside of the detergent dispensing device ; and a pipeline module including a first inlet channel for extracting the first detergent from the first storage cavity by the discharge pump , a second inlet channel for extracting the second detergent from the second storage cavity by the discharge pump , a first outlet channel for dispensing the first detergent by the discharge pump , and a second outlet channel for dispensing the second detergent by the discharge pump , characterized in that the pipeline module includes a first filling channel for filling the first detergent to the first storage cavity, a second filling channel for filling the second detergent to the second storage cavity, and that the second half shell defines a pump accommodating space for accommodating at least a part of the discharge pump , both ends of the pump accommodating space of the second half shell in the first direction have a first opening close to the first half shell and a second opening away from the first half shell to allow the discharge pump to protrude from the first opening and the second opening . a storage box including a first half shell and a second half shell fixedly connected to each other in a first direction to define a storage cavity for storing detergent, the storage box including a first storage cavity for storing a first detergent and a second storage cavity for storing a second detergent; a discharge pump configured to suck the first detergent from the first storage cavity and to dispense the first detergent to the outside of the detergent dispensing device , and to suck the second detergent from the second storage cavity and to dispense the second detergent to the outside of the detergent dispensing device ; and a pipeline module including a first inlet channel for extracting the first detergent from the first storage cavity by the discharge pump , a second inlet channel for extracting the second detergent from the second storage cavity by the discharge pump , a first outlet channel for dispensing the first detergent by the discharge pump , and a second outlet channel for dispensing the second detergent by the discharge pump , characterized in that the pipeline module includes a first filling channel for filling the first detergent to the first storage cavity, a second filling channel for filling the second detergent to the second storage cavity, and that the second half shell defines a pump accommodating space for accommodating at least a part of the discharge pump , both ends of the pump accommodating space of the second half shell in the first direction have a first opening close to the first half shell and a second opening away from the first half shell to allow the discharge pump to protrude from the first opening and the second opening . <EOS>