In comic book terms, they call that "PIS" or "Plot Induced Stupidity".
Basically, quite often a character is capable of dealing with a situation more more efficiently than he is shown to, but because it would take away suspense or drama from the story, they will neglect to show that and write the character down. Wolverine is a victim of this often, but characters like Thor, Superman and The Hulk get it MUCH worse than Logan does.
That said, I/We all love Batman, but his rep as being a master planner is a bit overhyped. He's pretty much good at EVERYTHING, but he's really not the BEST at anything except detective work. There are probably 5-15 characters in both universes superior to him in just about any area, its just that Batman's well roundedness allow him to cheat or change the fight to his own terms.
Peep Batman's fight with Karate Kid from LoSH. Batman thought he could take him but was getting his ass kicked but realized if he could stall until Black Lighting woke up, he'd be good