|
@@ -63,18 +63,21 @@
|
|
|
<div class="time-select-container" v-show="personalForm.shopType === '2'">
|
|
|
<div class="inputItem">
|
|
|
<div class="labelTit"><label><i>*</i>营业开始时间</label></div>
|
|
|
- <input type="text" v-model="personalForm.startTime" placeholder="请选择营业开始时间" @click="startTimeShow = true">
|
|
|
+ <input @focus="noBomBox" type="text" v-model="personalForm.startTime" placeholder="请选择营业开始时间"
|
|
|
+ @click="startTimeShow = true">
|
|
|
</div>
|
|
|
|
|
|
<div class="inputItem">
|
|
|
<div class="labelTit"><label><i>*</i>营业结束时间</label></div>
|
|
|
- <input type="text" v-model="personalForm.endtime" placeholder="请选择营业开始时间" @click="endTimeShow = true">
|
|
|
+ <input @focus="noBomBox" type="text" v-model="personalForm.endtime" placeholder="请选择营业开始时间"
|
|
|
+ @click="endTimeShow = true">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="inputItem">
|
|
|
<div class="labelTit"><label><i>*</i>店铺分类</label></div>
|
|
|
- <input @focus="noBomBox" type="text" placeholder="请选择店铺所属分类" v-model="selectShopCategoryStr" @click="show2 = true">
|
|
|
+ <input @focus="noBomBox" type="text" placeholder="请选择店铺所属分类" v-model="selectShopCategoryStr"
|
|
|
+ @click="show2 = true">
|
|
|
<van-popup v-model="show2" round position="bottom">
|
|
|
|
|
|
<div v-show="isQueryShopCategory" class="loading-container"><van-loading color="#ee0a24" type="spinner" />
|
|
@@ -91,7 +94,8 @@
|
|
|
</div>
|
|
|
<!-- <span class="iconfont"></span> -->
|
|
|
<input type="text" v-model="personalForm.storeAddressDetail" placeholder="请输入详细地址">
|
|
|
- <van-popup v-model="show1" round position="bottom">
|
|
|
+ <van-popup :close-on-click-overlay="false" v-model="show1" round position="bottom"
|
|
|
+ @close="handleClosePopup('areaId')">
|
|
|
<!-- v-if="isRequestAddres" sb玩意不动态刷新,现在换了给方法,强行重新赋值,不完全完美的解决问题 -->
|
|
|
<van-cascader v-model="personalForm.areaId" title="请选择所在地区" :options="options" @close="show1 = false"
|
|
|
@change="onAddresChange" :field-names="{ text: 'name', value: 'id', children: 'children' }" />
|
|
@@ -660,6 +664,14 @@ export default {
|
|
|
noBomBox(Event) {
|
|
|
document.activeElement.blur()
|
|
|
},
|
|
|
+ handleClosePopup(type) {
|
|
|
+ if (type === 'areaId') {
|
|
|
+ if (!this.personalForm.shopAdressProvince || !this.personalForm.shopAdressCity) {
|
|
|
+ this.personalForm.areaId = null
|
|
|
+ this.fieldValue = ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
// 提交申请
|
|
|
submitForm() {
|
|
|
let self = this
|