This is a way to make a suggestion to do something together. You use this when you expect the listener to agree with you:
I don't feel like cooking tonight. Why don't we order something out?
Why don't we make a deal: if I help you with this, you have to promise to come to my game on Sunday.