Commit 040dfcb3 by 前端

1

1 parent ebf911a5
...@@ -2813,13 +2813,17 @@ loadSuperiorMerchants(currentPage).then(function(list) { ...@@ -2813,13 +2813,17 @@ loadSuperiorMerchants(currentPage).then(function(list) {
}); });
if (accountLevel !== '1' && superiorMerchant.length ==0) { if (accountLevel !== '1' && superiorMerchant.length ==0) {
layer.close(loadingSubmitIndex);
layer.msg('请选择上级商户', {icon: 2}); layer.msg('请选择上级商户', {icon: 2});
return; return;
} }
if (accountTypes.length === 0) { if (accountTypes.length === 0) {
// 如果没有勾选任何账户类型 // 如果没有勾选任何账户类型
layer.close(loadingSubmitIndex);
layer.msg('请选择账户类型', {icon: 2}); layer.msg('请选择账户类型', {icon: 2});
return; return;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!