The story is really about Sammy, not the girls, not Lengel, not the shoppers. So all the action in the story has to do with Sammy and his evolution as a character through this story.
"Ordinary events become pivotal as people examine their motives and reasons for their decisions and behavior. At nineteen, Sammy is ripe for experiences that will start to define who he is going to be. He discovers, as "his stomach kind of fell," that he prefers not to be a sheep who blindly follows the dictates of society."
The story is about Sammy learning a lesson about life, or the ephiphany, which he has at the end when he realizes what the consequences of his decision are going to be. Because he decided to walk out on his job to make a stand, to defy society, to be rebellious.
Sammy realizes that there are consequences to his actions.
"The girls inevitably stop their protestations, as Lengel expected they would, but Sammy quits—an act that Lengel could not have imagined ahead of time. To Lengel's credit, in spite of his stuffiness and self-importance, he shows Sammy patience. He does not yell or order him immediately out of the store, but warns him of the very real consequences of his act."
Like most young people, Sammy will not believe the words of an adult, he must learn them on his own. He must come to feel the pain of his decision through his own experience, because that is the only way that he will learn what life is really all about.
If Updike had written the story to have Lengel catch the girls clad in their bathing suits upon entry to the store, it would have probably resulted in their immediate dismissal from the store, thus largely eliminating the story. Still, even if Lengel had allowed them to get what they want and leave, it would not have allowed Stokesie, and more importantly, our narrator Sammy to develop a liking and an arousal toward the girls.
By Sammy watching and consequently developing a liking to the girls, he has the stern contrast of Lengel-- the boss he doesn't particularly like of a job he doesn't particularly like-- be the bad guy in taking away his eye candy. In addition to this, Sammy likely feels some genrational loyalty and he seizes the opportunity to quit his job.
If Lengel had confronted the girls earlier in the story, Sammy's bond would have been incomplete and the end result would likely have been different--if anything would have occurred at all.