Edit D:\rfid\libsystem\js\common_initkey.js
var common_init_libcode=mystorage.get("libcode");var common_init_json_array=[{key:"rdrtype",condition:"libcode",value:common_init_libcode},{key:"doctype",condition:"libcode",value:common_init_libcode},{key:"loanrule",condition:"libcode",value:common_init_libcode},{key:"libcode",condition:"code",value:common_init_libcode},{key:"rdrfld1",condition:"parentid",value:"1"},{key:"rdrfld2",condition:"parentid",value:"2"},{key:"rdrfld3",condition:"parentid",value:"3"},{key:"rdrfld4",condition:"parentid",value:"4"},{code:"curlocation,location",key:"loccode",condition:"libcode",value:common_init_libcode},{code:"callno",key:"classno",condition:"classlevel",value:"1"},{key:"bookseller",condition:"libcode",value:common_init_libcode},];var common_init_json=null;function getInitJsonByCode(a){var d=a;if(d.indexOf(".")>0){d=d.substr(d.indexOf(".")+1)}var c=0;if(!common_init_json){common_init_json={};common_init_json_array.forEach(function(f,g,h){common_init_json[f.key]=f;if(f.code){var e=f.code.split(",");for(g=0;g<e.length&&e[g];g++){common_init_json[e[g]]=f}}})}var b=common_init_json[d];if(!b){b={key:d}}return b}function getInitJsonArray(a){var b=[];a.forEach(function(c,e,f){var d=getInitJsonByCode(c.code);d=mergeJsonObject(d,c);b.push(d)});return b}function getInitCodeArray(b){var c=[];if(!b){b="export_record"}var a=$('[item-type="'+b+'"]');a.each(function(d,f){if(f.className.indexOf("easyui-combobox")<0&&f.className.indexOf("easyui-datagrid")<0){return true}var g=f.attributes["item-no-init"];if(!g){var e={};e.code=f.id;c.push(e)}});return c}function initSrceenAndJson(){initJson=getInitJsonArray(initJson);countFormatDesignFieldComBoxData=initJson;initSrceenDataByJson();setFormatDesignFieldComBoxData()}function initSrceenDataByJson(){var a=getInitJsonArray(getInitCodeArray());commonSetParaInit(null,"export_record",null,a)};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de