|
|
@@ -413,18 +413,19 @@ var bootstrap = function ($, learun) { |
|
|
|
mainId: 'AAIId', |
|
|
|
}); |
|
|
|
$('#subbtn').on('click', function () { |
|
|
|
//if (!$('body').lrValidform()) { |
|
|
|
// return false; |
|
|
|
//} |
|
|
|
if (!$('body').lrValidform()) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
var entity = $('body').lrGetFormData(); |
|
|
|
var strStuEntity = $('#selgridtab').jfGridGet('rowdatas'); |
|
|
|
|
|
|
|
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm?entity=' + entity, strStuEntity, function (res) { |
|
|
|
// 保存成功后才回调 |
|
|
|
if (!!callBack) { |
|
|
|
callBack(); |
|
|
|
} |
|
|
|
}); |
|
|
|
var selgridtab = $('#selgridtab').jfGridGet('rowdatas'); |
|
|
|
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) }, |
|
|
|
//function (res) { |
|
|
|
// // 保存成功后才回调 |
|
|
|
// if (!!callBack) { |
|
|
|
// callBack(res); |
|
|
|
// } |
|
|
|
//} |
|
|
|
); |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 初始化列表 |
|
|
|