<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" id="modal_descuentog">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content">
            <div class="modal-header" style="border: 0px ;">
                <h5 class="modal-title">Descuento global</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="row">
                    <div class="col-4">
                        <input type="radio" id="1" value="1" v-model="picked" @change="cambiarFormulario()">
                        <label for="uno">Porcentaje</label>
                    </div>
                    <div class="col-4 mb-3">
                        <input type="radio" id="2" value="2" v-model="picked" @change="cambiarFormulario()">
                        <label for="Dos">Monto </label>
                    </div>
                    <div class="col monto_descuento" style="display:none;">
                        <div class="form-group form-group-default">
                            <div class="form-group">
                                <label for="montopagar">Monto a descontar</label>
                                <input type="text" v-money="money" v-model="dataEditar.monto" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="card-pricing">
                                <ul class="specification-list">
                                    <li class="text-danger">
                                        <span class="name-specification">Total</span>
                                        <span class="status-specification" style="font-size: 20px;">{{total}}</span>
                                    </li>
                                    <li>
                                        <span class="name-specification">Porcentaje</span>
                                        <span class="status-specification" style="font-size: 20px;">{{porcentajemontodesc}} %</span>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col porcentaje_descuent" style="display:none;">
                      <input v-model="desc" type="text" class="form-control text-right border-dark">
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary  btn-sm" data-dismiss="modal">Cerrar</button>
                <button type="button" @click="colocarDescuento()" class="btn btn-primary  btn-sm">Guardar</button>
            </div>
        </div>
    </div>
</div>