diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Index.js index 1e12860ea..420f8e8c2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Index.js @@ -119,12 +119,17 @@ var bootstrap = function ($, learun) { // 提交 $('#lr_submit').on('click', function () { var keyValue = $('#gridtable').jfGridValue('Id'); - selectedRow = $('#gridtable').jfGridGet('rowdata'); + //selectedRow = $('#gridtable').jfGridGet('rowdata'); if (learun.checkrow(keyValue)) { - if (selectedRow.Status !== 0) { - learun.alert.warning("当前课程异动记录已提交!"); - return false; + var stat = $('#gridtable').jfGridValue('Status'); + if (stat.indexOf('1') != -1) { + learun.alert.warning("选中记录中包含已提交项目!"); + return; } + //if (selectedRow.Status !== 0) { + // learun.alert.warning("当前课程异动记录已提交!"); + // return false; + //} learun.layerConfirm('是否确认提交该项!', function (res) { if (res) { processId = learun.newGuid(); @@ -527,7 +532,8 @@ var bootstrap = function ($, learun) { mainId: 'Id', isPage: true, sord: 'desc', - sidx: 'CreateTime' + sidx: 'CreateTime', + isMultiselect: true }); page.search(); },