GrademajorEdit.js 751 B

1234567891011121314151617181920
  1. //保存
  2. function Grademajor_Save() {
  3. $(document.forms[0]).submit();
  4. }
  5. function queryFacultymajor(data) {
  6. var facultymajorID = $("#FacultymajorID").combogridX("getValue");
  7. if (facultymajorID == "" || facultymajorID == "-1" || facultymajorID == null) {
  8. $("#EducationID").combogridX("setValue", "-1");
  9. $("#LearningformID").combogridX("setValue", "-1");
  10. $("#LearnSystem").val("");
  11. $("#CollegeID").combogridX("setValue", "-1");
  12. }
  13. else {
  14. $("#EducationID").combogridX("setValue", data.EducationID);
  15. $("#LearningformID").combogridX("setValue", data.LearningformID);
  16. $("#LearnSystem").val(data.LearnSystem);
  17. $("#CollegeID").combogridX("setValue", data.CollegeID);
  18. }
  19. }