Commit 632a34c7 by 匡雅琴

按钮

1 parent cfa5189a
...@@ -7,44 +7,50 @@ ...@@ -7,44 +7,50 @@
* @FilePath: \scrm-micro-settings\src\views\baseInfo\editInfo.vue * @FilePath: \scrm-micro-settings\src\views\baseInfo\editInfo.vue
--> -->
<template> <template>
<div class="main-information"> <div>
<div class="information-title">修改企业信息</div> <div class="main-information">
<div class="information-form-box"> <div class="information-title">修改企业信息</div>
<el-form ref="baseForm" :model="infoForm" class="account-body-form" label-width="120px" :rules="baseFormRules"> <div class="information-form-box">
<el-form-item size="small" label="商户地址" class="map-row"> <el-form ref="baseForm" :model="infoForm" class="account-body-form" label-width="120px" :rules="baseFormRules">
<Province ref="provinceForm" :subdistrict="subdistrict" @selectProvince="selectProvince" @selectCity="selectCity"></Province> <el-form-item size="small" label="商户地址" class="map-row">
<el-input class="input-width" v-model="infoForm.merchantAddress" placeholder="请选择商户地址" readonly="readonly"></el-input> <Province ref="provinceForm" :subdistrict="subdistrict" @selectProvince="selectProvince" @selectCity="selectCity"></Province>
<el-button @click="hanleSelectMap" type="primary">选择地址</el-button> <el-input class="input-width" v-model="infoForm.merchantAddress" placeholder="请选择商户地址" readonly="readonly"></el-input>
</el-form-item> <el-button @click="hanleSelectMap" type="primary">选择地址</el-button>
<el-form-item size="small" label="经营业务类型"> </el-form-item>
<el-checkbox-group v-model="infoForm.businessType"> <el-form-item size="small" label="经营业务类型">
<el-checkbox :label="item.dictValue" v-for="item in businessType" :key="item.dictValue" :disabled="item.dictValue <= 6">{{ item.dictLabel }}</el-checkbox> <el-checkbox-group v-model="infoForm.businessType">
</el-checkbox-group> <el-checkbox :label="item.dictValue" v-for="item in businessType" :key="item.dictValue" :disabled="item.dictValue <= 6">{{ item.dictLabel }}</el-checkbox>
</el-form-item> </el-checkbox-group>
<el-form-item size="small" label="营业时间" class="time-row"> </el-form-item>
<el-time-picker size="small" value-format="HH:mm:ss" is-range v-model="infoForm.bussinessTime" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="选择时间范围"></el-time-picker> <el-form-item size="small" label="营业时间" class="time-row">
</el-form-item> <el-time-picker size="small" value-format="HH:mm:ss" is-range v-model="infoForm.bussinessTime" range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间" placeholder="选择时间范围"></el-time-picker>
<el-form-item size="small" label="驻店电话" style="position: relative" prop="residentPhone"> </el-form-item>
<el-input v-model="infoForm.residentPhone" class="phone-input" maxlength="13" placeholder="此电话会在小程序上显示,请填写真实有效的电话或手机号"></el-input> <el-form-item size="small" label="驻店电话" style="position: relative" prop="residentPhone">
<div @click="showTelDia" class="show-address">显示位置</div> <el-input v-model="infoForm.residentPhone" class="phone-input" maxlength="13" placeholder="此电话会在小程序上显示,请填写真实有效的电话或手机号"></el-input>
</el-form-item> <div @click="showTelDia" class="show-address">显示位置</div>
<el-form-item size="small" label="主营品牌" style="height: 500px"> </el-form-item>
<select-brand :brandListTree="brandListTree" @clickBrand="clickBrand" ref="brandListTree"></select-brand> <el-form-item size="small" label="主营品牌" style="height: 500px">
</el-form-item> <select-brand :brandListTree="brandListTree" @clickBrand="clickBrand" ref="brandListTree"></select-brand>
</el-form> </el-form-item>
</el-form>
</div>
<GLDialog :visible.sync="dialogMapVisible" :mode="'big'" title="选择地址">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span>
</GLDialog>
<!-- <GLFooter style="z-index: 2">
<el-button type="primary" @click="handleSave">提交</el-button>
<el-button @click="goback">取消</el-button>
</GLFooter> -->
<TelPosition ref="telDialog" :visible.sync="dialogTelVisible"></TelPosition>
</div> </div>
<GLDialog :visible.sync="dialogMapVisible" :mode="'big'" title="选择地址">
<map-view ref="mapForm" :mapHeight="mapHeight"></map-view>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogMapVisible = false">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span>
</GLDialog>
<GLFooter style="z-index: 2"> <GLFooter style="z-index: 2">
<el-button type="primary" @click="handleSave">提交</el-button> <el-button type="primary" @click="handleSave">提交</el-button>
<el-button @click="goback">取消</el-button> <el-button @click="goback">取消</el-button>
</GLFooter> </GLFooter>
<TelPosition ref="telDialog" :visible.sync="dialogTelVisible"></TelPosition>
</div> </div>
</template> </template>
...@@ -303,7 +309,6 @@ export default { ...@@ -303,7 +309,6 @@ export default {
background: #ffffff; background: #ffffff;
border-radius: 2px; border-radius: 2px;
min-height: calc(100% - 80px); min-height: calc(100% - 80px);
margin-bottom: 84px;
.information-title { .information-title {
height: 58px; height: 58px;
line-height: 58px; line-height: 58px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!