|
|
@@ -89,11 +89,15 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
// 助学贷款 |
|
|
|
// 填写贷款回执码 |
|
|
|
$('#lr_loan').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
|
selectedRow = $('#gridtable').jfGridGet('rowdata'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
if (selectedRow.StudentLoanStatus == "1") { |
|
|
|
learun.alert.warning("当前新生助学贷款已审核!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
learun.layerForm({ |
|
|
|
id: 'loanForm', |
|
|
|
title: '助学贷款', |
|
|
@@ -115,6 +119,11 @@ var bootstrap = function ($, learun) { |
|
|
|
learun.alert.warning("当前新生助学贷款已审核!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (selectedRow.StudentLoan == null || selectedRow.StudentLoan == "" || selectedRow.StudentLoan == undefined) { |
|
|
|
learun.alert.warning("贷款回执码为空!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
learun.layerConfirm('是否确认审核助学贷款!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/DoCheckLoan', { keyValue: keyValue, status: 1 }, function () { |
|
|
@@ -212,6 +221,11 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
{ label: '线上缴费时间', name: 'PayFeeDate', width: 130, align: "left" }, |
|
|
|
{ label: '贷款回执码', name: 'StudentLoan', width: 130, align: "left" }, |
|
|
|
{ |
|
|
|
label: '助学贷款状态', name: 'StudentLoanStatus', width: 100, align: "left", formatter: function (value) { |
|
|
|
return value == 1 ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-warning\">未审核</span>"; |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '现场缴费状态', name: 'OnsitePayFeeStatus', width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|