The invention discloses a clamp. The clamp comprises a supporting component, first abutting components, second abutting components and third abutting components, wherein the supporting component is used for providing supporting, the first abutting components are fixed to the supporting component, and are used for being in cooperation in the vertical direction to clamp an end beam which is processed through spot welding, the second abutting components are fixed to the supporting component, and are used for being in cooperation in the left-and-right direction to clamp the end beam, and the third abutting components are fixed to the supporting component, and are used for being in cooperation in the front-and-rear direction to clamp the end beam. According to the technical scheme, the clamp acts on the positions, without weld joints, of the end beam, and can carry out locating on the end beam in six directions, all the weld joints on the end beam can be exposed, a mechanical arm does not need to continuously change positions to meet the requirement for welding, reliability of locating of the end beam is effectively ensured, the mechanical arm can be smoothly used for carrying out welding operation in the follow-up working procedures, and welding quality and welding efficiency can be ensured.