<form autocomplete="off" @submit.prevent="editarGuardar" id="modal_form_cuenta_divisa_metodo">
    <div class="modal fade" id="modal_cuentas_divisa_metodo" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-md" role="document">
            <div class="modal-content">
                <div class="modal-header mh">
                    <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="cdmcuenta">Cuentas</label> 
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <span class="input-group-text">
                                    <i class="fas fa-dollar-sign"></i>
                                </span>
                            </div>
                            <select id="cdmcuenta" v-model="dataForm.cuenta" class="form-control custom-select">
                                <option disabled value="">Seleccione una Cuenta</option>
                                <option v-for="row in cuentasActivas" :value="row.bc_id">{{ row.bc_alias }} - {{ row.ban_descripcion }}</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="cmddm">Divisa / Metodos</label>
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <span class="input-group-text">
                                    <i class="fas fa-hand-holding-usd"></i>
                                </span>
                            </div>
                            <select id="cmddm" v-model="dataForm.divisa_metodo" class="form-control custom-select">
                                <option disabled value="">Seleccione un Elemento</option>
                                <option v-for="row in divisasMetodos" :value="row.md_id">{{ row.div_nombre }} - {{ row.mp_nombre }}</option>
                            </select>
                        </div>
                        
                    </div>
                    <div class="alert alert-warning" v-if="errorForm.length">
                        <p class="mb-1" v-for="row in errorForm">{{ row }}</p>
                    </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>