Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\parameter\js\cat_locationforclassno.js
var autoSelect=true;var modcode;$(function(){var a={code:"location",key:"location",condition:"libcode",value:vLibcode};_myPage.prototype.initDataOne(a);$("#location").combobox({onChange:function(c,b){if(c&&!autoSelect){autoSelect=true;getLocationInfo(c)}},onClick:function(c,b){autoSelect=false}})});function openWin(a){setValue("location","");cleanJsonData("record");if(a){modcode=a.code}else{modcode=null}$("#win").window("open")}function saveRecordOk(a){var b=controller_url+operation;a=saveBeforRecord(a);if(modcode){a.modcode=modcode}$.post(b,a,function(c){openMessageDlg(c.message);if(c.status=="0"){closeWin(c);loadGridData(c)}},"json")}function getLocationInfo(c){var b;var a=base_path+"par/location/get.do";var d={pk:c};$.post(a,d,function(f){var e=f.rows[0];e.defclass=getValue("defclass");setJsonData(null,e)},"json")}function openWinAfter(a){setValue("location",a.code)}function verifyRepeatData(b,c){var a=[{name:"???"},{bcvalue:"??????"}];var f=c[0].id;var d=controller_url+"page.do";var e={};e[f]=b[f];e.libcode=b.libcode;$.post(d,e,function(h){if(h.status=="0"&&h.rows.length>0){var k=h.rows[0];if(k.id&&b.id==k.id){saveRecordOk(b)}else{if(k.code&&b.code==k.code){saveRecordOk(b)}else{var j="";for(var g=0;g<a.length;g++){if(a[g][f]){j=a[g][f];break}}openMessageDlg(j+"?????,?????????!");return false}}}else{saveRecordOk(b)}},"json")};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de