| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386 |
- {
- "ID_KEY": "DUMMY_FLOW_SAMPLE",
- "GROUP_KEY": "RPT_B5表 工程变更数量及金额汇总表_SAMPLE_TPL",
- "主信息": {
- "单位": "厘米",
- "版本": {
- "主版本": "3",
- "功能版本": "0"
- },
- "页边距": {
- "Top": "1.0",
- "Left": "1.0",
- "Right": "1.0",
- "Bottom": "1.0"
- },
- "报表名称": "B5表 工程变更数量及金额汇总表",
- "打印页面_信息": {
- "方向": "PORTRAIT",
- "页规格": "A4"
- }
- },
- "布局框_集合": [
- {
- "Alignment": "Top",
- "DisplayType": "EveryPage",
- "Height": "2",
- "Name": "TitleBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Top",
- "DisplayType": "EveryPage",
- "Height": "1.5",
- "Name": "HeaderBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Bottom",
- "DisplayType": "EveryPage",
- "Height": "0.6",
- "Name": "FooterBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Fulfill",
- "DisplayType": "EveryPage",
- "Name": "Report Body",
- "control": "Default",
- "style": "BORDER_ALL_AROUND",
- "MergeBorder": "T",
- "band_s": [
- {
- "Alignment": "Top",
- "DisplayType": "EveryPage",
- "Height": "2.67",
- "Name": "ColumnBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Bottom",
- "DisplayType": "SegmentEnd",
- "Height": "6.67",
- "Name": "newBand_1",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Fulfill",
- "DisplayType": "EveryPage",
- "Name": "ContentBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- }
- ]
- }
- ],
- "计算式_集合": [
- {
- "Name": "获取打印时间",
- "run_type": "before_paging",
- "expression": "let rpt = $JE.P(5001,$CURRENT_RPT);\n let dt = new Date();\n rpt.Default_Value = dt.Format($ME.format);\n rpt = null;",
- "format": "yyyy 年 M 月 dd 日"
- },
- {
- "Name": "获取当前页",
- "run_type": "before_output",
- "expression": "let ttp = $JE.P(5010,$CURRENT_RPT);\n ttp.Default_Value = $ME.format.replace('($S)',$JE.getCurrentPage($CURRENT_RPT));\n ttp = null;",
- "format": "第 ($S) 页"
- },
- {
- "Name": "获取总页数",
- "run_type": "before_output",
- "expression": "let ttp = $JE.P(5011,$CURRENT_RPT);\n ttp.Default_Value = $ME.format.replace('($S)',$JE.getTotalPage($CURRENT_RPT));\n ttp = null;",
- "format": "共 ($S) 页"
- },
- {
- "Name": "综合设置",
- "run_type": "before_analyzing",
- "expression": "\n//变更令主数据\nlet bglId=$JE.F(2300,$CURRENT_RPT);\nlet bglCode=$JE.F(2301,$CURRENT_RPT);\nlet fLen0=$JE.getFieldDataLen(bglId, $CURRENT_DATA);\nlet masterBglArr = [];\nlet masterField=[bglId,bglCode];\nlet masterKeyArr=['bglId','bglCode'];\n\n//变更令从数据\nlet bglbillsCid=$JE.F(2400,$CURRENT_RPT);\nlet bglBillsCode=$JE.F(2401,$CURRENT_RPT);\nlet bglBillsName=$JE.F(2402,$CURRENT_RPT);\nlet bglBillsUnit=$JE.F(2403,$CURRENT_RPT);\nlet bglBillsQty=$JE.F(2407,$CURRENT_RPT);\nlet bglBillsPrice=$JE.F(2404,$CURRENT_RPT);\n\n//变更增减数量\nlet newBglBillsQtyZ=$JE.F(12000,$CURRENT_RPT);\nlet newBglBillsQtyJ=$JE.F(12001,$CURRENT_RPT);\n\n//变更增减金额\nlet newBglBillsTpZ=$JE.F(12002,$CURRENT_RPT);\nlet newBglBillsTpJ=$JE.F(12003,$CURRENT_RPT);\nlet newXuhao=$JE.F(12004,$CURRENT_RPT);\n\nlet fLen1=$JE.getFieldDataLen(bglbillsCid, $CURRENT_DATA);\nlet sortBefore = [];//缓存从数据\nlet destArr=[]; //从数据根据变更令ID,清单排序后的主数据\nlet decFieldArr=[newXuhao,bglbillsCid,bglBillsCode,bglBillsName,bglBillsUnit,bglBillsPrice,bglBillsQty,newBglBillsQtyZ,newBglBillsQtyJ,newBglBillsTpZ,newBglBillsTpJ];\nlet decKeyArr=['newXuhao','bglId','bglBCode','bglBName','bglBUnit','bglBPrice','bglBQty','bglBQtyZ','bglBQtyJ','bglTpZ','bglTpJ'];\n//设置增减\nlet addTp=$JE.F(2307,$CURRENT_RPT);\nlet minusTp=$JE.F(2309,$CURRENT_RPT);\n\n//获取金额小数位数\n//let tempPTp=$JE.F(1156,$CURRENT_RPT);\nlet preciousTp = $JE.getFieldValue($JE.F(1156,$CURRENT_RPT),$CURRENT_DATA,0,'');\n\n\n//缓存成数组,数组元素为对象\n//dataLength:原始数据长度,fieldArr:康博士定义的字段,keysArr:数组对象字段\nfunction cacheDataArr(dataLength,fieldArr,keysArr,cacheArr){\n\tfor (let chkIdx = 0; chkIdx < dataLength; chkIdx++){\n\t\tlet newDatad={};\n\t\tfor(let i=0;i<fieldArr.length;i++){\n\t\t\tlet tempData = $JE.getFieldValue(fieldArr[i], $CURRENT_DATA, chkIdx, '');\t\t\n\t\t\tnewDatad[keysArr[i]]=tempData;\t\t\t\n\t\t}\t\n\t\tcacheArr.push(newDatad);\n\t}\n}\n\n//缓存数据前,先处理新增字段\nfor (let nIdx = 0; nIdx < fLen1; nIdx++) {\n\tlet sQty= $JE.getFieldValue(bglBillsQty, $CURRENT_DATA, nIdx, '');\t\n\tif(isNaN(sQty) || sQty === '' || sQty === null){\n\t\tsQty=0;\n\t}else{\n\t\tsQty= parseFloat(sQty);\n\t}\n\tlet sPrice= $JE.getFieldValue(bglBillsPrice, $CURRENT_DATA, nIdx, '');\n\tif(isNaN(sPrice) || sPrice === '' || sPrice === null){\n\t\tsPrice=0;\n\t}else{\n\t\tsPrice= parseFloat(sPrice);\n\t}\n\t\n\tlet sTP=Math.round(sQty*sPrice*Math.pow(10,preciousTp))/Math.pow(10,preciousTp); \n\t//console.log(sTP);\n\tif(sQty>=0){\n\t\t$JE.setFieldValue(newBglBillsQtyZ, $CURRENT_DATA, nIdx, sQty);\n\t\t$JE.setFieldValue(newBglBillsTpZ, $CURRENT_DATA, nIdx, sTP);\n\t\t$JE.setFieldValue(newBglBillsQtyJ, $CURRENT_DATA, nIdx, 0);\n\t\t$JE.setFieldValue(newBglBillsTpJ, $CURRENT_DATA, nIdx, 0);\t\t\t\n\t}else{\n\t\t$JE.setFieldValue(newBglBillsQtyZ, $CURRENT_DATA, nIdx, 0);\n\t\t$JE.setFieldValue(newBglBillsTpZ, $CURRENT_DATA, nIdx, 0);\n\t\t$JE.setFieldValue(newBglBillsQtyJ, $CURRENT_DATA, nIdx, sQty);\n\t\t$JE.setFieldValue(newBglBillsTpJ, $CURRENT_DATA, nIdx, sTP);\n\t}\n}\n\n//处理序号\nfor(let bglNo = 0; bglNo < fLen0; bglNo++){\n\tlet no1= $JE.getFieldValue(bglId, $CURRENT_DATA, bglNo, '');\n\tlet vCn=0;\n\tfor(let billNo = 0; billNo < fLen1; billNo++){\t\t\n\t\tlet no2= $JE.getFieldValue(bglbillsCid, $CURRENT_DATA, billNo, '');\n\t\tif(no1===no2){\n\t\t\tvCn++;\n\t\t\t$JE.setFieldValue(newXuhao, $CURRENT_DATA, billNo, vCn);\n\t\t}\n\t}\t\n}\ncacheDataArr(fLen0,masterField,masterKeyArr,masterBglArr);\ncacheDataArr(fLen1,decFieldArr,decKeyArr,sortBefore);\n\n//主数据排序\nmasterBglArr.sort(function (a, b) {\n if (a['bglCode'] === b['bglCode']) {\n if (a['bglId'] > b['bglId']) {\n return 1;\n } else if (a['bglId'] < b['bglId']) {\n return -1;\n } else {\n return 0;\n }\n } else {\n if (a['bglCode'] > b['bglCode']) {\n return 1;\n } else {\n return -1;\n }\n }\n});\n//console.log(masterBglArr);\n\n//从数据根据主数据变更令id排序\nfor(let k=0; k<masterBglArr.length; k++){\n\t//console.log(masterBglArr[k]['bglId']);\n\tfor(let m=0; m<sortBefore.length; m++){\n\t\tif(sortBefore[m]['bglId']===masterBglArr[k]['bglId']){\t\t\t\n\t\t\tdestArr.push(sortBefore[m]);\t\t\n\t\t}\n\t}\n}\n\t\n//从数据根据变更令id,进行清单顺序,清单编号默认按照中文排序了,没去管1、2、10的问题\nfunction sortBy(field1,field2) {\n return function(a,b) {\n if(a.field1 == b.field1) return a.field2 - b.field2;\n return a.field1 - b.field1;\n }\n}\ndestArr.sort(sortBy(\"bglId\",\"bglBCode\")); \n\n//console.log(destArr);\t\n\n//fieldCountArr:需要设置的字段数;dataLengthArr:数据的长度;keysArr:数组转成对象的key值存放\nfunction moveToNewFields(fieldCountArr,dataLengthArr,keysArr) {\n\tlet vCn=0;\n\tfor(let field of fieldCountArr){\t\t\n\t\tfor(let N=0; N < dataLengthArr.length ;N++){\n\t\t\t$JE.setFieldValue(field, $CURRENT_DATA, N, dataLengthArr[N][keysArr[vCn]]);\n\t\t}\n\t\tvCn++;\n\t}\n};\t\t\n//移动主数据\nmoveToNewFields(masterField,masterBglArr,masterKeyArr);\t\nmoveToNewFields(decFieldArr,destArr,decKeyArr);\n\n//处理合计增减\nfor (let chkIdx = 0; chkIdx < fLen0; chkIdx++){\n\tlet sumZ=0;\n\tlet sumJ=0;\n\tlet bglid=$JE.getFieldValue(bglId, $CURRENT_DATA, chkIdx, '');\n\tfor(let i=0;i<fLen1;i++){\n\t\tlet bglCid=$JE.getFieldValue(bglbillsCid, $CURRENT_DATA, i, '');\n\t\tif(bglid===bglCid){\n\t\t\tlet tempZ = $JE.getFieldValue(newBglBillsTpZ, $CURRENT_DATA, i, '');\t\n\t\t\tlet tempJ = $JE.getFieldValue(newBglBillsTpJ, $CURRENT_DATA, i, '');\n\t\t\tsumZ+=tempZ;\n\t\t\tsumJ+=tempJ;\n\t\t} \n\t}\t\n\tsumZ=Math.round(sumZ*Math.pow(10,preciousTp))/Math.pow(10,preciousTp); \n\tsumJ=Math.round(sumJ*Math.pow(10,preciousTp))/Math.pow(10,preciousTp);\n\t$JE.setFieldValue(addTp, $CURRENT_DATA, chkIdx, sumZ);\n\t$JE.setFieldValue(minusTp, $CURRENT_DATA, chkIdx, sumJ);\n\tconsole.log(bglid);\n\tconsole.log(sumZ);\n\tconsole.log(sumJ);\n}\n\n",
- "format": ""
- }
- ],
- "流水式表_信息": {
- "离散信息": [
- {
- "BandName": "TitleBand",
- "discrete_field_s": [
- {
- "FieldID": 1103,
- "font": "ReportTitle_Vice_2",
- "control": "Title",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "100.00",
- "Top": 0,
- "Bottom": "50",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ],
- "text_s": [
- {
- "Label": "B5 工程变更数量及金额汇总表",
- "font": "ReportTitle_Main",
- "control": "Title",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "100.00",
- "Top": "50",
- "Bottom": "100",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- {
- "BandName": "HeaderBand",
- "discrete_field_s": [
- {
- "FieldID": 1134,
- "font": "Content",
- "control": "Header",
- "style": "Default_None",
- "Prefix": "施工单位:",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "58.22",
- "Top": "20",
- "Bottom": "60",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1102,
- "font": "Content",
- "control": "Header",
- "style": "Default_None",
- "Prefix": "合 同 号:",
- "isAutoHeight": false,
- "area": {
- "Left": "58.22",
- "Right": "100.00",
- "Top": "20",
- "Bottom": "60",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1140,
- "font": "Content",
- "control": "Header",
- "style": "Default_None",
- "Prefix": "监理单位:",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "58.22",
- "Top": "60",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2301,
- "font": "Content",
- "control": "Header",
- "style": "Default_None",
- "Prefix": "变更令号:",
- "isAutoHeight": false,
- "area": {
- "Left": "58.22",
- "Right": "100.00",
- "Top": "60",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ],
- "text_s": [
- {
- "Label": "",
- "font": "Header",
- "control": "Header",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": 100,
- "Top": 0,
- "Bottom": "20",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- {
- "BandName": "newBand_1",
- "discrete_field_s": [
- {
- "FieldID": 2307,
- "font": "Content",
- "control": "NewContent_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "78.41",
- "Right": "89.69",
- "Top": 0,
- "Bottom": "16.67",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2307,
- "font": "Content",
- "control": "NewContent_Center",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "33.84",
- "Right": "68.52",
- "Top": "16.67",
- "Bottom": "33.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2309,
- "font": "Content",
- "control": "NewContent_Center",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "78.41",
- "Right": "100.00",
- "Top": "16.67",
- "Bottom": "33.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2309,
- "font": "Content",
- "control": "NewContent_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "89.69",
- "Right": "100.00",
- "Top": 0,
- "Bottom": "16.67",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12170,
- "font": "Content",
- "control": "NewContent_Center",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "17.69",
- "Right": "33.84",
- "Top": "66.67",
- "Bottom": "83.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12171,
- "font": "Content",
- "control": "NewContent_Center",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "33.84",
- "Right": "48.05",
- "Top": "66.67",
- "Bottom": "83.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12172,
- "font": "Content",
- "control": "NewContent_Center",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "48.05",
- "Right": "68.52",
- "Top": "66.67",
- "Bottom": "83.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12173,
- "font": "Content",
- "control": "NewContent_Center",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "68.52",
- "Right": "83.7",
- "Top": "66.67",
- "Bottom": "83.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12174,
- "font": "Content",
- "control": "NewContent_Center",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "83.7",
- "Right": 100,
- "Top": "66.67",
- "Bottom": "83.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ],
- "text_s": [
- {
- "Label": "合 计",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "78.41",
- "Top": 0,
- "Bottom": "16.67",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "人员",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "17.69",
- "Top": "33.33",
- "Bottom": "66.67",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "承包人工区\\工段",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "17.69",
- "Right": "48.05",
- "Top": "33.33",
- "Bottom": "50.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "承包人项目部",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "48.05",
- "Right": "68.52",
- "Top": "33.33",
- "Bottom": "50.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "技术负责人",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "48.05",
- "Right": "68.52",
- "Top": "50.00",
- "Bottom": "66.67",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "监理单位",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "68.52",
- "Right": "100.00",
- "Top": "33.33",
- "Bottom": "50.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "监理员",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "68.52",
- "Right": "83.7",
- "Top": "50.00",
- "Bottom": "66.67",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "签名",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "17.69",
- "Top": "66.67",
- "Bottom": "83.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "日期",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "17.69",
- "Top": "83.33",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "48.05",
- "Right": "68.52",
- "Top": "83.33",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "68.52",
- "Right": "100.00",
- "Top": "83.33",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "变更金额",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "17.69",
- "Top": "16.67",
- "Bottom": "33.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "监理组长",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "83.70",
- "Right": "100",
- "Top": "50.00",
- "Bottom": "66.67",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "复核",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "33.84",
- "Right": "48.05",
- "Top": "50.00",
- "Bottom": "66.67",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "33.84",
- "Right": "48.05",
- "Top": "83.33",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "增加:",
- "font": "Content",
- "control": "Title",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": "17.69",
- "Right": "33.84",
- "Top": "16.67",
- "Bottom": "33.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "减少:",
- "font": "Content",
- "control": "Title",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": "68.52",
- "Right": "78.41",
- "Top": "16.67",
- "Bottom": "33.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "计算",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "17.69",
- "Right": "33.84",
- "Top": "50.00",
- "Bottom": "66.67",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "17.69",
- "Right": "33.84",
- "Top": "83.33",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Default",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "68.52",
- "Right": "83.7",
- "Top": "83.33",
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Default",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "17.69",
- "Right": "33.84",
- "Top": "66.67",
- "Bottom": "83.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Default",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "48.05",
- "Right": "68.52",
- "Top": "66.67",
- "Bottom": "83.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Default",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "83.7",
- "Right": 100,
- "Top": "66.67",
- "Bottom": "83.33",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- }
- ],
- "流水式表_列": {
- "BandName": "ColumnBand",
- "text_s": [
- {
- "Label": "数量",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "48.05",
- "Right": "68.52",
- "Top": 0,
- "Bottom": "39.60",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "金额(元)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "78.41",
- "Right": "100.00",
- "Top": 0,
- "Bottom": "39.60",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "合同或新增单价(元)",
- "font": "HeaderColumn",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "68.52",
- "Right": "78.41",
- "Top": 0,
- "Bottom": "79.21",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "序号",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "5.43",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "子目号",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "5.43",
- "Right": "17.69",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "单位",
- "font": "HeaderColumn",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "39.97",
- "Right": "48.05",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "增加(+)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "78.41",
- "Right": "89.69",
- "Top": "39.60",
- "Bottom": "79.21",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "4=1x3",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "78.41",
- "Right": "89.69",
- "Top": "79.21",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "子目名称",
- "font": "HeaderColumn",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "17.69",
- "Right": "39.97",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "增加(+)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "48.05",
- "Right": "58.22",
- "Top": "39.60",
- "Bottom": "79.21",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "减少(-)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "58.22",
- "Right": "68.52",
- "Top": "39.60",
- "Bottom": "79.21",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "减少(-)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "89.69",
- "Right": "100.00",
- "Top": "39.60",
- "Bottom": "79.21",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "1",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "48.05",
- "Right": "58.22",
- "Top": "79.21",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "2",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "58.22",
- "Right": "68.52",
- "Top": "79.21",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "3",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "68.52",
- "Right": "78.41",
- "Top": "79.21",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "5=2x3",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "89.69",
- "Right": "100.00",
- "Top": "79.21",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- "多列显示数量": 1,
- "流水式表_数据": {
- "BandName": "ContentBand",
- "CommonHeight": "0.61",
- "flow_field_s": [
- {
- "FieldID": 12002,
- "font": "Content",
- "control": "Content_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "78.41",
- "Right": "89.69",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2402,
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "isAutoHeight": true,
- "area": {
- "Left": "17.69",
- "Right": "39.97",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12004,
- "font": "Content",
- "control": "Content_Center",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "5.43",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2401,
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "isAutoHeight": true,
- "area": {
- "Left": "5.43",
- "Right": "17.69",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2403,
- "font": "Content",
- "control": "Content_Center",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "39.97",
- "Right": "48.05",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12000,
- "font": "Content",
- "control": "Content_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "48.05",
- "Right": "58.22",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12001,
- "font": "Content",
- "control": "Content_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "58.22",
- "Right": "68.52",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2404,
- "font": "Content",
- "control": "Content_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "68.52",
- "Right": "78.41",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12003,
- "font": "Content",
- "control": "Content_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "89.69",
- "Right": "100.00",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- "流水式表_分组信息": {
- "group_field_s": [],
- "sum_field_s": [],
- "group_lines": []
- },
- "流水式表_段统计信息": {
- "BandName": "",
- "sum_field_s": [],
- "text_s": []
- },
- "流水式表_页统计信息": {
- "BandName": "",
- "sum_field_s": [],
- "text_s": []
- }
- },
- "离散参数_集合": [
- {
- "ID": "5001",
- "Name": "打印时间",
- "DataType": "String",
- "Default_Value": ""
- },
- {
- "ID": "5010",
- "Name": "当前页",
- "DataType": "String",
- "Default_Value": "第 X 页"
- },
- {
- "ID": "5011",
- "Name": "总页数",
- "DataType": "String",
- "Default_Value": "共 X 页"
- }
- ],
- "指标_数据_映射": {
- "离散指标_集合": [
- {
- "ID": 1134,
- "Name": "标段_标段清单_承包单位1_单位名称",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty('tender_info', 'construction_unit.contract1.company')",
- "descr": "",
- "Title": "ID: 1134"
- },
- {
- "ID": 1140,
- "Name": "标段_标段清单_监理单位1_单位名称",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty('tender_info', 'construction_unit.supervision1.company')",
- "descr": "",
- "Title": "ID: 1140"
- },
- {
- "ID": 1104,
- "Name": "标段_建设单位",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty('tender_info', 'construction_unit.build.company')",
- "descr": "",
- "Title": "ID: 1104"
- },
- {
- "ID": 1102,
- "Name": "标段_合同编号",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty('tender_info', 'deal_info.dealCode')",
- "descr": "",
- "Title": "ID: 1102"
- },
- {
- "ID": 1103,
- "Name": "标段_合同名称",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty('tender_info', 'deal_info.dealName')",
- "descr": "",
- "Title": "ID: 1103"
- },
- {
- "ID": 1156,
- "Name": "标段_小数位数_金额",
- "DataType": "int",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"decimal.tp\")",
- "descr": "",
- "Title": "ID: 1156"
- },
- {
- "ID": 1155,
- "Name": "标段_小数位数_单价",
- "DataType": "int",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"decimal.up\")",
- "descr": "",
- "Title": "ID: 1155"
- }
- ],
- "主数据指标_集合": [
- {
- "ID": 2300,
- "Name": "变更令信息_变更令uuid",
- "DataType": "string",
- "TableName": "change",
- "mapExpression": "$PROJECT.REPORT.getProperty('change', 'cid')",
- "descr": "",
- "Title": "ID: 2300",
- "isID": true,
- "IDSeq": 1
- },
- {
- "ID": 2301,
- "Name": "变更令信息_变更令号",
- "DataType": "string",
- "TableName": "change",
- "mapExpression": "$PROJECT.REPORT.getProperty('change', 'code')",
- "descr": "",
- "Title": "ID: 2301"
- },
- {
- "ID": 2307,
- "Name": "变更令信息_原图号",
- "DataType": "string",
- "TableName": "change",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"change\", \"org_code\")",
- "descr": "",
- "Title": "ID: 2307"
- },
- {
- "ID": 2309,
- "Name": "变更令信息_变更图号",
- "DataType": "string",
- "TableName": "change",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"change\", \"new_code\")",
- "descr": "",
- "Title": "ID: 2309"
- }
- ],
- "从数据指标_集合": [
- {
- "ID": 2400,
- "Name": "变更清单信息_所属变更令uuid",
- "DataType": "string",
- "TableName": "change_audit_list",
- "mapExpression": "$PROJECT.REPORT.getProperty('change_audit_list', 'cid')",
- "descr": "",
- "Title": "ID: 2400",
- "isID": true,
- "IDSeq": 1
- },
- {
- "ID": 2401,
- "Name": "变更清单信息_清单编号",
- "DataType": "string",
- "TableName": "change_audit_list",
- "mapExpression": "$PROJECT.REPORT.getProperty('change_audit_list', 'code')",
- "descr": "",
- "Title": "ID: 2401"
- },
- {
- "ID": 2402,
- "Name": "变更清单信息_清单名称",
- "DataType": "string",
- "TableName": "change_audit_list",
- "mapExpression": "$PROJECT.REPORT.getProperty('change_audit_list', 'name')",
- "descr": "",
- "Title": "ID: 2402"
- },
- {
- "ID": 2403,
- "Name": "变更清单信息_单位",
- "DataType": "string",
- "TableName": "change_audit_list",
- "mapExpression": "$PROJECT.REPORT.getProperty('change_audit_list', 'unit')",
- "descr": "",
- "Title": "ID: 2403"
- },
- {
- "ID": 2407,
- "Name": "变更清单信息_审批变更后数量",
- "DataType": "double",
- "TableName": "change_audit_list",
- "mapExpression": "$PROJECT.REPORT.getProperty('change_audit_list', 'samount')",
- "descr": "",
- "Title": "ID: 2407"
- },
- {
- "ID": 2404,
- "Name": "变更清单信息_单价",
- "DataType": "currency",
- "TableName": "change_audit_list",
- "mapExpression": "$PROJECT.REPORT.getProperty('change_audit_list', 'unit_price')",
- "descr": "",
- "Title": "ID: 2404",
- "Precision": {
- "type": "fixed",
- "fixedMapExpression": "$PROJECT.REPORT.getProperty('tender_info', 'decimal.up')"
- }
- }
- ],
- "主数据指标_拓展集合": [],
- "从数据指标_拓展集合": []
- },
- "映射数据预处理": [],
- "无映射离散指标_集合": [
- {
- "ID": 12000,
- "Name": "新增变更数量",
- "DataType": "string"
- },
- {
- "ID": 12001,
- "Name": "新减变更数量",
- "DataType": "string"
- },
- {
- "ID": 12002,
- "Name": "新增变更金额",
- "DataType": "string"
- },
- {
- "ID": 12003,
- "Name": "新减变更金额",
- "DataType": "string"
- },
- {
- "ID": 12004,
- "Name": "新序号",
- "DataType": "string"
- },
- {
- "ID": 12115,
- "Name": "合计增金额",
- "DataType": "string"
- },
- {
- "ID": 12116,
- "Name": "合计减金额",
- "DataType": "string"
- }
- ],
- "动态日期离散参数_集合": [],
- "电子签名离散指标_集合": [
- {
- "ID": 12170,
- "Name": "承包人计算",
- "DataType": "string"
- },
- {
- "ID": 12171,
- "Name": "承包人复核",
- "DataType": "string"
- },
- {
- "ID": 12172,
- "Name": "技术负责人",
- "DataType": "string"
- },
- {
- "ID": 12173,
- "Name": "监理员",
- "DataType": "string"
- },
- {
- "ID": 12174,
- "Name": "监理组组长",
- "DataType": "string"
- }
- ]
- }
|