Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\acquisition\js\acq_orderhandler.js
vPageNameFlag="??????";var _subscribeOrderPageObj=function(){};$(function(){_subscribeOrderPageObj.prototype.init();_subscribeOrderPageObj.prototype.bind()});_subscribeOrderPageObj.prototype.init=function(){initJson=getInitCatOrPerJsonByType();_myPage.prototype.getLoadData(initJson);renderControllerView.prototype.bibindex();if(vType=="0"){$("#acqDataGridList").datagrid("hideColumn","orderno");$("#acqDataGridList").datagrid("hideColumn","unifiedno")}else{$("#acqDataGridList").datagrid("hideColumn","ordernum")}};_myPage.prototype.getLoadSuccess=function(d,e){_fmtGridDataRows=d;var b;if(vType=="0"||vType=="cata"||vType=="order"||vType=="check"||vType=="tobookcheck"||vType=="com"){mystorage.set("cat_init_data",d);b="cat"}else{if(vType=="1"){b="per";mystorage.set("per_init_data",d)}}getPageConfig("page_type",_setConfig.prototype.callSet,b);var a=$(window).height();var c=a-80;$(".class-acqZDDGlayout").css("height",c+"px");$("#acqZDDGlayout").layout("resize");$(".easyui-panel").panel("resize");getLayWHByResize("acqZDDGlayout")};_subscribeOrderPageObj.prototype.bind=function(){enterEvent("keyword",bibController.prototype.search);_comGridObj.prototype.events()};_subscribeOrderPageObj.prototype.initComBox=function(a){var b=base_path+"acq/collectcata/page.do";var c={};c.status="1";c.libcode=vLibcode;if(a.sysid){c.sysid=a.sysid;$.post(b,c,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=" CMDNUM desc ";if($("#bibindexSortFld").length>0){c.orderBy=" "+getValue("bibindexSortFld")+" "+getValue("bibindexSortType")+" "}if(b){c.condition=b;c.value=a}else{c["limit[0].condition"]="sysid";c["limit[0].value"]=cataConfigData.sysid;c["limit[1].condition"]="catacode";c["limit[1].value"]=getValue("catacode");if(getValue("cmdnum").length>0&&parseInt(getValue("cmdnum"))>0){c["limit[2].condition"]="CMDNUM";c["limit[2].value"]=getValue("cmdnum")}if(getValue("hldnum").length>0&&parseInt(getValue("hldnum"))>0){c["limit[3].condition"]="HLDNUM";c["limit[3].value"]=getValue("hldnum")}if(getValue("keyword").length>0){c.condition=getValue("bibindex");c.value=getValue("keyword")}}mystorage.set("ser_sub_order_con",c)};var _comGridObj=function(){};_comGridObj.prototype.clear=function(){checkedItems=[];$("#acqDataGridList").datagrid("clearChecked");selectEditBibId=0;if($("#editBibGrid").attr("class")){clearGridData("editBibGrid")}clearGridData("orderDataGridList,holdDataGridList,recommendDataGridList");$("#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,c){selectEditBibId=c.id;if(!isUpdateByLibcode(c.libcode)){_linkbuttonObj.prototype.status(true)}else{_linkbuttonObj.prototype.status(false)}var b=0;if(c.linkid){b=c.linkid}if(vType=="1"){bibGlobalController.prototype.loadGridData(c.id,"order",vType,"tabsGrid",1,"???")}else{bibGlobalController.prototype.loadGridData(b,"order",vType,"tabsGrid",1,"???")}bibGlobalController.prototype.loadGridData(b,"hold",null,"tabsGrid",2,"???");bibController.prototype.setDataByGirdSelect(c.id);bindRecommendDataGridListByBibId(c.id);_acqGridObj.prototype.centerDataGridList(b)};_acqGridObj.prototype.centerDataGridList=function(c){bibGlobalController.prototype.setDataToEditBibGrid("bibDataGridDetail",[]);var a=base_path+"lib/biblios/getMarcRecordForEdit.do";var b={};if(c){var b={};b.id=c;$.post(a,b,function(e){if(e.status=="0"){var d=e.rows;bibGlobalController.prototype.setDataToEditBibGrid("bibDataGridDetail",d)}else{openMessageDlg(e.message)}},"json")}};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){bibGlobalController.prototype.updateTabsGridTitByIndex("tabsGrid",3,"???????",d.total)},method:"post"})}else{deleteGridData("recommendDataGridList")}}function addSearchCondtion(){if($(".add-condtion").is(":hidden")){$(".add-condtion").show();$("#addSearchCondtion").linkbutton({text:"?????????????"})}else{$(".add-condtion").hide();$("#addSearchCondtion").linkbutton({text:"?????????????"})}}function setJGFPFB(){$("#jgfpfbdlg").dialog({onLoad:function(){bindConpiesEvent();var a=getValue("page_jgfpfb");if(a){$("#setCopiesDataGridList").datagrid("loadData",JSON.parse(a))}}}).dialog("open")}function saveJGFPFB(){var b={};var a=$("#setCopiesDataGridList").datagrid("getRows");if(a.length==0){setValue("page_jgfpfb","")}else{setValue("page_jgfpfb",JSON.stringify(a))}$("#jgfpfbdlg").dialog("close")}var copiesController=function(){};copiesController.prototype.deleteRow=function(){var b=$("#setCopiesDataGridList").datagrid("getSelected");if(b){var a=$("#setCopiesDataGridList").datagrid("getRowIndex",b);$("#setCopiesDataGridList").datagrid("deleteRow",a)}else{openMessageDlg("????????¤???")}};copiesController.prototype.insertRow=function(){var a={};a.minprice=getValue("minprice");a.maxprice=getValue("maxprice");a.jgfpcopies=getValue("jgfpcopies");$("#setCopiesDataGridList").datagrid("appendRow",a);bindConpiesEvent()};copiesController.prototype.undoRows=function(){$("#setCopiesDataGridList").datagrid("loadData",[])};function bindConpiesEvent(){$("#jgfpcopies").numberbox().next("span").find("input").focus().select().keydown(function(a){if(a.keyCode==13){copiesController.prototype.insertRow()}})}_setConfig.prototype.initPage=function(){bibController.prototype.initEditGridView()};_setConfig.prototype.otherAPP=function(a){_subscribeOrderPageObj.prototype.initComBox(a)};bibController.prototype.clear=function(a){_comGridObj.prototype.clear()};function onResizeBySouth(b,a){if(a!=400){setLayWHByResize("acqZDDGlayout","south",b,a)}}function myOrderList(){if(cataConfigData&&cataConfigData.order_batchno){mystorage.set("jump_order_batchno",cataConfigData.order_batchno);parent.addTab("????????","acquisition/acq_order.jsp","gear","1502","no")}else{openMessageDlg("???????????")}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de