Commit 59855f3c by 前端

1

1 parent 047d90a2
......@@ -956,8 +956,7 @@ if (!$(data.elem).closest('[id^=project]').length) {
function prepareExecuteFindMenuFun(){
// 修改check_arr
if(_currentMerchantLevel != '1' && !_superMerchantInfo) return
if(_currentMerchantLevel != '1' && !_superMerchantInfo?.parentId) return
var rolePageParams = {}
if(_currentMerchantLevel != '1'){
rolePageParams = {
......@@ -2880,8 +2879,6 @@ loadSuperiorMerchants(currentPage).then(function(list) {
request(params, function (res) {
// 请求完成后,将标志变量设置回 false
isRequestInProgress = false;
layer.close(loadingSubmitIndex);
if (res.code == '0') {
layer.msg('操作成功', {
......@@ -2894,6 +2891,7 @@ loadSuperiorMerchants(currentPage).then(function(list) {
})
layer.close(loadingSubmitIndex);
} else {
layer.close(loadingSubmitIndex);
layer.msg('请选择产品', {
icon: 5
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!