var jsonFormatDesign={code:"STA_RDR_PAYFINE",table:"lib_cir_finelog",width:"900",height:"600",top:80,left:180};var fieldComBoxData=[{field:"count(distinct lib_cir_finelog.rdrid)",name:"人数"},{field:"count(lib_cir_finelog.id)",name:"笔数"},{field:"sum(case lib_cir_finelog.rectype when '2' then -1*abs(lib_cir_finelog.money) else abs(lib_cir_finelog.money) end)",name:"金额",format:"%.2f"}];var initJson=[{code:"rdrtype",name:"读者类型",key:"rdrtype",condition:"libcode",value:vLibcode},{code:"lib_cir_finelog.loccode",name:"服务馆",key:"libcode",condition:"code",value:vLibcode},{code:"lib_cir_reader.libcode",name:"开户馆",key:"libcode",condition:"code",value:vLibcode},{code:"to_char(lib_cir_finelog.operid)",name:"操作员",key:"operid",condition:"libcode",value:vLibcode},{code:"gender",name:"读者性别",key:"gender"},{code:"lib_cir_finelog.type",name:"财经类型",key:"fintype"},{code:"lib_cir_finelog.rectype",name:"操作类型",key:"rectype"},{code:"lib_cir_finelog.payway",name:"付款方式",key:"payway"},];var countFormatDesignFieldComBoxData=initJson;$(function(){jsonFormatDesign.table="lib_cir_finelog join lib_cir_reader on (rdrid=lib_cir_reader.id)";var a=[{code:"loccode",key:"libcode",condition:"code",value:vLibcode},{key:"operid",condition:"libcode",value:vLibcode},{key:"rectype"},{code:"type",key:"fintype"},];commonSetParaInit(null,"export_record",null,a);setFormatDesignFieldComBoxData()});function initFormatDesignFieldComBoxData(){var b={key:"rdrfld0",condition:"parentid",value:"0"};var a=base_path+"par/common/getInitData.do";$.post(a,b,function(f){var e=f.rows;for(var d=0;d0){setFormatDesignFieldComBoxData()}},"json")};