1234567891011121314151617181920212223242526272829303132 |
- //判断参数设置信息
- $(function () {
- //重修学年学期
- var schoolyearID = $("#SchoolyearID").combobox("getValue");
- if (schoolyearID == null || schoolyearID == "" || schoolyearID == "-1") {
- $.messager.alert("系统提示", "未选择参数设置信息,请选择。");
- return;
- }
- //重修考试性质
- var examsCategoryID = $("#ExamsCategoryID").combobox("getValue");
- if (examsCategoryID == null || examsCategoryID == "" || examsCategoryID == "-1") {
- $.messager.alert("系统提示", "未选择参数设置信息,请选择。");
- return;
- }
- //重修收费项目
- //var retakeChargeProjectID = $("#RetakeChargeProjectID").combogridX("getValue");
- //if (retakeChargeProjectID == null || retakeChargeProjectID == "" || retakeChargeProjectID == "-1") {
- // $.messager.alert("系统提示", "未选择参数设置信息,请选择。");
- // return;
- //}
- })
- //重修参数设定保存
- function RetakeParameter_Save() {
- //重修收费项目
- var retakeChargeProjectID = $("#RetakeChargeProjectID").combogridX("getValue");
- if (retakeChargeProjectID == null || retakeChargeProjectID == "" || retakeChargeProjectID == "-1") {
- $.messager.alert("系统提示", "未选择参数设置信息,请选择。");
- return;
- }
- $(document.forms[0]).submit();
- }
|