Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\global\js\cirpublic.js
var specialRows;var cirConfigParamjson;function searchRdrRecord(d,a){$("#tabsGrid").tabs("select",0);setValue("rdrid","");var b=base_path+"cir/speloan/checkReaderBeforeLoan.do";b=base_path+"cir/speloan/checkReaderBeforeLoanByLoc.do";var c={};if(getValue("keyword").length==0){return openCirMessageDlg("????????????",getFocusReader)}if(d){c.rdrno=d.rdrno}else{if(a){c[a]=getValue("keyword")}else{c[""+getValue("index")+""]=getValue("keyword")}}c.location=getValue("service");$.post(b,c,function(e){if(e.status=="0"){getFocusBarCode();searchRdrRecordResult(e)}else{if(e.status=="3100"){var f=e.rows[0];if(f.debt>0){if(vType=="loan"){$("#fin_debt_dlg").window("open");searchDepositGridList(f,"debt")}}searchRdrRecordResult(e)}else{if(e.total>0){searchRdrRecordResult(e)}if(vType=="loan"){openCirMessageDlg(e.message,getFocusReader)}}}getSpecialParamJson()},"json")}function initServiceSelect(b){var a=base_path+"par/special/list.do";var c={};c["limit[0].condition"]="spetype";c["limit[0].value"]=b;$.post(a,c,function(e){if(e.status=="0"){var d=e.rows;specialRows=d;initSelectLocationBySpeType(d,b);if($("#page_type").length>0){getPageConfig("page_type",callSetParaResult)}else{getPageConfig("page_type",callSetParaResult,"cir")}}else{openMessageDlg(e.message)}},"json")}function callSetParaResult(c){if(c.status=="0"){var b=c.rows[0];var a=JSON.parse(b.paramjson);cirConfigParamjson=a}}function initSelectLocationBySpeType(e,c){var d=[];var g={};for(var b=0;b<e.length;b++){var f;f=e[b].loccode.split("|")[0];g[f]=f}var a=null;if(c=="4"){a=_fmtGridDataAllValues.rows[0].bookseller}if(c=="1"){a=_fmtGridDataAllValues.rows[0].location}for(var b=0;b<a.length;b++){if(g[a[b].code]){d.push(a[b])}}$("#service").combobox({data:d,valueField:"code",textField:"name",onLoadSuccess:function(){var h=$(this).combobox("getData");if(h.length>0){$(this).combobox("select",h[0].code)}}})}function insertCirResultDataGridListRow(h){var a="";if(h.debt_1>0){a+="????????"+h.overdays+"]??,????????"+h.debt_1+"]????"}if(h.stopdate&&h.stopdate>0){a+="????????"+h.overdays+"]??,?????["+h.stopdate+"]??"}if(h.debt_2>0){a+="??????,????????"+h.debt_2+"]????"}if(h.debt_3>0){a+="??????,????????"+h.debt_3+"]????"}if(h.debt_1>0||h.debt_2>0||h.debt_3>0){h.id=h.rdrid;if(vType!="return"||(vType=="return"&&getValue("page_handlerfin")==0)){$("#fin_debt_dlg").window("open");searchDepositGridList(h,"debt")}}var d="";if(h.opertype.indexOf("???")>-1){d="color: #ee7621;"}else{if(h.opertype.indexOf("???")>-1){d="color: #00CD66;"}else{d="color: #ff66d5;"}}if($("#jifenchuli").length>0){if(h.bonus){a+="???"+h.bonus+"????"}if(h.over_bonus){a+="??????"+h.over_bonus+"????"}if(h.bonus_message){a+=bonus_message}}var c="";if(h.barcode){c=h.barcode}var b="";if(h.callno){b=h.callno}var g="";if(h.title!=null&&h.title!="null"){g=h.title}var f="";if(h.author!=null&&h.author!="null"){f=h.author}var e="["+h.opertype+"]??"+h.returndate+"(??)}"+a+"??"+h.rdrno+":"+h.name+"}??"+c+":"+b+"??"+g+"??"+f+"}";h.note='<div style="font-size: 18px;'+d+'padding: 4px;font-weight: bolder;font-family: ??????;">'+e+"</div>";$("#cirResultDataGridList").datagrid("insertRow",{index:0,row:h})}function getSpecialParamJson(){var e=getValue("service");var c;for(var b=0;specialRows&&b<specialRows.length;b++){var d=specialRows[b].loccode.split("|")[0];if(d==e){c=specialRows[b];break}}var a=JSON.parse(c.paramjson);if(a.ke_jie_shu){setValue("maxloan",a.ke_jie_shu)}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de