Commit 975f034a by 前端

修改主营品牌bug

1 parent 17b78ff3
......@@ -1193,6 +1193,10 @@ form.on('select(accountLevelFilter)', function(data) {
form.on('submit(handleFirstSubmit)', function (data) {
// 将搜索输入框的值置为空
$('#brand').val('');
treeObj.showNodes(all_nodes)
var formData = data.field
basicSubmited = true
var params = {
......@@ -1343,6 +1347,7 @@ form.on('select(accountLevelFilter)', function(data) {
}
})
params.merchantBrandListJson = JSON.stringify(merchantForm.merchantBrandList)
console.log(params.merchantBrandListJson)
}
if (merchantForm.merchantFiles.length) {
params.merchantFiles = JSON.stringify(merchantForm.merchantFiles)
......@@ -1369,16 +1374,6 @@ form.on('select(accountLevelFilter)', function(data) {
}
verifyMerchantName(params.merchantName,params)
// request(params, function (res) {
// if (res.code == '0') {
// layer.msg('操作成功', {
// icon: 1
// })
// if (!functionClick) {
// go('merchant', 'index')
// }
// }
// })
return false
})
......@@ -2816,7 +2811,7 @@ loadSuperiorMerchants(currentPage).then(function(list) {
merchantNoTarget: superiorMerchant[0]?.value,
accountType: accountTypes.join(',')
}
// console.log(params.accountTypes)
console.log(params.accountTypes)
accountLevel == '1' && delete params.merchantNoTarget
params.method = 'merchants.api.merchant.updatePermissions'
// 草稿
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!