var cirConfig=function(){};var cirConfigParamjson;cirConfig.prototype.init=function(){cirConfig.prototype.serachBarcode();_myPage.prototype.onLoadData(_fmtGridDataRows,initJson);var a=$("#page_fineticket");if(a.length>0){bindPrintFDByCode("page_acceptDebtFormatDesignIndex","E_PRINTTICKETDEBT",callBindPrintResult)}if(cirConfigParamjson){setJsonData("page_",cirConfigParamjson);setWebSocket(cirConfigParamjson)}};function callBindPrintResult(){if(cirConfigParamjson){setJsonData("page_",cirConfigParamjson)}}cirConfig.prototype.serachBarcode=function(){clearGridData("rdrBarcodeDataGridList,holdBarcodeDataGridList");var a=base_path+"par/common/getInitData.do?key=barformat&condition=type&value=1";var b={};$("#rdrBarcodeDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){},method:"post"});a=base_path+"par/common/getInitData.do?key=barformat&condition=type&value=0";var b={};$("#holdBarcodeDataGridList").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){},method:"post"})};function callSetParaResult(c){if(c.status=="0"){var b=c.rows[0];var a=JSON.parse(b.paramjson);cirConfigParamjson=a;setValue("index",a.initindex)}};