ScoreParameterCollegeSettingEdit.js 453 B

123456789101112
  1. function ScoreParameterCollegeSetting_Save() {
  2. var SchoolYearID = $("#Years").combobox("getValue");
  3. var CollegeID = $("#CollegeID").combogridX("getValue");
  4. if ((SchoolYearID == "" || SchoolYearID == nonSelect) && (CollegeID == "" || CollegeID == nonSelect)) {
  5. $.messager.alert("系统提示", "年级与" + CollegeName + "不能同时为空。");
  6. return;
  7. }
  8. else
  9. {
  10. $(document.forms[0]).submit();
  11. }
  12. }