Commit 67bc92fa by 无尘

fix: 修改选择门店分组和标签

parent 0fdf6a32
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-11-08 10:27:21 * @Date: 2020-11-08 10:27:21
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-20 16:36:15 * @LastEditTime: 2020-11-20 17:07:15
--> -->
<!-- <!--
<gic-select-group-mult <gic-select-group-mult
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<template v-for="(item, index) in groupIds"> <template v-for="(item, index) in groupIds">
<span class="el-tag el-tag--info el-tag--small" :key="index"> <span class="el-tag el-tag--info el-tag--small" :key="index">
<span class="el-select__tags-text">{{ item.storeGroupName }}</span> <span class="el-select__tags-text">{{ item.storeGroupName }}</span>
<!-- <i class="el-tag__close el-icon-close" @click.stop="delDepart(index, groupIds)"></i> --> <i class="el-tag__close el-icon-close" @click.stop="delDepart(index, groupIds)"></i>
</span> </span>
</template> </template>
</span> </span>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-02-08 10:27:21 * @Date: 2020-02-08 10:27:21
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-20 16:37:59 * @LastEditTime: 2020-11-20 17:02:45
--> -->
<!-- <!--
选择门店分组组件: 选择门店分组组件:
...@@ -138,6 +138,7 @@ export default { ...@@ -138,6 +138,7 @@ export default {
delDepart(index, arr) { delDepart(index, arr) {
const that = this; const that = this;
arr.splice(index, 1); arr.splice(index, 1);
that.dailyRuleForm.tags = arr.map(ele => ele.storeTagId); // 外部引用如果不传已选数据
that.$emit('returnTags', that.selectTags); that.$emit('returnTags', that.selectTags);
}, },
......
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