Your travel outside Canada for a short stay will have no effect on your husband spousal sponsorship application.
You travel outside Canada may have effect if you move out to reside permanently outside Canada.
You are very okay to visit your husband for 2 weeks and should have no fear of re-entry to Canada and no fear of effect on your husband spousal sponsorship.
As a PR in Canada.....you won't have any re-entry problem and is allowed into Canada without any barriers, all you need do if have your PR card, have a valid foreign travel passport (you don't need a Canadian Visa), and ensure you maintain your residency status by residing in Canada at least 2 years in a 5 year period).
Understand permanent resident status.......