The invention discloses a manufacturing process of a girder of an overhead or gantry crane, a threaded pull rod 7 in a box body 1 of a tensioning device is connected with a connecting seat 6, and the manufacturing process is characterized in that two wedge-shaped grooves are formed on the connecting seat 6, two rope head casting ports 5 with wedge-shaped outer shapes and square cone-shaped inner cavities are mounted in the grooves, two wedge-shaped grooves are formed on a fixed hinge 19 at the other end of a steel wire rope 3, and the rope head casting ports 25 with the wedge-shaped outer shapes and the square cone-shaped inner cavities are mounted in the grooves. The manufacturing process adopts the two groups for tensioning, the two groups are mounted on the same girder, and the ultimate tensioning force is great, thereby being applicable to manufacturing the girders of the cranes with the hoisting capacity of below 400 tons. The manufacturing process has the advantages of easy manufacturing, low cost and convenient construction, and is particularly applicable to manufacturing the gantry cranes with the span of above 60m in ports and the shipbuilding industry. The arch difference of the girder of the crane manufactured by adopting the invention can be controlled within 0-1mm, which is better than the international standard; furthermore, the manufacturing process can increase the cutting area of the girder structure, improve the strength, the static stiffness and the hoisting capacity of the girder, save steel, reduce the cost by 15-20%, be in line with the policies of energy conservation and emission reduction and prolong the service life of equipment.