var debtRow;$(function(){enterEvent("barcode",searchHoldList);$("#barcode").textbox("textbox").focus().select()});function lostReturn(){var a="";if(debtRow){a+="需要退丢失罚款"+parseFloat(debtRow.money).toFixed(2)+"(元),"}$.messager.confirm("提示消息",a+"您确定要执行丢失拾回处理吗?",function(c){if(c){var b=base_path+"cir/circulation/cancelLost.do";var d={};d.barcode=getValue("barcode");d.op="cancel";$.post(b,d,function(e){if(e.status=="0"){var f=e.rows[0];openMessageDlg(e.message);$("#barcode").textbox("textbox").focus().select()}else{openMessageDlg(e.message)}},"json")}})}function searchHoldList(){var a=base_path+"hld/holding/getHoldingWithBib.do";var b={};if(getValue("barcode").length==0){return openMessageDlg("条码号不能为空")}b.barcode=getValue("barcode");$.post(a,b,function(c){if(c.status=="0"){var d=c.rows[0];setBibHtmlShow(d);searchLostInfo(b.barcode)}else{openMessageDlg(c.message)}},"json")}function searchLostInfo(a){var b=base_path+"cir/circulation/cancelLost.do";var c={};c.barcode=a;c.op="srch";$.post(b,c,function(d){if(d.status=="0"){var e=d.rows[0];setLostHtmlShow(e)}else{openMessageDlg(d.message)}},"json")}function setLostHtmlShow(d){var c=d.loginfo;debtRow=d.debt;if(debtRow){$("#money").html(parseFloat(debtRow.money).toFixed(2)+"(元)")}else{$("#money").html("暂无罚款")}var b=["logrdrno","logdate","rdrlibcode","operacc"];for(var a=0;a