Your PR visa will be cancelled, application will reopen, and visas will be issued together when the spouse's processing is complete. This is IF you get married after stamping and before landing.
If you get married after landing, you will need to sponsor your spouse through the family class.