Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\circulation\js\cir_logistics_accept.js
$(function(){autoPanle();$(".easyui-panel-resize").panel("resize");setInitPageElementData();$("#barcode").textbox("textbox").focus();enterEvent("barcode",searchHoldRecord)});function setInitPageElementData(){var a=[{code:"logtaglib",key:"curlibcode"},{code:"logtagloc",key:"curlocation"}];commonSetParaInit(null,"record",null,a)}function autoPanle(){var a=$(window).height();var b=a-(126+340);$(".datagrid-div").css("height",b+"px");$("#LogisticsDataGridList").datagrid("resize")}function searchHoldRecord(){var a=base_path+"hld/holding/getHoldingWithBib.do";var b={};if(getValue("barcode").length==0){return openMessageDlg("???????????")}b.barcode=getValue("barcode");$.post(a,b,function(c){if(c.status=="0"){var d=c.rows[0];setBibHtmlShow(d);getLogisticsPage(d.id)}else{openMessageDlg(c.message)}},"json")}function onSendHandler(){var a=$("#LogisticsDataGridList").datagrid("getSelected");if(!a){return openMessageDlg("?????????¤??????,??????!")}$.messager.confirm("??????","?????????????????????",function(c){if(c){var b=base_path+"cir/logistics/update.do";var d={};d.id=a.id;d.type="1";$.post(b,d,function(e){if(e.status=="0"){getLogisticsPage(a.hldid)}else{openMessageDlg(e.message)}},"json")}})}function getLogisticsPage(c){deleteGridData("LogisticsDataGridList");var a=base_path+"cir/logistics/page.do";var b={};b.hldid=c;$("#LogisticsDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(d){},method:"post"})}function onLogisticsDelete(){var a=$("#LogisticsDataGridList").datagrid("getSelected");if(!a){return openMessageDlg("?????????¤??????,??????!")}$.messager.confirm("??????","??????????????????",function(c){if(c){var b=base_path+"cir/logistics/delete.do";var d={};d.pk=a.id;$.post(b,d,function(e){if(e.status=="0"){getLogisticsPage(a.resid)}else{openMessageDlg(e.message)}},"json")}})}function setBibHtmlShow(d){var c="";var b=[{code:"title",name:"???"},{code:"author",name:"????"},{code:"barcode",name:"?????"},{code:"curlibcode",name:"????????"},{code:"curlocation",name:"????????"},{code:"isbn",name:"ISBN"},{code:"price",name:"???"},{code:"classno",name:"?????"},{code:"subject",name:"?????"},{code:"publish",name:"?????"},{code:"publishaddress",name:"?????"},{code:"publishdate",name:"?????"},{code:"callno",name:"?????"},{code:"content",name:"???????"}];for(var a=0;a<b.length;a++){if(b[a].code=="barcode"){c+="<div class='div-book-record barcode-cirinfo'>"+b[a].name+":"+(d[b[a].code]==null?"":d[b[a].code])+"</div>"}else{if(b[a].code=="curlibcode"){setValue("logcurlib",d[b[a].code]);c+="<div class='div-book-record curlibcode-cirinfo'>"+b[a].name+":"+onShowLibName(d[b[a].code])+"</div>"}else{if(b[a].code=="curlocation"){setValue("logcurloc",d[b[a].code]);c+="<div class='div-book-record curlocation-cirinfo' >"+b[a].name+":"+onShowLocationName(d[b[a].code])+"</div>"}else{c+="<div class='div-book-record'>"+b[a].name+":"+(d[b[a].code]==null?"":d[b[a].code])+"</div>"}}}}$(".bib-html-data").html(c)};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de