No, the accelerating elevator will affect the weight of both sides of the beam balance. So, the net effect of the accelerating elevator cancels out, and we get the actual mass.