Edit D:\rfid\libsystem\page\circulation\js\rdr_fin_check.js
$(function(){vType=parseInt(vType);setCurPageGirdList();commonSetParaInit("finsearch","init-data","all",null);commonSetParaInit(null,"record");enterEvent("keyword",searchRdrRecord);$("#rdrDataGridList").datagrid({onSelect:onSelectRdrDataGridList});$("#debtDataGridList").datagrid({fitColumns:true});$("#finLogDataGridList").datagrid({fitColumns:true});$("#keyword").textbox("textbox").focus()});function setCurPageGirdList(){if(vType=="0"){setCurFinGridHeight()}else{if(vType=="1"){setHistoryFinGridHeight()}}}function onSelectRdrDataGridList(a,b){if(vType=="0"){bindCurFinDataGridList(b.id)}else{if(vType=="1"){bindHistoryFinDataGridList(b.id)}}}function bindHistoryFinDataGridList(b){var a=base_path+"cir/fine/pageUnion.do";var c={};clearGridData("finLogDataGridList");c.rows=10;c.page=1;c.rdrid=b;if(getValue("finsearchpayway").length>0){c.payway=getValue("finsearchpayway")}if(getValue("finsearchfintype").length>0){c.type=getValue("finsearchfintype")}if(getValue("finsearchrectype").length>0){c.rectype=getValue("finsearchrectype")}if(getValue("finsearchbegdate").length>0&&getValue("finsearchenddate").length>0){c["limit[0].condition"]="findate";c["limit[0].typeHandler"]="2";c["limit[0].value"]=getValue("finsearchbegdate").replace(new RegExp("-","g"),"");c["limit[0].secondValue"]=getValue("finsearchenddate").replace(new RegExp("-","g"),"")}$("#finLogDataGridList").datagrid({url:a,queryParams:c,onLoadSuccess:function(d){},method:"post"})}function bindCurFinDataGridList(b){var a=base_path+"cir/fine/pageCurFineUnion.do";var c={};clearGridData("debtDataGridList");c.rows=10;c.page=1;c.rdrid=b;$("#debtDataGridList").datagrid({url:a,queryParams:c,onLoadSuccess:function(d){},method:"post"})}function setHistoryFinGridHeight(){var a=$(window).height();var b=a-456;$(".curhistory-grid-div").css("height",b+"px");$("#finLogDataGridList").datagrid("resize")}function setCurFinGridHeight(){var a=$(window).height();var b=a-410;$(".curloan-grid-div").css("height",b+"px");$("#debtDataGridList").datagrid("resize")}function searchRdrRecord(){var a=base_path+"cir/reader/page.do";var b={};if(getValue("keyword").length==0){return openMessageDlg("????????????")}clearGridData("rdrDataGridList,debtDataGridList,finLogDataGridList");b.rows=10;b.page=1;b[""+getValue("index")+""]=getValue("keyword");$("#rdrDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){if(c.total>0){$("#rdrDataGridList").datagrid("selectRow",0)}else{return openMessageDlg("????????????")}},method:"post"})};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de