<form @submit.prevent="autorizarDescuentoProducto">
    <div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" id="modal-descuento">
        <div class="modal-dialog modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-header" style="border: 0px ;">
                    <h5 class="modal-title">Descontar</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-row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="calve">Descuento</label>
                                <input type="number" class="form-control" v-model="descuento_producto">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="agente">Empleado</label>
                                <select id="empleado" class="form-control" v-model="empleado_autorizado">
                                    <option value="" disabled selected>SELECCIONAR EMPLEADO</option>
                                    <?php foreach ($empleados as $row) : ?>
                                        <option value="<?= $row['emp_username'] ?>"><?= $row['emp_username'] ?></option>
                                    <?php endforeach; ?>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="calve">Clave</label>
                        <input type="password" class="form-control" v-model="clave">
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary  btn-sm" data-dismiss="modal">Cerrar</button>
                    <button type="submit" class="btn btn-primary  btn-sm">Autorizar</button>
                </div>
            </div>
        </div>
    </div>
</form>
