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"