GrademajorRequirementEdit.js 742 B

1234567891011121314151617181920
  1. //加载
  2. $(function () {
  3. var optionalCourseCredit = $("#OptionalCourseCredit").val();
  4. if (optionalCourseCredit != null && optionalCourseCredit != "") {
  5. $("#OptionalCourseCredit").val(parseFloat($("#OptionalCourseCredit").val()).toFixed(1));
  6. }
  7. var requiredCredit = $("#RequiredCredit").val();
  8. if (requiredCredit != null && requiredCredit != "") {
  9. $("#RequiredCredit").val(parseFloat($("#RequiredCredit").val()).toFixed(1));
  10. }
  11. var totalCredit = $("#TotalCredit").val();
  12. if (totalCredit != null && totalCredit != "") {
  13. $("#TotalCredit").val(parseFloat($("#TotalCredit").val()).toFixed(1));
  14. }
  15. });
  16. //保存
  17. function GrademajorRequirement_Save() {
  18. $(document.forms[0]).submit();
  19. }