The work done on an object lifted in the upward direction such that it moves at a constant speed, is:
Work done by the body moving in an upward direction is mgh, where 'h' is displacement.
Since the body is moving at constant velocity, the net force is zero. Hence the force required to lift the body is the same as its weight. Force = mg. Displacement = h, work done = mgh