If the bowel is resected in the area of the duodenum this could very well have an impact on absorption of the B vitamins but not vitamin B12, cyanobalamin. Vitamin B 12 is absorbed by the gastric mucosa if sufficient amounts of intrinsic factor are present in the lining of the stomach. Other vitamins and minerals are chiefly absorbed in the duodenum (first part of small intestine).
Modern surgical procedures are quite advanced. Even if a patient had a small bowel resection, chances are they entire duodenum would not be removed. Only if the entire duodenum or the entire small intestine was removed would I anticipate a nutritional problem absorbing needed nutrients.