I think that it is illegal to take dogs into a grocery store. At least it is in violation of board of health rules. Drop a dime, if Walmart management does not respond to your complaint.
If they are service dogs, they can go into a store or restaurant.