Edit D:\rfid\libsystem\page\common\js\renderControllerView.js
var renderGridView=function(){};renderGridView.prototype.grid=function(){renderGridView.prototype.acqGrid()};renderGridView.prototype.initGrid=function(c,b){var a=$("#"+c.id);if(!a.attr("class")){a.datagrid({iconCls:"e-icon fa fa-table",title:"",singleSelect:true,fit:true,fitColumns:true,pagination:true,striped:true,columns:[b]})}};var renderControllerView=function(){};renderControllerView.prototype.bibindex=function(c,b){var d={key:"bibindex"};var a=base_path+"par/common/getInitData.do";$.post(a,d,function(h){var g=h.rows;var f=[];for(var e=0;e<g.length;e++){if(g[e].code!="ORDERNO"&&g[e].code!="UNIFIEDNO"){f.push(g[e])}}g=f;$("#bibindex").combobox({data:g,valueField:"code",textField:"name",panelHeight:"200px",loadFilter:function(i){return i},onLoadSuccess:function(){$(this).combobox("select","ISBN")}})},"json")};renderControllerView.prototype.addSearchCondtion=function(){if($("#titlehandler").length>0){var a=[{code:"0",name:"??????"},{code:"1",name:"???????"}];$("#titlehandler").combobox({data:a,valueField:"code",textField:"name",panelHeight:"auto",onLoadSuccess:function(){$(this).combobox("select","1")}});$("#authorhandler").combobox({data:a,valueField:"code",textField:"name",panelHeight:"auto",onLoadSuccess:function(){$(this).combobox("select","1")}});var a=$("#bibindex").combobox("getData");$("#bibindextitle").combobox({data:a,valueField:"code",textField:"name",panelHeight:"200px",onLoadSuccess:function(){$(this).combobox("select","TITLE")}});$("#bibindexauthor").combobox({data:a,valueField:"code",textField:"name",panelHeight:"200px",onLoadSuccess:function(){$(this).combobox("select","AUTHOR")}})}};renderControllerView.prototype.autobar=function(b){if($("#page_autobar").length>0){var c={};c.libcode=vLibcode;c.orderBy=" libcode desc ";var a=base_path+"par/autobar/page.do";$.post(a,c,function(d){var e="auto";if(d.rows.length>10){e="200px"}$("#page_autobar").combobox({data:d.rows,valueField:"code",textField:"name",panelHeight:e,loadFilter:function(f){var g={};g.code="";g.name="???";f.splice(0,0,g);return f},onLoadSuccess:function(){$(this).combobox("select","")}});if($("#page_assetno").length>0){$("#page_assetno").combobox({data:d.rows,valueField:"code",textField:"name",panelHeight:e,onLoadSuccess:function(){$(this).combobox("select","")}})}if(b){b()}},"json")}};renderControllerView.prototype.batchno=function(b){if($("#orderbatchno").length>0){var c={type:"0",page:"1",rows:"500"};if(b){c.libcode=b}var a=base_path+"par/batchno/page.do";$.post(a,c,function(g){var f=[];for(var e=0;e<g.rows.length;e++){var d={code:""+g.rows[e].code+"",name:""+g.rows[e].code+""};f.push(d)}var h="auto";if(g.rows.length>10){h="200px"}$("#orderbatchno").combobox({data:f,valueField:"code",textField:"name",panelHeight:h,loadFilter:function(i){var j={};j.code="";j.name="?????????";i.splice(0,0,j);return i},onLoadSuccess:function(){$(this).combobox("select","")}})},"json")}};renderControllerView.prototype.billno=function(){if($("#page_billno").length>0){var b={};b.libcode=vLibcode;var a=base_path+"acq/fine/page.do";$.post(a,b,function(c){var d="auto";if(c.rows.length>10){d="200px"}$("#page_billno").combobox({data:c.rows,valueField:"billno",textField:"billno",panelHeight:d,loadFilter:function(e){var f={};f.billno="";f.billno="???";e.splice(0,0,f);return e},onLoadSuccess:function(){$(this).combobox("select","")}})},"json")}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de