<form autocomplete="off" @submit.prevent="guardarEditar" id="modal_form_sucursal">
    <div class="modal fade" id="modalSucursal" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-lg" 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-row">
                        <div class="col-md-3">
                            <div class="form-group">
                                <label for="dnisu"># Id. Fiscal</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">
                                            <i class="fas fa-address-card"></i>
                                        </span>
                                    </div>
                                    <input type="text" id="dnisu" class="form-control" v-model="dataForm.dnisu">
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label for="tsu">Teléfono</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">
                                            <i class="fas fa-phone"></i>
                                        </span>
                                    </div>
                                    <input type="tel" id="tsu" v-mask="'(####) ###-####'" class="form-control" v-model="dataForm.tsu">
                                </div>
                                <small class="form-text text-muted" style="font-size:10px; padding-left:45px;">(0000) 000-0000</small>
                            </div>
                        </div>
                        <div class="col-md-5">
                            <div class="form-group">
                                <label for="nsu">Nombre</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">
                                            <i class="fas fa-store"></i>
                                        </span>
                                    </div>
                                    <input type="text" id="nsu" class="form-control" v-model="dataForm.nsu">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-row">
                        <div class="col-md-8">
                            <div class="form-group">
                                <label for="dsu">Dirección</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">
                                                <i class="fas fa-crosshairs"></i>
                                        </span>
                                    </div>
                                    <input type="text" id="dsu" class="form-control" v-model="dataForm.dsu">
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label for="zsu">Zona Horaria</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">
                                            <i class="fas fa-globe-americas"></i>
                                        </span>
                                    </div>
                                    <select id="zsu" v-model="dataForm.zsu" class="form-control custom-select">
                                        <option v-for="row in zonas" :value="row.zh_id">{{ row.zh_zona }}</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-row">
                        <div class="col-md-7">
                            <div class="form-group">
                            <label for="csu">Correo Electrónico</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">
                                            <i class="fas fa-at"></i>
                                        </span>
                                    </div>
                                    <input type="mail" id="csu" class="form-control" v-model="dataForm.csu">
                                </div>
                                <small class="form-text text-muted" style="font-size:10px; padding-left:45px;">usuario@ejemplo.com</small>
                            </div>
                        </div>
                        <div class="col-md-5">
                            <div class="form-group">
                                <label for="swsu">Sitio Web</label>
                                <div class="input-group">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">
                                                <i class="fas fa-globe"></i>
                                        </span>
                                    </div>
                                    <input type="text" id="swsu" class="form-control" v-model="dataForm.swsu">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-12">
                            <div class=" alert alert-warning" role="alert" v-for="row in errorForm">
                                {{ row }}
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary  btn-sm" data-dismiss="modal">Cerrar</button>
                    <button v-if="cargando" class="btn btn-sm btn-primary" disabled>
                        <i class="loader loader-info"></i>
                    </button>
                    <button v-else type="submit" class="btn btn-primary  btn-sm">{{ accion }}</button>
                </div>
            </div>
        </div>
    </div>
</form>