diff --git a/style/js/index.js b/style/js/index.js index 13548eb..2784c36 100644 --- a/style/js/index.js +++ b/style/js/index.js @@ -21,6 +21,7 @@ $(document).ready(function() { var value_added_select = [];//已选择的增值服务 var stepFlag = false; var table_and_formulas = ''; + var noCheckList = ['62','63','81'] var cssurl = $('#styleUrl').attr('url'); // var cssurl= './style/img/'//dev var pptUrlList = [ @@ -634,6 +635,7 @@ $(document).ready(function() { return paytype; } function payAction(){ + var flag = noCheckList.includes(check_type) value_added_select = []; let check_type1 = $('li.active_select').attr('type'); check_type = check_type1 @@ -709,7 +711,7 @@ $(document).ready(function() { if ($('.coreContent').css('display') !== 'none'){ postData.core_content = $('#coreTextarea').val() } - if(!$('.custom-dropdown').hasClass('disNone')){ + if(!$('.custom-dropdown').hasClass('disNone') && !flag){ var major= parseInt($('.dropdown-input').attr('selected_val')) if (major <= 0 || !major) { alert("请选择您的专业");