JSFiddle - React, Tailwind, and code Playground

HTML

<select name="type" class="type">
     <option ></option>
     <option>Тип1</option>
     <option>Тип2</option>
   </select>
   <p></p>
   <label>
			<input type="radio" name="time" value="yestime" class="rrad">
			<div class="rtext">Трубы горят</div>
			</label>
      
			<label>
			<input type="radio" name="time" value="notime" class="rrad">
			<div class="rtext">Время есть</div>
			</label>
      
     <input type="text" class="price" value="0" readonly>

JavaScript

time_plus = false;
$('.type').change(function () {

if ($( this ).val() == "Тип1") {
	$('.price').val(500);
  if ( time_plus == true) {
		$('.price').val(+$('.price').val() + 2000);
  }
}

if ($( this ).val() == "Тип2") {
	$('.price').val(800);
	if ( time_plus == true) {
		$('.price').val(+$('.price').val() + 2000);
  }
}
});

$("input[type=radio][name=time]").change(function () {

if ($( this ).val() == "yestime"){
$('.price').val(+$('.price').val() + 2000)
time_plus = true;
}

if ($( this ).val() == "notime" & time_plus == true){
 $('.price').val(+$('.price').val() - 2000);
 time_plus = false;
}

});