function DifferentDynamicApproval_Edit_Submit() { var actionText = $('#ddlAction').combobox('getText'); var comment = $('#txtComment').val(); if (actionText == '请选择') { $.messager.alert('系统提示', '请选择处理动作!'); return; } if (actionText == '不同意' && comment == '') { $.messager.alert('系统提示', '请填写审核意见!'); return; } $(document.forms[0]).submit(); } function QueryClassmajorGrid(data) { $("#AfterStandardID").combogridX("setValue", data.GrademajorID); var standardId = $("#AfterStandardID").combogridX("getValue"); } function QueryAfterStandardGrid(data) { var standardId = $("#AfterStandardID").combogridX("getValue"); if (standardId != nonSelect) { var jsonString = "({'QueryParamsDatas':'DictionaryStandard|*|" + standardId + "|@|'})"; $("#AfterClassmajorID").combogridX("reload", eval(jsonString)); } }