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 5fd271f2
authored
Apr 18, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
解决全选主营品牌提交时报400错误问题
1 parent
81be5bfc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
src/views/baseInfo/editInfo.vue
src/views/baseInfo/selectBrand.vue
src/views/baseInfo/telPosition.vue
src/views/baseInfo/editInfo.vue
View file @
5fd271f
...
...
@@ -203,6 +203,7 @@ export default {
},
handleSave
()
{
const
params
=
this
.
infoForm
params
.
merchantBrandMain
=
''
// 获取省市信息
const
{
provinceName
,
provinceCode
,
cityName
,
cityCode
}
=
this
.
$refs
.
provinceForm
.
provinceForm
if
(
!
params
.
provinceCode
)
{
...
...
src/views/baseInfo/selectBrand.vue
View file @
5fd271f
...
...
@@ -66,7 +66,7 @@ export default {
handler
()
{
const
getCheckedNodes
=
this
.
$refs
.
tree
.
getCheckedNodes
()
this
.
getCheckedArr
=
getCheckedNodes
.
reduce
((
prev
,
cur
)
=>
{
if
(
Object
.
keys
(
cur
).
includes
(
'children'
)
&&
cur
.
children
.
length
>
0
)
{
if
(
Object
.
keys
(
cur
).
includes
(
'children'
)
&&
cur
.
children
&&
cur
.
children
.
length
>
0
)
{
return
prev
}
return
prev
.
concat
(
cur
)
...
...
@@ -252,4 +252,7 @@ export default {
align-items
:
center
;
}
}
.tree-footer-reset
{
cursor
:
pointer
;
}
</
style
>
src/views/baseInfo/telPosition.vue
View file @
5fd271f
<
template
>
<div>
<el-dialog
:visible
.
sync=
"dialogTelVisible"
width=
"30%"
>
<el-dialog
:visible
.
sync=
"dialogTelVisible"
width=
"30%"
top=
"30px"
>
<div
class=
"dialog-show"
>
<img
src=
"@/assets/tel-show.png"
alt=
""
/>
<div
class=
"tel-plus"
>
联系电话:
{{
residentPhone
}}
</div>
...
...
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