|
@@ -1,6 +1,6 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="Page">
|
3
|
|
- <MainPageContainer @UserInfoChange="UserInfoChange" @ShopInfoChange="ShopInfoChange" :ShowMainHeader="true" :MainHeaderTitle="`店铺认证`" :ShowMainHeaderBack="true" :ShowMainHeaderMore="true" :MainHeaderMoreIcon="`iconbaocun`" :MainHeaderMoreText="`保存`" :MainHeaderMoreClick="SaveForm">
|
|
3
|
+ <MainPageContainer @ShopInfoChange="ShopInfoChange" :ShowMainHeader="true" :MainHeaderTitle="`店铺认证`" :ShowMainHeaderBack="true" :ShowMainHeaderMore="true" :MainHeaderMoreIcon="`iconbaocun`" :MainHeaderMoreText="`保存`" :MainHeaderMoreClick="SaveForm">
|
4
|
4
|
<div class="Container">
|
5
|
5
|
<div class="Content">
|
6
|
6
|
|
|
@@ -92,7 +92,7 @@
|
92
|
92
|
</div>
|
93
|
93
|
</div>
|
94
|
94
|
</div>
|
95
|
|
- <!-- <div class="Line flex-h">
|
|
95
|
+ <div class="Line flex-h">
|
96
|
96
|
<span>营业时间</span>
|
97
|
97
|
<div class="flex-item" @click="ShowTimeStartSelect = true">
|
98
|
98
|
<div>
|
|
@@ -106,7 +106,7 @@
|
106
|
106
|
</div>
|
107
|
107
|
</div>
|
108
|
108
|
<i class="iconfont iconjiantouright"></i>
|
109
|
|
- </div> -->
|
|
109
|
+ </div>
|
110
|
110
|
<router-link tag="div" :to="{ name: 'ZhiFuBaoRenZheng' }" class="Line flex-h">
|
111
|
111
|
<span>收款管理</span>
|
112
|
112
|
<div class="flex-item"></div>
|
|
@@ -180,6 +180,9 @@ export default {
|
180
|
180
|
'van-datetime-picker': DatetimePicker
|
181
|
181
|
},
|
182
|
182
|
created () {
|
|
183
|
+ if (this.CurrentShopInfo !== null) {
|
|
184
|
+ this.ShopInfoChange()
|
|
185
|
+ }
|
183
|
186
|
},
|
184
|
187
|
mounted () {
|
185
|
188
|
this.$nextTick(() => {
|
|
@@ -198,10 +201,16 @@ export default {
|
198
|
201
|
this.ShopName = this.CurrentShopInfo.name
|
199
|
202
|
this.ZZImg = this.CurrentShopInfo.businessLicense
|
200
|
203
|
this.AddressDetail = this.CurrentShopInfo.address
|
201
|
|
- },
|
202
|
|
- UserInfoChange () {
|
203
|
|
- this.RealName = this.UserInfo.name
|
204
|
|
- this.Phone = this.UserInfo.phone
|
|
204
|
+ this.City = this.CurrentShopInfo.cityId
|
|
205
|
+ this.Province = this.CurrentShopInfo.provinceName
|
|
206
|
+ this.SfzzmImg = this.CurrentShopInfo.shopkeeper.frontIdCard
|
|
207
|
+ this.SfzfmImg = this.CurrentShopInfo.shopkeeper.backIdCard
|
|
208
|
+ this.RealName = this.CurrentShopInfo.shopkeeper.name
|
|
209
|
+ this.Phone = this.CurrentShopInfo.shopkeeper.phone
|
|
210
|
+ this.Lat = this.CurrentShopInfo.lat
|
|
211
|
+ this.Lng = this.CurrentShopInfo.lng
|
|
212
|
+ this.StartTime = this.CurrentShopInfo.openTime
|
|
213
|
+ this.EndTime = this.CurrentShopInfo.closeTime
|
205
|
214
|
},
|
206
|
215
|
CheckForm () { // 校验表单
|
207
|
216
|
if (this.ShopName === '') {
|
|
@@ -234,7 +243,9 @@ export default {
|
234
|
243
|
lat: this.Lat,
|
235
|
244
|
lng: this.Lng,
|
236
|
245
|
name: this.ShopName,
|
237
|
|
- provinceId: this.Province
|
|
246
|
+ provinceId: this.Province,
|
|
247
|
+ openTime: this.StartTime,
|
|
248
|
+ closeTime: this.EndTime
|
238
|
249
|
},
|
239
|
250
|
shopkeeper: {
|
240
|
251
|
avatar: this.UserInfo.avatar,
|