RetakeParamter.js 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. //判断参数设置信息
  2. $(function () {
  3. //重修学年学期
  4. var schoolyearID = $("#SchoolyearID").combobox("getValue");
  5. if (schoolyearID == null || schoolyearID == "" || schoolyearID == "-1") {
  6. $.messager.alert("系统提示", "未选择参数设置信息,请选择。");
  7. return;
  8. }
  9. //重修考试性质
  10. var examsCategoryID = $("#ExamsCategoryID").combobox("getValue");
  11. if (examsCategoryID == null || examsCategoryID == "" || examsCategoryID == "-1") {
  12. $.messager.alert("系统提示", "未选择参数设置信息,请选择。");
  13. return;
  14. }
  15. //重修收费项目
  16. //var retakeChargeProjectID = $("#RetakeChargeProjectID").combogridX("getValue");
  17. //if (retakeChargeProjectID == null || retakeChargeProjectID == "" || retakeChargeProjectID == "-1") {
  18. // $.messager.alert("系统提示", "未选择参数设置信息,请选择。");
  19. // return;
  20. //}
  21. })
  22. //重修参数设定保存
  23. function RetakeParameter_Save() {
  24. //重修收费项目
  25. var retakeChargeProjectID = $("#RetakeChargeProjectID").combogridX("getValue");
  26. if (retakeChargeProjectID == null || retakeChargeProjectID == "" || retakeChargeProjectID == "-1") {
  27. $.messager.alert("系统提示", "未选择参数设置信息,请选择。");
  28. return;
  29. }
  30. $(document.forms[0]).submit();
  31. }