I'm sorry for your loss. You should received, a new ID card as part of your benefit so that you would access to military facilities. Contact the base chaplain to get it fixed or the unit.
Your dependent I'd should do the trick.
You will need a spouse of military benefits card to access the main gate first, then you will be free to shop while inside.
Thanks! Your answer is awaiting moderation.