Commit 67bc92fa by 无尘

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

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