A loading vehicle comprising: a vehicle body including a plurality of wheels; an engine mounted on the vehicle body; a variable displacement traveling hydraulic pump that is driven by the engine; a traveling hydraulic motor that is connected to the traveling hydraulic pump through a closed circuit and transmits drive force of the engine to the plurality of wheels; a working device that is mounted rotatably in a vertical direction with respect to the vehicle body; a loading hydraulic pump that is driven by the engine and supplies hydraulic oil to the working device; and a discharge pressure sensor that detects discharge pressure of the loading hydraulic pump, the loading vehicle further comprising a controller configured to control input torque of the traveling hydraulic pump; characterised by a solenoid proportional valve configured to generate control pressure for controlling displacement volume of the traveling hydraulic pump based on a control signal output from the controller, and by the controller being configured to: calculate the displacement volume of the traveling hydraulic pump based on the discharge pressure of the loading hydraulic pump detected by the discharge pressure sensor so that maximum input torque of the traveling hydraulic pump decreases as the discharge pressure of the loading hydraulic pump or the input torque of the loading hydraulic pump increases; and output a control signal corresponding to the calculated displacement volume to the solenoid proportional valve. a vehicle body including a plurality of wheels; an engine mounted on the vehicle body; a variable displacement traveling hydraulic pump that is driven by the engine; a traveling hydraulic motor that is connected to the traveling hydraulic pump through a closed circuit and transmits drive force of the engine to the plurality of wheels; a working device that is mounted rotatably in a vertical direction with respect to the vehicle body; a loading hydraulic pump that is driven by the engine and supplies hydraulic oil to the working device; and a discharge pressure sensor that detects discharge pressure of the loading hydraulic pump, the loading vehicle further comprising a controller configured to control input torque of the traveling hydraulic pump; characterised by a solenoid proportional valve configured to generate control pressure for controlling displacement volume of the traveling hydraulic pump based on a control signal output from the controller, and by the controller being configured to: calculate the displacement volume of the traveling hydraulic pump based on the discharge pressure of the loading hydraulic pump detected by the discharge pressure sensor so that maximum input torque of the traveling hydraulic pump decreases as the discharge pressure of the loading hydraulic pump or the input torque of the loading hydraulic pump increases; and output a control signal corresponding to the calculated displacement volume to the solenoid proportional valve. calculate the displacement volume of the traveling hydraulic pump based on the discharge pressure of the loading hydraulic pump detected by the discharge pressure sensor so that maximum input torque of the traveling hydraulic pump decreases as the discharge pressure of the loading hydraulic pump or the input torque of the loading hydraulic pump increases; and output a control signal corresponding to the calculated displacement volume to the solenoid proportional valve.