@@ -41,6 +41,10 @@ | |||||
<div id="btnBox"> | <div id="btnBox"> | ||||
<div id="confirmPayFee" class="btn btn-primary">支付</div> | <div id="confirmPayFee" class="btn btn-primary">支付</div> | ||||
<div id="cancelPayFee" class="btn btn-default">取消</div> | <div id="cancelPayFee" class="btn btn-default">取消</div> | ||||
<div id="queryPayFee" class="btn btn-primary">查询缴费结果</div> | |||||
</div> | |||||
<div id="btnBox"> | |||||
<span style="color: red;">注意:1.点击【支付】按钮使用手机支付宝、微信扫描右上角二维码进行支付。<br />2.请于支付成功5分钟后,点击【查询缴费结果】或关闭本窗口刷新列表获取缴费结果。<br />3.发票会在缴清全部费用后一次性开具。</span> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoBasic_PayFee/PayFeeForm.js") | @Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoBasic_PayFee/PayFeeForm.js") |
@@ -40,6 +40,9 @@ var bootstrap = function ($, learun) { | |||||
$('#cancelPayFee').click(function () { | $('#cancelPayFee').click(function () { | ||||
learun.layerClose(window.name); | learun.layerClose(window.name); | ||||
}); | }); | ||||
$('#queryPayFee').click(function () { | |||||
location.reload(); | |||||
}); | |||||
//计算实交金额 | //计算实交金额 | ||||
$('table').on('change', | $('table').on('change', | ||||
@@ -100,7 +103,7 @@ var bootstrap = function ($, learun) { | |||||
$.each(data['FinaChargesStandardList'], function (i, item) { | $.each(data['FinaChargesStandardList'], function (i, item) { | ||||
html += '<tr><td class=\"tableLeft\">' + item.ChargeItemName + '</td><td>' + item.Standard + '元</td><td><input id="' + item.ChargeItemCode + '" data-amount="' + item.Standard + '" data-name="' + item.ChargeItemName + '" type="number" class="form-control paydetail" value="' + item.SJAmount+'" /></td></tr>'; | html += '<tr><td class=\"tableLeft\">' + item.ChargeItemName + '</td><td>' + item.Standard + '元</td><td><input id="' + item.ChargeItemCode + '" data-amount="' + item.Standard + '" data-name="' + item.ChargeItemName + '" type="number" class="form-control paydetail" value="' + item.SJAmount+'" /></td></tr>'; | ||||
}); | }); | ||||
html += '<tr><td class=\"tableLeft\">应缴合计</td><td>' + data['PayFeeTotal'] + '元</td><td><span id="PayMoney"></span></td></tr>'; | |||||
html += '<tr><td class=\"tableLeft\">应缴合计</td><td>' + data['PayFeeTotal'] + '元</td><td><span id="PayMoney">' + PayFeeTotal+'</span></td></tr>'; | |||||
html += '<tr><td class=\"tableLeft\"> </td><td colspan="2"> </td></tr>'; | html += '<tr><td class=\"tableLeft\"> </td><td colspan="2"> </td></tr>'; | ||||
html += '<tr><td class=\"tableLeft\">已缴金额</td><td colspan="2">' + YJAmount + '</td></tr>'; | html += '<tr><td class=\"tableLeft\">已缴金额</td><td colspan="2">' + YJAmount + '</td></tr>'; | ||||
$('#PayFeeDetail').html(html); | $('#PayFeeDetail').html(html); | ||||
@@ -139,6 +142,8 @@ var bootstrap = function ($, learun) { | |||||
param.PayMoney = $('#PayMoney').html(); | param.PayMoney = $('#PayMoney').html(); | ||||
learun.loading(true, '正在生成付款信息请稍等...'); | learun.loading(true, '正在生成付款信息请稍等...'); | ||||
$("#confirmPayFee").hide(); | $("#confirmPayFee").hide(); | ||||
console.log(JSON.stringify(param)); | |||||
console.log(JSON.stringify(list)); | |||||
learun.httpAsyncPost(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic_PayFee/PayFeeQRCode?keyValue=' + keyValue, { strEntity: JSON.stringify(param), detailList: JSON.stringify(list) }, function (res) { | learun.httpAsyncPost(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic_PayFee/PayFeeQRCode?keyValue=' + keyValue, { strEntity: JSON.stringify(param), detailList: JSON.stringify(list) }, function (res) { | ||||
learun.loading(false); | learun.loading(false); | ||||
$('#qrcodeImg').attr('src', res.info); | $('#qrcodeImg').attr('src', res.info); | ||||
@@ -52,7 +52,7 @@ var bootstrap = function ($, learun) { | |||||
title: '二维码缴费', | title: '二维码缴费', | ||||
url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic_PayFee/PayFeeForm?keyValue=' + keyValue, | url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic_PayFee/PayFeeForm?keyValue=' + keyValue, | ||||
width: 800, | width: 800, | ||||
height: 600, | |||||
height: 650, | |||||
btn: null | btn: null | ||||
}); | }); | ||||
} | } | ||||
@@ -41,6 +41,10 @@ | |||||
<div id="btnBox"> | <div id="btnBox"> | ||||
<div id="confirmPayFee" class="btn btn-primary">支付</div> | <div id="confirmPayFee" class="btn btn-primary">支付</div> | ||||
<div id="cancelPayFee" class="btn btn-default">取消</div> | <div id="cancelPayFee" class="btn btn-default">取消</div> | ||||
<div id="queryPayFee" class="btn btn-primary">查询缴费结果</div> | |||||
</div> | |||||
<div id="btnBox"> | |||||
<span style="color: red;">注意:1.点击【支付】按钮使用手机支付宝、微信扫描右上角二维码进行支付。<br />2.请于支付成功5分钟后,点击【查询缴费结果】或关闭本窗口刷新列表获取缴费结果。<br />3.发票会在缴清全部费用后一次性开具。</span> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeForm.js") | @Html.AppendJsFile("/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeForm.js") |
@@ -39,9 +39,9 @@ var bootstrap = function ($, learun) { | |||||
//取消缴费 | //取消缴费 | ||||
$('#cancelPayFee').click(function () { | $('#cancelPayFee').click(function () { | ||||
learun.layerClose(window.name); | learun.layerClose(window.name); | ||||
//learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/IsPayFee', { keyValue: keyValue, status: 0 }, function () { | |||||
// learun.frameTab.currentIframe().refreshGirdData(); | |||||
//}); | |||||
}); | |||||
$('#queryPayFee').click(function () { | |||||
location.reload(); | |||||
}); | }); | ||||
//计算实交金额 | //计算实交金额 | ||||
@@ -53,7 +53,7 @@ var bootstrap = function ($, learun) { | |||||
title: '二维码缴费', | title: '二维码缴费', | ||||
url: top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/PayFeeForm?keyValue=' + keyValue, | url: top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/PayFeeForm?keyValue=' + keyValue, | ||||
width: 800, | width: 800, | ||||
height: 600, | |||||
height: 650, | |||||
btn: null | btn: null | ||||
}); | }); | ||||
} | } | ||||