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 975f034a
authored
Nov 23, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改主营品牌bug
1 parent
17b78ff3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
html/merchant/edit.html
html/merchant/edit.html
View file @
975f034
...
@@ -1193,6 +1193,10 @@ form.on('select(accountLevelFilter)', function(data) {
...
@@ -1193,6 +1193,10 @@ form.on('select(accountLevelFilter)', function(data) {
form
.
on
(
'submit(handleFirstSubmit)'
,
function
(
data
)
{
form
.
on
(
'submit(handleFirstSubmit)'
,
function
(
data
)
{
// 将搜索输入框的值置为空
$
(
'#brand'
).
val
(
''
);
treeObj
.
showNodes
(
all_nodes
)
var
formData
=
data
.
field
var
formData
=
data
.
field
basicSubmited
=
true
basicSubmited
=
true
var
params
=
{
var
params
=
{
...
@@ -1343,6 +1347,7 @@ form.on('select(accountLevelFilter)', function(data) {
...
@@ -1343,6 +1347,7 @@ form.on('select(accountLevelFilter)', function(data) {
}
}
})
})
params
.
merchantBrandListJson
=
JSON
.
stringify
(
merchantForm
.
merchantBrandList
)
params
.
merchantBrandListJson
=
JSON
.
stringify
(
merchantForm
.
merchantBrandList
)
console
.
log
(
params
.
merchantBrandListJson
)
}
}
if
(
merchantForm
.
merchantFiles
.
length
)
{
if
(
merchantForm
.
merchantFiles
.
length
)
{
params
.
merchantFiles
=
JSON
.
stringify
(
merchantForm
.
merchantFiles
)
params
.
merchantFiles
=
JSON
.
stringify
(
merchantForm
.
merchantFiles
)
...
@@ -1369,16 +1374,6 @@ form.on('select(accountLevelFilter)', function(data) {
...
@@ -1369,16 +1374,6 @@ form.on('select(accountLevelFilter)', function(data) {
}
}
verifyMerchantName
(
params
.
merchantName
,
params
)
verifyMerchantName
(
params
.
merchantName
,
params
)
// request(params, function (res) {
// if (res.code == '0') {
// layer.msg('操作成功', {
// icon: 1
// })
// if (!functionClick) {
// go('merchant', 'index')
// }
// }
// })
return
false
return
false
})
})
...
@@ -2816,7 +2811,7 @@ loadSuperiorMerchants(currentPage).then(function(list) {
...
@@ -2816,7 +2811,7 @@ loadSuperiorMerchants(currentPage).then(function(list) {
merchantNoTarget
:
superiorMerchant
[
0
]?.
value
,
merchantNoTarget
:
superiorMerchant
[
0
]?.
value
,
accountType
:
accountTypes
.
join
(
','
)
accountType
:
accountTypes
.
join
(
','
)
}
}
//
console.log(params.accountTypes)
console
.
log
(
params
.
accountTypes
)
accountLevel
==
'1'
&&
delete
params
.
merchantNoTarget
accountLevel
==
'1'
&&
delete
params
.
merchantNoTarget
params
.
method
=
'merchants.api.merchant.updatePermissions'
params
.
method
=
'merchants.api.merchant.updatePermissions'
// 草稿
// 草稿
...
...
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