JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<title>Page Title</title>
</head>
<body>
<input type="text" name="input" id="input" disabled>
<br><br>
<label>Selecione a opção de recebimento do pedido</label>
<select id="options" onchange="verifica(this.value)">
<option value="2">1 - Delivery</option>
<option value="3">2 - Retirada</option>
</select>
<br>
<br>
<label>Selecione a unidade que irá retirar o do pedido</label>
<select id="options2" disabled>
<option value="2">1 - Unidade </option>
<option value="3">2 - Unidade</option>
</select>
</body>
</html>
JavaScript
function verifica(v) {
if(v == 3)document.getElementById("options2").removeAttribute("disabled");
else document.getElementById("options2").setAttribute("disabled", "disabled");
}