var _rfidObj=function(){};$(function(){$("#rfidDataGridList").datagrid({onSelect:_rfidObj.prototype.select})});_rfidObj.prototype.search=function(){$("#keyword").textbox("textbox").focus().select();deleteGridData("rfidDataGridList");var b={};var a=base_path+"cat/rfid/query.do";b.sysid=getValue("page_sysid");b.editmodel=getValue("page_editmodel");if(getValue("keyword").length==0){return openMessageDlg("检索值不能为空")}b.condition=getValue("bibindex");if(b.condition!="ISBN"){return openMessageDlg("检索条件只能选择ISBN")}b.value=getValue("keyword");$("#rfidDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){if(c.rows.length>0){if(vPageNameFlag=="回溯建库"){$("#tabsGrid").tabs("select",3)}else{if(vPageNameFlag=="期刊订购编目"){$("#tabsGrid").tabs("select",4)}else{$("#tabsGrid").tabs("select",6)}}$("#rfidDataGridList").datagrid("selectRow",0)}else{openMessageDlg(c.message)}},method:"post"})};_rfidObj.prototype.select=function(a,b){if(vPageNameFlag!="回溯建库"){if($("#centerDataGridDetail").length>0){$("#centerDataGridDetail").datagrid("getPanel").panel("setTitle","网上资源详细书目信息");$("#centerDataGridDetail").datagrid("loadData",b.marcrows);saveFldSelectCenterDataGridDetail()}}};function rfidDownLoadToAddEditGrid(){var a=$("#rfidDataGridList").datagrid("getSelected");if(a){_myComBib.prototype.addData(a.marcrows)}};