$(function () { var examinationRegistConfirmNo = $.SystemGeneral.getUrlParam("examinationRegistConfirmNo"); $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + '/StudentFee/PrintSave', { examinationRegistConfirmNo: examinationRegistConfirmNo }, function (ret) { if (ret.IsSuccess && ret.Data != null) { top.$.messager.alert("提示", "缴费成功。"); beginprint(ret.Data); } else { top.$.messager.alert("错误", ret.Message); } }); }) function beginprint(data) { $("#lblReceiptNo").html(data.ReceiptNo); $("#lblClassmajor").html(data.Classmajor); $("#lblTotal").html(data.TotalStr); $("#lblTenThousand").html(data.TenThousand); $("#lblThousand").html(data.Thousand); $("#lblHundred").html(data.Hundred); $("#lblTen").html(data.Ten); $("#lblYuan").html(data.Yuan); $("#lblJiao").html(data.Jiao); $("#lblFen").html(data.Fen); $("#lblTotal1").html(data.Total); $("#lblOperator").html(data.Operator); $("#lblYear").html(data.Year); $("#lblMonth").html(data.Month); $("#lblDay").html(data.Day); if (!!window.ActiveXObject || "ActiveXObject" in window) { PrintArea.Remove_IE_Header_And_Footer(); } $("#content").printArea({ mode: "iframe" }); return false; }