<form action="#" autocomplete="off" @submit.prevent="guardarEditar" id="modal_form_metodos_pago">
    <div class="modal fade" id="modalMetodoDePago" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">{{ titulo }}</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">
                        <label for="cmp">Código</label>
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <span class="input-group-text">
                                    <i class="fas fa-hashtag"></i>
                                </span>
                            </div>
                            <input type="text" id="cmp" class="form-control" v-model="dataForm.cmp" required>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="nmp">Nombre</label>
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <span class="input-group-text">
                                    <i class="fas fa-question-circle"></i>
                                </span>
                            </div>
                            <input type="text" id="nmp" class="form-control" v-model="dataForm.nmp" required>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="dmp">Descripción</label>
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <span class="input-group-text">
                                    <i class="fas fa-question-circle"></i>
                                </span>
                            </div>
                            <input type="text" id="dmp" class="form-control" v-model="dataForm.dmp">
                        </div>
                    </div>
                    <div class="alert alert-warning" v-for="row in errorForm">{{ row }}</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">{{ accion }}</button>
                </div>
            </div>
        </div>
    </div>
</form>