Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4ba806ba
authored
Apr 21, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
主营品牌回显问题
1 parent
d0057fe0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
src/views/account/editAccount.vue
src/views/baseInfo/editInfo.vue
src/views/account/editAccount.vue
View file @
4ba806b
...
@@ -439,7 +439,7 @@ export default {
...
@@ -439,7 +439,7 @@ export default {
this
.
$refs
.
baseInfoForm
.
$refs
.
baseForm
.
validate
()
this
.
$refs
.
baseInfoForm
.
$refs
.
baseForm
.
validate
()
this
.
editStatus
=
false
this
.
editStatus
=
false
})
})
if
(
merchantBrandName
.
length
)
{
if
(
merchantBrandName
)
{
const
brandName
=
merchantBrandName
.
split
(
','
).
map
((
item
,
index
)
=>
{
const
brandName
=
merchantBrandName
.
split
(
','
).
map
((
item
,
index
)
=>
{
return
{
label
:
item
,
id
:
index
}
return
{
label
:
item
,
id
:
index
}
})
})
...
...
src/views/baseInfo/editInfo.vue
View file @
4ba806b
...
@@ -132,12 +132,6 @@ export default {
...
@@ -132,12 +132,6 @@ export default {
const
businessType
=
this
.
infoForm
.
businessType
.
split
(
','
)
const
businessType
=
this
.
infoForm
.
businessType
.
split
(
','
)
this
.
infoForm
.
businessType
=
businessType
.
map
(
item
=>
(
item
=
parseInt
(
item
)))
this
.
infoForm
.
businessType
=
businessType
.
map
(
item
=>
(
item
=
parseInt
(
item
)))
}
}
if
(
merchantBrandName
.
length
)
{
const
brandName
=
merchantBrandName
.
split
(
','
).
map
((
item
,
index
)
=>
{
return
{
label
:
item
,
id
:
index
}
})
this
.
$refs
.
brandListTree
.
getCheckedArr
=
brandName
}
// 省市回显
// 省市回显
this
.
$refs
.
provinceForm
.
init
(
this
.
infoForm
.
provinceName
,
this
.
infoForm
.
cityName
)
this
.
$refs
.
provinceForm
.
init
(
this
.
infoForm
.
provinceName
,
this
.
infoForm
.
cityName
)
if
(
!
this
.
infoForm
.
merchantBrandMain
)
{
if
(
!
this
.
infoForm
.
merchantBrandMain
)
{
...
@@ -145,6 +139,12 @@ export default {
...
@@ -145,6 +139,12 @@ export default {
}
else
{
}
else
{
this
.
infoForm
.
merchantBrandMain
=
this
.
infoForm
.
merchantBrandMain
.
replaceAll
(
';'
,
','
).
split
(
','
)
this
.
infoForm
.
merchantBrandMain
=
this
.
infoForm
.
merchantBrandMain
.
replaceAll
(
';'
,
','
).
split
(
','
)
}
}
if
(
merchantBrandName
)
{
const
brandName
=
merchantBrandName
.
split
(
','
).
map
((
item
,
index
)
=>
{
return
{
label
:
item
,
id
:
index
}
})
this
.
$refs
.
brandListTree
.
getCheckedArr
=
brandName
}
},
},
// 点击主营品牌
// 点击主营品牌
clickBrand
(
val
)
{
clickBrand
(
val
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment