-1
Try a JS like that
$('select[name="opcoes"]').on('change', function(){
$('.checks').find('input[type="checkbox"]').each(function(){
$(this).prop('checked', false);
});
if($(this).val() !== ''){
$('input[data-id="'+$(this).val()+'"]').prop('checked', true);
}
});
I made a fiddle to demonstrate
Julio, consider putting more details in your question, this way you put it makes it difficult to help
– Alvaro Alves
AMENDED QUESTION !
– Júlio Ricardo