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 adedc9ff
authored
Apr 20, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
主营品牌回显问题
1 parent
18e6cb3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
src/views/account/components/baseInfo.vue
src/views/account/editAccount.vue
src/views/account/components/baseInfo.vue
View file @
adedc9f
...
...
@@ -215,7 +215,7 @@ export default {
if
(
!
this
.
accountAddForm
.
merchantBrandMain
)
{
this
.
accountAddForm
.
merchantBrandMain
=
[]
}
this
.
$refs
.
brandListTree
.
getCheckList
(
this
.
accountAddForm
.
merchantBrandMain
)
//
this.$refs.brandListTree.getCheckList(this.accountAddForm.merchantBrandMain)
},
checkBusinessType
(
type
)
{
if
(
!
type
)
{
...
...
@@ -240,6 +240,7 @@ export default {
})
})
this
.
brandListTree
=
brandListTree
this
.
$refs
.
brandListTree
.
getCheckList
(
this
.
accountAddForm
.
merchantBrandMain
)
this
.
$nextTick
(()
=>
{
this
.
$refs
.
brandListTree
.
loading
=
false
})
...
...
src/views/account/editAccount.vue
View file @
adedc9f
...
...
@@ -364,7 +364,7 @@ export default {
})
},
renderView
(
res
)
{
let
{
isloginName
,
bussinessBegintime
,
bussinessEndtime
,
lat
,
merchantBrandMain
,
businessType
,
lng
,
merchantAddress
,
provinceName
,
cityName
,
provinceCode
,
cityCode
,
merchantName
,
merchantAbbreviation
,
merchantType
,
merchantOrgcode
,
merchantLegalPerson
,
merchantLegalPersonPhone
,
residentContact
,
residentPhone
,
merchantLoginAccount
,
merchantLoginPassword
,
merchantAccountLevel
,
businessScope
,
businessScopeCustomize
,
merchantBrand
,
merchantFileResponses
,
merchantModel
,
accountTypes
,
accountType
,
accounttypeId
,
channelId
,
status
,
parentId
}
=
res
let
{
isloginName
,
bussinessBegintime
,
bussinessEndtime
,
lat
,
merchantBrandMain
,
businessType
,
lng
,
merchantAddress
,
provinceName
,
cityName
,
provinceCode
,
cityCode
,
merchantName
,
merchantAbbreviation
,
merchantType
,
merchantOrgcode
,
merchantLegalPerson
,
merchantLegalPersonPhone
,
residentContact
,
residentPhone
,
merchantLoginAccount
,
merchantLoginPassword
,
merchantAccountLevel
,
businessScope
,
businessScopeCustomize
,
merchantBrand
,
merchantFileResponses
,
merchantModel
,
accountTypes
,
accountType
,
accounttypeId
,
channelId
,
status
,
parentId
,
merchantBrandName
}
=
res
this
.
accountInfoForm
.
merchantLoginAccount
=
merchantLoginAccount
this
.
accountInfoForm
.
merchantLoginPassword
=
merchantLoginPassword
this
.
accountTypes
=
accountTypes
...
...
@@ -439,6 +439,13 @@ export default {
this
.
$refs
.
baseInfoForm
.
$refs
.
baseForm
.
validate
()
this
.
editStatus
=
false
})
if
(
merchantBrandName
.
length
)
{
const
brandName
=
merchantBrandName
.
split
(
','
).
map
((
item
,
index
)
=>
{
return
{
label
:
item
,
id
:
index
}
})
this
.
$refs
.
baseInfoForm
.
$refs
.
brandListTree
.
getCheckedArr
=
brandName
// console.log(this.$refs.baseInfoForm.$refs.brandListTree.getCheckedArr)
}
},
getCarbrandTree
()
{
this
.
$apis
.
store
.
getCarbrandTree
({}).
then
(
res
=>
{
...
...
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