Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
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 377ec455
authored
Mar 28, 2023
by
徐忆琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_v3.7.0' into 'v3.7.0'
修复只有一级主营品牌bug See merge request
!45
2 parents
bcd3bd5b
ad4eebb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
html/merchant/edit.html
html/merchant/edit.html
View file @
377ec45
...
...
@@ -792,7 +792,6 @@
focusElem
.
css
(
verifyType
==
'radio'
?
{
color
:
''
}
:
{
'border-color'
:
''
})
})
.
focus
()
console
.
log
(
222
)
return
'必填项不能为空'
}
}
...
...
@@ -915,6 +914,7 @@
// if (treeObj) merchantForm.merchantBrandMain = treeObj.getCheckedNodes(true)
// params.merchantBrandMain = findId(merchantForm.merchantBrandMain).join(',')
if
(
treeObj
)
{
let
getCheckedNodes
=
treeObj
.
getCheckedNodes
(
true
)
const
getCheckedKeys
=
treeObj
.
getCheckedNodes
(
true
).
map
(
item
=>
item
.
id
)
// getCheckedNodes = getCheckedNodes.filter(item => item.children)
...
...
@@ -923,6 +923,7 @@
let
parent
=
childCheckNodes
.
map
(
item
=>
{
return
item
.
getParentNode
()
})
parent
=
parent
.
filter
(
item
=>
item
!==
null
)
const
removeDuplicateObj
=
arr
=>
{
let
obj
=
{}
arr
=
arr
.
reduce
((
newArr
,
next
)
=>
{
...
...
@@ -969,7 +970,6 @@
}
else
{
params
.
status
=
1
}
console
.
log
(
params
)
verifyMerchantName
(
params
.
merchantName
,
params
)
// request(params, function (res) {
...
...
@@ -1012,7 +1012,6 @@
},
function
(
index
,
layero
){
//按钮【按钮一】的回调
layer
.
close
(
index
);
layer
.
close
(
loading
)
})
}
...
...
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