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
6cedad92
Commit
6cedad92
authored
Sep 11, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改选择门店
parent
87119162
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
edit-visiable.vue
src/components/app/my-customer/edit-visiable.vue
+1
-3
store-auth-store.vue
src/components/company/store-auth-store.vue
+5
-5
No files found.
src/components/app/my-customer/edit-visiable.vue
View file @
6cedad92
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-08-28 11:07:46
* @Date: 2020-08-28 11:07:46
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-09-11 1
5:36:00
* @LastEditTime: 2020-09-11 1
6:01:24
-->
-->
<!--
<!--
<edit-visiable :brand-id="brandId" :set-item-id="setItemId" :set-type="setType" :select-mode="selectMode" :range-data="rangeData" @refreshData="refreshData"></edit-visiable>
<edit-visiable :brand-id="brandId" :set-item-id="setItemId" :set-type="setType" :select-mode="selectMode" :range-data="rangeData" @refreshData="refreshData"></edit-visiable>
...
@@ -108,8 +108,6 @@ export default {
...
@@ -108,8 +108,6 @@ export default {
const
that
=
this
;
const
that
=
this
;
that
.
formData
.
sendRange
=
e
;
that
.
formData
.
sendRange
=
e
;
that
.
formData
.
selectList
=
[];
that
.
formData
.
selectList
=
[];
that
.
formData
.
selectGroupData
=
[];
// 选择的分组数据
that
.
formData
.
selectStoreData
=
[];
// 选择的门店数据
},
},
/**
/**
* @description: 关闭弹窗
* @description: 关闭弹窗
...
...
src/components/company/store-auth-store.vue
View file @
6cedad92
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-09-
09 15:52:05
* @LastEditTime: 2020-09-
11 16:02:34
-->
-->
<!--
<!--
门店绑定-选择门店(限制50个)
门店绑定-选择门店(限制50个)
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
isIndeterminate
:
false
,
isIndeterminate
:
false
,
searchSelect
:
''
,
// 搜索字段
searchSelect
:
''
,
// 搜索字段
stores
:
[],
// 门店列表集合
stores
:
[],
// 门店列表集合
storesCopy
:
[],
storesCopy
:
[],
// 保存选择数据使用
dailyRuleForm
:
{
dailyRuleForm
:
{
stores
:
[],
// 已选门店id结果集
stores
:
[],
// 已选门店id结果集
},
},
...
@@ -111,7 +111,7 @@ export default {
...
@@ -111,7 +111,7 @@ export default {
handleStoresChange
(
value
)
{
handleStoresChange
(
value
)
{
const
that
=
this
;
const
that
=
this
;
let
arr
=
[];
let
arr
=
[];
that
.
stores
.
forEach
(
ele
=>
{
that
.
stores
Copy
.
forEach
(
ele
=>
{
if
(
value
.
includes
(
ele
.
storeInfoId
))
{
if
(
value
.
includes
(
ele
.
storeInfoId
))
{
arr
.
push
(
ele
);
arr
.
push
(
ele
);
}
}
...
@@ -162,11 +162,11 @@ export default {
...
@@ -162,11 +162,11 @@ export default {
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
that
.
pageNum
==
1
)
{
if
(
that
.
pageNum
==
1
)
{
that
.
stores
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
result
.
result
))
||
[];
that
.
stores
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
result
.
result
))
||
[];
that
.
s
toresCopy
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
result
.
result
))
||
[]
;
that
.
s
earchSelect
===
''
?
that
.
storesCopy
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
result
.
result
))
||
[]
:
''
;
}
else
{
}
else
{
res
.
result
.
result
.
forEach
(
ele
=>
{
res
.
result
.
result
.
forEach
(
ele
=>
{
that
.
stores
.
push
(
ele
);
that
.
stores
.
push
(
ele
);
that
.
s
toresCopy
.
push
(
ele
)
;
that
.
s
earchSelect
===
''
?
that
.
storesCopy
.
push
(
ele
)
:
''
;
});
});
}
}
if
(
that
.
pageNum
*
that
.
pageSize
<
res
.
result
.
totalCount
)
{
if
(
that
.
pageNum
*
that
.
pageSize
<
res
.
result
.
totalCount
)
{
...
...
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