@@ -115,7 +115,6 @@ var bootstrap = function ($, learun) { | |||||
var detail = ""; | var detail = ""; | ||||
var ifisnull = false; | var ifisnull = false; | ||||
$('.paydetail').each(function (i, item) { | $('.paydetail').each(function (i, item) { | ||||
$(this).attr('disabled', 'disabled'); | |||||
var value = 0; | var value = 0; | ||||
if (!!$(this).val()) { | if (!!$(this).val()) { | ||||
value = parseFloat($(this).val()); | value = parseFloat($(this).val()); | ||||
@@ -136,6 +135,9 @@ var bootstrap = function ($, learun) { | |||||
learun.alert.warning("收费项目金额不能为空!请检查并填写。"); | learun.alert.warning("收费项目金额不能为空!请检查并填写。"); | ||||
return; | return; | ||||
} | } | ||||
$('.paydetail').each(function(i, item) { | |||||
$(this).attr('disabled', 'disabled'); | |||||
}); | |||||
detail = detail.substring(0, detail.length - 1); | detail = detail.substring(0, detail.length - 1); | ||||
var param = {}; | var param = {}; | ||||
//param.LoanMoney = $('#LoanMoney').val(); | //param.LoanMoney = $('#LoanMoney').val(); | ||||
@@ -91,7 +91,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}); | }); | ||||
} else { | } else { | ||||
learun.alert.warning("当前学生尚未缴费,请缴费成功后耐心等待!"); | |||||
learun.alert.warning("当前学生尚未开票,请缴费成功后耐心等待!"); | |||||
return; | return; | ||||
} | } | ||||
} | } | ||||
@@ -114,7 +114,6 @@ var bootstrap = function ($, learun) { | |||||
var detail = ""; | var detail = ""; | ||||
var ifisnull = false; | var ifisnull = false; | ||||
$('.paydetail').each(function (i, item) { | $('.paydetail').each(function (i, item) { | ||||
$(this).attr('disabled', 'disabled'); | |||||
var value = 0; | var value = 0; | ||||
if (!!$(this).val()) { | if (!!$(this).val()) { | ||||
value = parseFloat($(this).val()); | value = parseFloat($(this).val()); | ||||
@@ -135,6 +134,9 @@ var bootstrap = function ($, learun) { | |||||
learun.alert.warning("收费项目金额不能为空!请检查并填写。"); | learun.alert.warning("收费项目金额不能为空!请检查并填写。"); | ||||
return; | return; | ||||
} | } | ||||
$('.paydetail').each(function(i, item) { | |||||
$(this).attr('disabled', 'disabled'); | |||||
}); | |||||
detail = detail.substring(0, detail.length - 1); | detail = detail.substring(0, detail.length - 1); | ||||
var param = {}; | var param = {}; | ||||
//param.LoanMoney = $('#LoanMoney').val(); | //param.LoanMoney = $('#LoanMoney').val(); | ||||
@@ -90,7 +90,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}); | }); | ||||
} else { | } else { | ||||
learun.alert.warning("当前新生尚未缴费,请缴费成功后耐心等待!"); | |||||
learun.alert.warning("当前学生尚未开票,请缴费成功后耐心等待!"); | |||||
return; | return; | ||||
} | } | ||||
} | } | ||||