Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
67bc92fa
Commit
67bc92fa
authored
Nov 20, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改选择门店分组和标签
parent
0fdf6a32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
gic-select-group-mult.vue
src/components/common/gic-select-group-mult.vue
+2
-2
gic-select-tag.vue
src/components/common/gic-select-tag.vue
+2
-1
No files found.
src/components/common/gic-select-group-mult.vue
View file @
67bc92fa
...
@@ -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 1
6:36
:15
* @LastEditTime: 2020-11-20 1
7: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>
...
...
src/components/common/gic-select-tag.vue
View file @
67bc92fa
...
@@ -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 1
6:37:59
* @LastEditTime: 2020-11-20 1
7: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
);
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment