Commit 5cf0e8e8 by 无尘

fix: 修改门店

parent 626e3ce3
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</div> </div>
</div> </div>
<div class="clerk-cell clerk-handle"> <div class="clerk-cell clerk-handle">
<a class="a-href m-r-20" :href="'#/addClerk?gicFlag=' + gicFlag + 'storeId=' + scope.row.storeId + '&clerkId=' + clerk.employeeClerkId + '&firstLevelId=' + firstLevelId + '&type=addClerk'">编辑</a> <a class="a-href m-r-20" :href="'#/addClerk?gicFlag=' + gicFlag + '&storeId=' + scope.row.storeId + '&clerkId=' + clerk.employeeClerkId + '&firstLevelId=' + firstLevelId + '&type=addClerk'">编辑</a>
<el-popover placement="top" width="160" v-model="clerk.popVisible" v-if="!gicFlag"> <el-popover placement="top" width="160" v-model="clerk.popVisible" v-if="!gicFlag">
<p style="line-height: 1.5; padding: 10px 10px 20px;">确认删除吗?</p> <p style="line-height: 1.5; padding: 10px 10px 20px;">确认删除吗?</p>
<div style="text-align: right; margin: 0"> <div style="text-align: right; margin: 0">
......
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
newImgs.push({ url: img }); newImgs.push({ url: img });
}); });
that.imgs = newImgs; that.imgs = newImgs;
that.location = !!obj.longitude ? obj.longitude + ',' + obj.latitude : ''; that.location = !!obj.longitude ? obj.latitude + ',' + obj.longitude : '';
that.disableFlag = !!obj.managerPhone? true : false; that.disableFlag = !!obj.managerPhone? true : false;
} }
}, },
......
...@@ -216,7 +216,7 @@ export default { ...@@ -216,7 +216,7 @@ export default {
} }
}; };
return { return {
gicFlag: this.$route.query.gicFlag, gicFlag: !this.$route.query.gicFlag || this.$route.query.gicFlag == 'false' ? false : true,
// 面包屑参数 // 面包屑参数
navpath: [ navpath: [
{ {
...@@ -405,7 +405,7 @@ export default { ...@@ -405,7 +405,7 @@ export default {
// that.imgs = newImgs; // that.imgs = newImgs;
// obj.imageUrls = !!obj.imageUrl ? obj.imageUrl : []; // obj.imageUrls = !!obj.imageUrl ? obj.imageUrl : [];
obj.imageUrls = newImgs; obj.imageUrls = newImgs;
obj.location = !!obj.longitude ? obj.longitude + ',' + obj.latitude : ''; obj.location = !!obj.longitude ? obj.latitude + ',' + obj.longitude : '';
that.storeInfo = obj; that.storeInfo = obj;
that.disableFlag = !that.isNew && !!that.storeInfo.managerPhone; that.disableFlag = !that.isNew && !!that.storeInfo.managerPhone;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment