function onShowCirLogtype(a,b){return onGridShowNameBycode("cirlogtype",a)}function onShowRecTypeName(a,b){return onGridShowNameBycode("finsearchrectype",a)}function onShowPeccancy(a,b){return onGridShowNameBycode("peccancy",a)}function onShowPayWayName(a,b){return onGridShowNameBycode("finsearchpayway",a)}function onShowFinTypeName(a,b){if(_fmtGridDataAllValues){if(_fmtGridDataAllValues.rows[0].fintype){return onFmtGridDataRowsBycode(_fmtGridDataAllValues.rows[0].fintype,a)}}return onGridShowNameBycode("finsearchfintype",a)}function onShowLogtype(a,b){return onGridShowNameBycode("logtype",a)}function onShowOperNameById(a,b){if(_fmtGridDataAllValues){if(_fmtGridDataAllValues.rows[0].operid){return onFmtGridDataRowsBycode(_fmtGridDataAllValues.rows[0].operid,a)}}return onGridShowNameBycode("operid",a)}function onShowBonusType(a,b){if(_fmtGridDataRows){if(_fmtGridDataRows.rows[0].bonustype){return onFmtGridDataRowsBycode(_fmtGridDataRows.rows[0].bonustype,a)}}return onGridShowNameBycode("operid",a)}function onShowLibName(b,c){if(_fmtGridDataAllValues){if(_fmtGridDataAllValues.rows[0].libcode){return onFmtGridDataRowsBycode(_fmtGridDataAllValues.rows[0].libcode,b)}}a=$("#libcodeSelect");if(a.length>0){return onGridShowNameBycode("libcodeSelect",b)}var a=$("#libcode");if(a.length>0){return onGridShowNameBycode("libcode",b)}a=$("#orderbib_libcode");if(a.length>0){return onGridShowNameBycode("orderbib_libcode",b)}a=$("#checkper_libcode");if(a.length>0){return onGridShowNameBycode("checkper_libcode",b)}a=$("#bindper_libcode");if(a.length>0){return onGridShowNameBycode("bindper_libcode",b)}a=$("#hold_libcode");if(a.length>0){return onGridShowNameBycode("hold_libcode",b)}}function onShowRdrStatusName(a,b){if(_fmtGridDataRows){if(_fmtGridDataRows.rows[0].rdrstatus){return onFmtGridDataRowsBycode(_fmtGridDataRows.rows[0].rdrstatus,a)}}vComboBox=$("#rdrstatus");if(vComboBox.length>0){return onGridShowNameBycode("rdrstatus",a)}vComboBox=$("#status");if(vComboBox.length>0){return onGridShowNameBycode("status",a)}}function onShowRrdTypeName(a,b){if(_fmtGridDataAllValues){if(_fmtGridDataAllValues.rows[0].rdrtype){return onFmtGridDataRowsBycode(_fmtGridDataAllValues.rows[0].rdrtype,a)}}return onGridShowNameBycode("rdrtype",a)}function onShowLocationName(b,c){if(_fmtGridDataAllValues){if(_fmtGridDataAllValues.rows[0].location){return onFmtGridDataRowsBycode(_fmtGridDataAllValues.rows[0].location,b)}}var a=$("#location");if(a.length>0){return onGridShowNameBycode("location",b)}a=$("#curlocation");if(a.length>0){return onGridShowNameBycode("curlocation",b)}a=$("#taglocation");if(a.length>0){return onGridShowNameBycode("taglocation",b)}a=$("#page_location");if(a.length>0){return onGridShowNameBycode("page_location",b)}}function onShowDocTypeName(b,c){if(_fmtGridDataAllValues){if(_fmtGridDataAllValues.rows[0].doctype){return onFmtGridDataRowsBycode(_fmtGridDataAllValues.rows[0].doctype,b)}}var a=$("#doctype");if(a.length>0){return onGridShowNameBycode("doctype",b)}a=$("#tagdoctype");if(a.length>0){return onGridShowNameBycode("tagdoctype",b)}a=$("#page_doctype");if(a.length>0){return onGridShowNameBycode("page_doctype",b)}}function onShowDocSourcesName(b,c){if(_fmtGridDataRows){if(_fmtGridDataRows.rows[0].docsources){return onFmtGridDataRowsBycode(_fmtGridDataRows.rows[0].docsources,b)}}var a=$("#page_docsources");if(a.length>0){return onGridShowNameBycode("page_docsources",b)}a=$("#docsources");if(a.length>0){return onGridShowNameBycode("docsources",b)}}function onShowAcqStatus(a,b){return onGridShowNameBycode("acqstatus",a)}function onShowBindingName(a,b){if(_fmtGridDataRows){if(_fmtGridDataRows.rows[0].binding){return onFmtGridDataRowsBycode(_fmtGridDataRows.rows[0].binding,a)}}return onGridShowNameBycode("page_binding",a)}function onShowFinSourcesName(a,b){if(_fmtGridDataRows){if(_fmtGridDataRows.rows[0].finsources){return onFmtGridDataRowsBycode(_fmtGridDataRows.rows[0].finsources,a)}}return onGridShowNameBycode("page_finsources",a)}function onShowMediaTypeName(b,c){if(_fmtGridDataRows){if(_fmtGridDataRows.rows[0].mediatype){return onFmtGridDataRowsBycode(_fmtGridDataRows.rows[0].mediatype,b)}}var a=$("#page_mediatype");if(a.length>0){return onGridShowNameBycode("page_mediatype",b)}a=$("#mediatype");if(a.length>0){return onGridShowNameBycode("mediatype",b)}}function onShowOrderType(b,c,a){if(c.orderid>0){return"订购验收"}else{return"到书验收"}}function onShowBibStatusName(b,c,a){if(b=="0"){return"未审校"}else{return"已审校"}}function onShowGiftWay(b,c,a){if(b=="0"){return"积分兑换"}else{return"活动抽奖"}}function onShowRulecodeName(b,c,a){return onGridShowNameBycode("service",b)}function onShowOrdStatusName(b,c,a){if(b=="0"){return"订购"}else{return"退订"}}function onShowServiceName(c,d,b){var a=getValue("paramjson");if(c=="0"){if(a){a=JSON.parse(a);if(a.sperule&&a.sperule[d.code]){return"
手动开通
"}}return"未开通"}else{return"
自动开通
"}}function onShowSpetypeName(b,c,a){if(b=="1"){return"专项外借"}else{if(b=="2"){return"专项阅览"}else{if(b=="3"){return"电子阅览室"}}}}function onShowHoldStatusName(c,d){var b=[{code:"0",name:"在编"},{code:"1",name:"在馆"},{code:"2",name:"借出"},{code:"3",name:"预约"},{code:"4",name:"丢失"},{code:"5",name:"剔除"},{code:"6",name:"交换"},{code:"7",name:"赠送"},{code:"z",name:"其他"}];for(var a=0;a0){return onGridShowNameBycode("ordertype",b)}return onGridShowNameBycode("orderbib_ordertype",b)}function onShowPerFrequencyName(b,c){if(_fmtGridDataRows){if(_fmtGridDataRows.rows[0].frequency){return onFmtGridDataRowsBycode(_fmtGridDataRows.rows[0].frequency,b)}}var a=$("#orderbib_frequency");if(a.length>0){return onGridShowNameBycode("orderbib_frequency",b)}a=$("#checkper_frequency");if(a.length>0){return onGridShowNameBycode("checkper_frequency",b)}a=$("#frequency");if(a.length>0){return onGridShowNameBycode("frequency",b)}}function onShowPerCheckTypeName(a,b){return onGridShowNameBycode("checkper_type",a)}function onShowBooksellerName(b,c){if(_fmtGridDataAllValues){if(_fmtGridDataAllValues.rows[0].bookseller){return onFmtGridDataRowsBycode(_fmtGridDataAllValues.rows[0].bookseller,b)}}var a=$("#page_bookseller");if(a.length>0){return onGridShowNameBycode("page_bookseller",b)}a=$("#bookseller");if(a.length>0){return onGridShowNameBycode("bookseller",b)}}function onShowOrderMenuStatus(a,b){if(a=="1"){return"使用"}else{if(a=="2"){return"未用"}}}function onShowCheckNameToGrid(b,c,a){if(b=="1"){return"是"}else{return"否"}}function fmtBookReviewStatus(a,b){if(a=="0"){return"待审核"}else{if(a=="1"){return"
已审核
"}}}function onShowCheckDetailStatusName(a,b){return onGridShowNameBycode("checkdetail_status",a)}function onGridShowTextBycode(c,b){if($("#"+c).length>0){var d=$("#"+c).combobox("getData");if(b){for(var a=0;a0){if(!b){b=""}var d=$("#"+c).combobox("getData");for(var a=0;a