提交 7868b9db 编写于 作者: yi.li's avatar yi.li

新建店铺样式调整

上级 d03fe28e
...@@ -137,8 +137,8 @@ ...@@ -137,8 +137,8 @@
<span class="word-num">{{(item.adminName).replace(/\s+/g,"").length}}/10</span> <span class="word-num">{{(item.adminName).replace(/\s+/g,"").length}}/10</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="1"> <el-col :span="1" style="text-align: right">
<img style="vertical-align: middle" src="../../assets/image/lianjie_icon.png" /> <img style="margin-top: 5px;" src="../../assets/image/lianjie_icon.png" />
</el-col> </el-col>
<el-col :span="10"> <el-col :span="10">
<el-form-item label="手机号" label-width="95px" class="required-label"> <el-form-item label="手机号" label-width="95px" class="required-label">
...@@ -154,12 +154,13 @@ ...@@ -154,12 +154,13 @@
</el-col> </el-col>
<el-col :span="2" class="span-mt-10"> <el-col :span="2" class="span-mt-10">
<img <img
v-if="index != 4" v-if="index < 4 && (index == formData.adminList.length-1)"
@click="addItem(index)" @click="addItem(index)"
class="edit-img" class="edit-img"
src="../../assets/image/plus.png" src="../../assets/image/plus.png"
/> />
<img <img
v-if=""
@click="deleteItem(index)" @click="deleteItem(index)"
class="edit-img" class="edit-img"
src="../../assets/image/trash.png" src="../../assets/image/trash.png"
...@@ -599,14 +600,12 @@ ...@@ -599,14 +600,12 @@
vm = this; vm = this;
this.formData.storeId = this.$route.query.storeId || null; this.formData.storeId = this.$route.query.storeId || null;
this.storeData = this.$route.query.storeData || {}; this.storeData = this.$route.query.storeData || {};
// if (this.formData.storeId) {
// this.storeData = JSON.parse(this.storeData);
// }
if (this.formData.storeId) { if (this.formData.storeId) {
this.curmbSecond = '编辑店铺'; this.curmbSecond = '编辑店铺';
this.storeData = JSON.parse(this.storeData); this.storeData = JSON.parse(this.storeData);
this.isDisabled = true; this.isDisabled = true;
// this.initInfo(); this.initInfo();
this.getStoreInfo(); this.getStoreInfo();
}else { }else {
this.curmbSecond = '新建店铺'; this.curmbSecond = '新建店铺';
...@@ -1055,6 +1054,7 @@ ...@@ -1055,6 +1054,7 @@
let item = { let item = {
adminName: '', adminName: '',
adminMobile: '', adminMobile: '',
id: null,
}; };
this.formData.adminList.push(item); this.formData.adminList.push(item);
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册