<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" id="modal_cambiar_proveedor">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">Cambiar proveedor</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <small class="form-text text-muted">Nº DOCUMENTO / TELEFONO / RAZÓN SOCIAL</small>
                    <div class="input-icon">
                        <input type="text" id="cambiar_busprov" class="form-control" placeholder="buscar proveedor" @keyup="buscarProveedor" tabindex="-1">
                        <span class="input-icon-addon">
                            <i :class="icon_cambiar_proveedor"></i>
                        </span>
                    </div>
                    <ul class="list-group" v-if="proveedores.length">
                        <a href="#" class="list-group-item list-group-item-action list-group-item-secondary d-flex justify-content-between align-items-center" v-for="row in proveedores" @click.prevent="cambiarProveedor(row.prov_id)">
                            {{ row.prov_cifnif }} {{ row.prov_razonsocial }}
                        </a>
                    </ul>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal">Cerrar</button>
            </div>
        </div>
    </div>
</div>