Edit D:\rfid\libsystem\page\acquisition\js\acq_orderhandler.js
var selectEditBibId=0;var selectCenterBibId=0;var initJson;var tabGrid_title="(???)";var noEditBibGridByCode=false;var selectGridRecordObj;vPageNameFlag="??????";$(function(){initJson=[{code:"page_sysid",key:"sysid",condition:"type",value:vType,linkage:[{code:"page_template",key:"template",condition:"sysid"}]},{code:"page_ctrlno",key:"ctrlno",condition:"libcode",value:vLibcode},{code:"page_z3950",key:"z3950",condition:"libcode",value:vLibcode},{code:"page_editmodel",key:"editmodel"},{code:"page_finsources",key:"finsources"},{code:"page_mediatype",key:"mediatype"},{code:"page_binding",key:"binding"},{code:"page_docsources",key:"docsources"},{code:"page_ncy",key:"ncy"},{code:"page_bookseller",key:"bookseller",condition:"libcode",value:vLibcode},{code:"page_location",key:"location",condition:"libcode",value:vLibcode},{code:"page_doctype",key:"doctype",condition:"libcode",value:vLibcode},{code:"libcodeSelect,libcode",key:"libcode",condition:"code",value:vLibcode},{code:"page_pertype",key:"pertype"},{code:"acqstatus",key:"acqstatus"},{code:"operid",key:"operid"},{code:"frequency",key:"frequency",fmt:"entity"},{code:"ordertype",key:"perordertype"}];_subscribeOrderPageObj.prototype.initComBox();_comGridObj.prototype.events()});var _subscribeOrderPageObj=function(){};_subscribeOrderPageObj.prototype.initComBox=function(c){var a=base_path+"acq/collectcata/page.do";var b={};b.status="1";b.sysid=c;$.post(a,b,function(d){$("#catacode").combobox({data:d.rows,valueField:"code",textField:"name",panelHeight:"auto",onLoadSuccess:function(){var e=$(this).combobox("getData");if(e.length>0){$(this).combobox("select",e[0].code)}}})},"json")};_subscribeOrderPageObj.prototype.getParam=function(c,b,a){c.rows=10;c.page=1;c.orderBy=" id desc ";if(b){c.condition=b;c.value=a}else{c["limit[0].condition"]="sysid";c["limit[0].value"]=getValue("page_sysid");c["limit[1].condition"]="catacode";c["limit[1].value"]=getValue("catacode");if(getValue("keyword").length>0){c.condition=getValue("bibindex");c.value=getValue("keyword")}}};var _comGridObj=function(){};_comGridObj.prototype.clear=function(){selectEditBibId=0;clearGridData("editBibGrid,acqDataGridList,orderDataGridList,holdDataGridList");$("#tabsGrid").tabs("select",0)};_comGridObj.prototype.events=function(){selectGridRecordObj=$("#acqDataGridList");selectGridRecordObj.datagrid({idField:"id",onCheck:function(b,a){addcheckItem()},onUncheck:function(b,a){removeSingleItem(b,a)},onCheckAll:function(a){addcheckItem()},onUncheckAll:function(a){removeAllItem(a)},rowStyler:rowStylerIsUpdateByLibcode,onSelect:_acqGridObj.prototype.select});$("#tabsGrid").tabs({onSelect:_tabsGridObj.prototype.select});$("#holdDataGridList").datagrid({rowStyler:rowStylerIsUpdateByLibcode})};var _acqGridObj=function(){};_acqGridObj.prototype.select=function(a,b){if(!isUpdateByLibcode(b.libcode)){_linkbuttonObj.prototype.status(true)}else{_linkbuttonObj.prototype.status(false)}if(vType=="1"){_comGridObj.prototype.loadData(b.id,"order",vType)}else{_comGridObj.prototype.loadData(b.linkid,"order")}_comGridObj.prototype.loadData(b.linkid,"hold");_detailData.prototype.set(b.id);bindRecommendDataGridListByBibId(b.id)};var _tabsGridObj=function(){};_tabsGridObj.prototype.select=function(b,a){if(a==1){$("#cancelOrderBibRecord").show();$("#deleteOrderBib").show()}else{$("#cancelOrderBibRecord").hide();$("#deleteOrderBib").hide()}if(vType==1){$("#cancelOrderBibRecord").hide()}};_tabsGridObj.prototype.setTitle=function(a,b,c){};function bindRecommendDataGridListByBibId(a){if(a>0){var b=base_path+"acq/recommend/pageUnion.do";var c={};c.colid=a;c.rows=10;c.page=1;$("#recommendDataGridList").datagrid({url:b,queryParams:c,onLoadSuccess:function(d){},method:"post"})}else{deleteGridData("recommendDataGridList")}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de