|
@@ -4,7 +4,7 @@
|
4
|
4
|
<!-- <el-form-item label="商铺名称" prop="shopName">
|
5
|
5
|
<el-input v-model="listData.shopName"/>
|
6
|
6
|
</el-form-item> -->
|
7
|
|
- <el-form-item label="商铺说明" prop="remark">
|
|
7
|
+ <el-form-item label="商铺说明11" prop="remark">
|
8
|
8
|
<el-input v-model="listData.remark"/>
|
9
|
9
|
</el-form-item>
|
10
|
10
|
<el-form-item label="app首页展示图" prop="appIndexImg">
|
|
@@ -84,8 +84,8 @@
|
84
|
84
|
</el-amap>
|
85
|
85
|
</div>
|
86
|
86
|
</el-form-item>
|
87
|
|
- <el-form-item label="商铺介绍">
|
88
|
|
- <!-- <el-input v-model="addForm.bannerContent" placeholder="内容详情"/> listData.shopIntroduction-->
|
|
87
|
+ <el-form-item label="* 商铺介绍">
|
|
88
|
+ <!-- <el-input v-model="listData.shopIntroductiont" placeholder="内容详情"/> -->
|
89
|
89
|
<div id="father">
|
90
|
90
|
<wangeditor :content="listData.shopIntroduction" @wangeditorEvent="wangeditorValue"/>
|
91
|
91
|
</div>
|
|
@@ -162,7 +162,7 @@ export default {
|
162
|
162
|
{ required: true, message: 'app列表展示图', trigger: 'blur' }
|
163
|
163
|
],
|
164
|
164
|
appCarouselImg: [
|
165
|
|
- { required: false, message: 'app商铺轮播图', trigger: 'blur' }
|
|
165
|
+ { required: true, message: 'app商铺轮播图', trigger: 'blur' }
|
166
|
166
|
],
|
167
|
167
|
shopName: [
|
168
|
168
|
{ required: true, message: '商铺名称', trigger: 'blur' }
|
|
@@ -287,6 +287,12 @@ export default {
|
287
|
287
|
loading.close()
|
288
|
288
|
return
|
289
|
289
|
}
|
|
290
|
+ console.log()
|
|
291
|
+ if(this.listData.shopIntroduction ==='<p><br></p>'){
|
|
292
|
+ this.$message.error('商铺介绍不能为空');
|
|
293
|
+ loading.close()
|
|
294
|
+ return
|
|
295
|
+ }
|
290
|
296
|
this.$store.dispatch('shopType/UpdateShop', this.listData).then((res) => {
|
291
|
297
|
if (res.code === '0') {
|
292
|
298
|
this.$message({
|