| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413 |
- {
- "ID_KEY": "DUMMY_FLOW_SAMPLE",
- "GROUP_KEY": "RPT_B25.1 变更台帐分表一_SAMPLE_TPL",
- "主信息": {
- "单位": "厘米",
- "版本": {
- "主版本": "3",
- "功能版本": "0"
- },
- "页边距": {
- "Top": "1.0",
- "Left": "1.0",
- "Right": "1.0",
- "Bottom": "1.0"
- },
- "报表名称": "B25.1 变更台帐分表一",
- "打印页面_信息": {
- "方向": "LANDSCAPE",
- "页规格": "A4"
- }
- },
- "布局框_集合": [
- {
- "Alignment": "Top",
- "DisplayType": "EveryPage",
- "Height": "1.6",
- "Name": "TitleBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Top",
- "DisplayType": "EveryPage",
- "Height": "1.2",
- "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": "3.20",
- "Name": "ColumnBand",
- "control": "Default",
- "style": "Default_None",
- "MergeBorder": "F"
- },
- {
- "Alignment": "Bottom",
- "DisplayType": "SegmentEnd",
- "Height": "1.11",
- "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": "\nlet KBnull = $JE.F(1199,$CURRENT_RPT);\nlet BGJEnull = $JE.F(1099,$CURRENT_RPT);\n\nlet LJJEnull = $JE.F(1699,$CURRENT_RPT);\nlet BTJEnull = $JE.F(1899,$CURRENT_RPT);\n\nlet chapterAllNo=$JE.F(1132,$CURRENT_RPT);\nlet chapterAllName=$JE.F(1133,$CURRENT_RPT);\n\nlet chapterBCNo = $JE.F(2552,$CURRENT_RPT);\nlet chapterBCode=$JE.F(2510,$CURRENT_RPT);\n\nlet EndTP = $JE.F(2548,$CURRENT_RPT);\nlet EndQT = $JE.F(2546,$CURRENT_RPT);\n\nlet NewKBnull = $JE.F(1138,$CURRENT_RPT);\n\nlet fLen1=$JE.getFieldDataLen(chapterBCode, $CURRENT_DATA);\n\nlet chapterBCNoArr=$JE.getFieldValueArray(chapterBCode,$CURRENT_DATA);\nlet AllNameArray = $JE.getFieldValue(chapterAllName, $CURRENT_DATA, 0, 0);\nlet AllNameArrNO = $JE.getFieldValue(chapterAllNo, $CURRENT_DATA, 0, 0);\n\nfor(let j=0; j< fLen1;j++){\n\tlet chapterCode=$CTX_HELPER.getChapterCode(chapterBCNoArr[j], '-');\n\tconsole.log('清单编号:%s,章节号:%s',chapterCode,chapterCode);\n\tlet tempno=$JE.getFieldValue(chapterBCNo, $CURRENT_DATA, j, '');\n\tconsole.log('主数',tempno);\n\tif(tempno===null || tempno==='' || tempno==10000){\n\t\tif(chapterCode===null || chapterCode==='' || chapterCode==10000){\n\t\t\tconsole.log('我是未计入章节');\n\t\t\t$JE.setFieldValue(chapterBCNo, $CURRENT_DATA, j, '其他');\n\t\t}else{\n\t\t\tconsole.log('我是签约清单');\n\t\t\t$JE.setFieldValue(chapterBCNo, $CURRENT_DATA, j, chapterCode);\n\t\t\tconsole.log('主数据1',chapterCode);\n\t\t}\t\t\n\t} \n\t\n} \n\nlet chapterNoArr=$JE.getFieldValueArray(chapterBCNo,$CURRENT_DATA);\n\n\n//去重复章节方法\nfunction unique(arr) {\n if (!Array.isArray(arr)) {\n console.log('type error!')\n return\n }\n var array = [];\n for (var i = 0; i < arr.length; i++) {\n if (array .indexOf(arr[i]) === -1) {\n array .push(arr[i])\n }\n }\n return array;\n}\n\n//调用方法\nlet uniqueChapArr=unique(chapterNoArr);\n\nconsole.log('我是去重后',uniqueChapArr);\nconsole.log('我是去重前',chapterNoArr);\nconsole.log('我是编号',AllNameArrNO);\n//console.log('我是名称',AllNameArray);\n\nfor(let i=0;i<uniqueChapArr.length;i++){\n\tfor(let m=0;m<AllNameArrNO.length;m++){\n\t let BcodeNo=AllNameArrNO[m];\n\t let BcodeName=AllNameArray[m];\n\t\tif(uniqueChapArr[i]===BcodeNo){\n\t\t\t//console.log('章节:%s 名称:%s',BcodeNo,BcodeName);\n\t\t\t$JE.setFieldValue(KBnull, $CURRENT_DATA, i, BcodeNo);\n\t\t\t\n\t\t\t$JE.setFieldValue(NewKBnull, $CURRENT_DATA, i, BcodeNo+'章'+' '+BcodeName);\n\t\t\t$JE.setFieldValue(BGJEnull, $CURRENT_DATA, i, BcodeName);\n\t\t\tlet mno=$JE.getFieldValue(KBnull, $CURRENT_DATA, i, '');\n\t\t\tbreak;\n\t\t\t\n\t\t }\n\t }\n\t if(uniqueChapArr[i]==='其他'){\n\t\t$JE.setFieldValue(KBnull, $CURRENT_DATA, i,uniqueChapArr[i] );\n\t\t\n\t\t$JE.setFieldValue(NewKBnull, $CURRENT_DATA, i, uniqueChapArr[i]+'章'+' '+'未计入章节清单项');\n\t\t$JE.setFieldValue(BGJEnull, $CURRENT_DATA, i, '未计入章节清单项');\n\t}\n}\n\nlet mLen=$JE.getFieldDataLen(NewKBnull, $CURRENT_DATA);\nfor(let k=0;k<mLen;k++){\n\tlet mno=$JE.getFieldValue(NewKBnull, $CURRENT_DATA, k, '');\n\tconsole.log('主数据',mno);\n}\n\n",
- "format": ""
- },
- {
- "Name": "清单筛选",
- "run_type": "before_paging",
- "expression": "let bPrice=$JE.F(2513,$CURRENT_RPT);\nlet bCode=$JE.F(2510,$CURRENT_RPT); \nlet dealQty=$JE.F(2553,$CURRENT_RPT); \n\nlet newPrice1=$JE.F(12174,$CURRENT_RPT); \nlet newPrice2=$JE.F(12175,$CURRENT_RPT);\n\nlet bLen1=$JE.getFieldDataLen(bCode, $CURRENT_DATA);\nfor(let cIdx=0; cIdx<bLen1; cIdx++){\n\tlet tempDealQty=$JE.getFieldValue(dealQty, $CURRENT_DATA, cIdx, '');\n let tempPrice=$JE.getFieldValue(bPrice, $CURRENT_DATA, cIdx, '');\n\tif(tempDealQty===undefined || tempDealQty===null || tempDealQty===''){\n\t\t//console.log('台账');\n\t\t$JE.setFieldValue(newPrice2, $CURRENT_DATA, cIdx, tempPrice);\n\t}else{\t\t\n\t\t$JE.setFieldValue(newPrice1, $CURRENT_DATA, cIdx, tempPrice);\n\t\t//console.log('签约');\n\t}\n}\n",
- "format": ""
- }
- ],
- "流水式表_信息": {
- "离散信息": [
- {
- "BandName": "TitleBand",
- "discrete_field_s": [
- {
- "FieldID": 1138,
- "font": "ReportTitle_Main",
- "control": "NewContent_Center",
- "style": "Default_None",
- "Prefix": "B25.1 变更台帐分表一(第",
- "Suffix": "汇总表)",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": 100,
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- {
- "BandName": "HeaderBand",
- "discrete_field_s": [
- {
- "FieldID": 1101,
- "font": "Content",
- "control": "Column_Left",
- "style": "Default_None",
- "Prefix": "建设项目:",
- "isAutoHeight": false,
- "area": {
- "Left": "41.36",
- "Right": "75.55",
- "Top": 0,
- "Bottom": "50",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1134,
- "font": "Content",
- "control": "Column_Left",
- "style": "Default_None",
- "Prefix": "施工单位:",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "41.36",
- "Top": 0,
- "Bottom": "50",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1140,
- "font": "Content",
- "control": "Column_Left",
- "style": "Default_None",
- "Prefix": "监理单位:",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "75.55",
- "Top": "50",
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1102,
- "font": "Content",
- "control": "Column_Left",
- "style": "Default_None",
- "Prefix": "合同号:",
- "isAutoHeight": false,
- "area": {
- "Left": "75.55",
- "Right": 100,
- "Top": 0,
- "Bottom": "50",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 1300,
- "font": "Content",
- "control": "Column_Left",
- "style": "Default_None",
- "Prefix": "编 号:",
- "isAutoHeight": false,
- "area": {
- "Left": "75.55",
- "Right": 100,
- "Top": "50",
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- {
- "BandName": "FooterBand",
- "discrete_field_s": [
- {
- "FieldID": 12170,
- "font": "Content",
- "control": "Default",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "5",
- "Right": "22.5",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12171,
- "font": "Content",
- "control": "Default",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "28",
- "Right": "46",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12172,
- "font": "Content",
- "control": "Default",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "54",
- "Right": "71",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12173,
- "font": "Content",
- "control": "Default",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "82",
- "Right": "100",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ],
- "text_s": [
- {
- "Label": "承包人:",
- "font": "Content",
- "control": "Footer",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "5",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "监理员:",
- "font": "Content",
- "control": "Footer",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": "22.5",
- "Right": "28",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "监理组组长:",
- "font": "Content",
- "control": "Footer",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": "46",
- "Right": "54",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "业主(业主代表):",
- "font": "Content",
- "control": "Footer",
- "style": "Default_None",
- "Title": "",
- "area": {
- "Left": "71",
- "Right": "82",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- {
- "BandName": "newBand_1",
- "discrete_field_s": [
- {
- "FieldID": 1199,
- "font": "Content",
- "control": "NewContent_Center",
- "style": "Default_Normal",
- "Suffix": "章金额小计",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "27.13",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ],
- "text_s": [
- {
- "Label": "",
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "27.13",
- "Right": "32.66",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "32.66",
- "Right": "41.36",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "41.36",
- "Right": "50.81",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "50.81",
- "Right": "62.66",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "62.66",
- "Right": "75.55",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "75.55",
- "Right": "87.77",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "",
- "font": "Content",
- "control": "Content_Left",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "87.77",
- "Right": "100.00",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- }
- ],
- "流水式表_列": {
- "BandName": "ColumnBand",
- "text_s": [
- {
- "Label": "子目编号",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "7.07",
- "Top": 0,
- "Bottom": "76.86",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "子目名称",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "7.07",
- "Right": "27.13",
- "Top": 0,
- "Bottom": "76.86",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "单位",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "27.13",
- "Right": "32.66",
- "Top": 0,
- "Bottom": "76.86",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "单价(元)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "32.66",
- "Right": "50.81",
- "Top": 0,
- "Bottom": "25.62",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "合 同",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "32.66",
- "Right": "41.36",
- "Top": "25.62",
- "Bottom": "76.86",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "新 增",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "41.36",
- "Right": "50.81",
- "Top": "25.62",
- "Bottom": "76.86",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "变更情况",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "50.81",
- "Right": "100.00",
- "Top": 0,
- "Bottom": "25.62",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "数量",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "50.81",
- "Right": "75.55",
- "Top": "25.62",
- "Bottom": "51.24",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "金额(元)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "75.55",
- "Right": "100.00",
- "Top": "25.62",
- "Bottom": "51.24",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "变更后",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "50.81",
- "Right": "62.66",
- "Top": "51.24",
- "Bottom": "76.86",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "变更增减(±)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "62.66",
- "Right": "75.55",
- "Top": "51.24",
- "Bottom": "76.86",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "变更后",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "75.55",
- "Right": "87.77",
- "Top": "51.24",
- "Bottom": "76.86",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "变更增减(±)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "87.77",
- "Right": "100.00",
- "Top": "51.24",
- "Bottom": "76.86",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "(1)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": 0,
- "Right": "7.07",
- "Top": "76.86",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "(2)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "7.07",
- "Right": "27.13",
- "Top": "76.86",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "(3)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "27.13",
- "Right": "32.66",
- "Top": "76.86",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "(4)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "32.66",
- "Right": "41.36",
- "Top": "76.86",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "(5)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "41.36",
- "Right": "50.81",
- "Top": "76.86",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "(6)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "50.81",
- "Right": "62.66",
- "Top": "76.86",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "(7)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "62.66",
- "Right": "75.55",
- "Top": "76.86",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "(8)=(6)×(4)或(5)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "75.55",
- "Right": "87.77",
- "Top": "76.86",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "Label": "(9)=(7)×(4)或(5)",
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "Title": "",
- "area": {
- "Left": "87.77",
- "Right": "100.00",
- "Top": "76.86",
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- "多列显示数量": 1,
- "流水式表_数据": {
- "BandName": "ContentBand",
- "CommonHeight": "0.61",
- "flow_field_s": [
- {
- "FieldID": 2510,
- "font": "Content",
- "control": "Column_Left",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": 0,
- "Right": "7.07",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2511,
- "font": "Content",
- "control": "Column_Left",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "7.07",
- "Right": "27.13",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2512,
- "font": "Content",
- "control": "Column",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "27.13",
- "Right": "32.66",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2545,
- "font": "Content",
- "control": "Column_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "50.81",
- "Right": "62.66",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2545,
- "font": "Content",
- "control": "Column_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "62.66",
- "Right": "75.55",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2548,
- "font": "Content",
- "control": "Column_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "75.55",
- "Right": "87.77",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2546,
- "font": "Content",
- "control": "Column_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "87.77",
- "Right": "100.00",
- "Top": 0,
- "Bottom": "100.00",
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12174,
- "font": "Content",
- "control": "Column_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "32.66",
- "Right": "41.36",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 12175,
- "font": "Content",
- "control": "Column_Right",
- "style": "Default_Normal",
- "isAutoHeight": false,
- "area": {
- "Left": "41.36",
- "Right": "50.81",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ]
- },
- "流水式表_分组信息": {
- "group_field_s": [],
- "sum_field_s": [],
- "group_lines": []
- },
- "流水式表_段统计信息": {
- "BandName": "newBand_1",
- "sum_field_s": [
- {
- "FieldID": 2548,
- "font": "Content",
- "control": "Column_Right",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "75.55",
- "Right": "87.77",
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- },
- {
- "FieldID": 2546,
- "font": "Content",
- "control": "Column_Right",
- "style": "Default_None",
- "isAutoHeight": false,
- "area": {
- "Left": "87.77",
- "Right": 100,
- "Top": 0,
- "Bottom": 100,
- "H_CalculationType": "percentage",
- "V_CalculationType": "percentage"
- }
- }
- ],
- "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": 1101,
- "Name": "标段_项目名称",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"deal_info.buildName\")",
- "descr": "",
- "Title": "ID: 1101"
- },
- {
- "ID": 1102,
- "Name": "标段_合同编号",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"deal_info.dealCode\")",
- "descr": "",
- "Title": "ID: 1102"
- },
- {
- "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": 1132,
- "Name": "标段_标段清单_章节代码",
- "DataType": "array",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getArrayProperty(\"tender_info\", \"chapter.code\")",
- "descr": "",
- "Title": "ID: 1132"
- },
- {
- "ID": 1133,
- "Name": "标段_标段清单_章节名称",
- "DataType": "array",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getArrayProperty(\"tender_info\", \"chapter.name\")",
- "descr": "",
- "Title": "ID: 1133"
- }
- ],
- "主数据指标_集合": [
- {
- "ID": 1199,
- "Name": "标段_空白",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getBlank(\"tender_info\", \"\")",
- "descr": "",
- "Title": "ID: 1199",
- "isID": true,
- "IDSeq": 1
- },
- {
- "ID": 1099,
- "Name": "项目_空白",
- "DataType": "string",
- "TableName": "project",
- "mapExpression": "$PROJECT.REPORT.getBlank(\"project\", \"\")",
- "descr": "",
- "Title": "ID: 1099"
- },
- {
- "ID": 1699,
- "Name": "签约清单信息_空白",
- "DataType": "currency",
- "TableName": "deal_bills",
- "mapExpression": "$PROJECT.REPORT.getBlank(\"deal_bills\", \"\")",
- "descr": "",
- "Title": "ID: 1699"
- },
- {
- "ID": 1138,
- "Name": "标段_标段清单_承包单位2_法人代表",
- "DataType": "string",
- "TableName": "tender_info",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"construction_unit.contract2.corporation\")",
- "descr": "",
- "Title": "ID: 1138"
- }
- ],
- "从数据指标_集合": [
- {
- "ID": 2510,
- "Name": "清单编号(b_code)",
- "DataType": "string",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'b_code')",
- "descr": "",
- "Title": "ID: 2510"
- },
- {
- "ID": 2511,
- "Name": "名称(name)",
- "DataType": "string",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'name')",
- "descr": "",
- "Title": "ID: 2511"
- },
- {
- "ID": 2512,
- "Name": "单位(unit)",
- "DataType": "string",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'unit')",
- "descr": "",
- "Title": "ID: 2512"
- },
- {
- "ID": 2513,
- "Name": "单价(unit_price)",
- "DataType": "currency",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'unit_price')",
- "descr": "",
- "Title": "ID: 2513"
- },
- {
- "ID": 1601,
- "Name": "签约清单信息_名称(name)",
- "DataType": "string",
- "TableName": "deal_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"deal_bills\", \"name\")",
- "descr": "",
- "Title": "ID: 1601"
- },
- {
- "ID": 1602,
- "Name": "签约清单信息_单位(unit)",
- "DataType": "string",
- "TableName": "deal_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"deal_bills\", \"unit\")",
- "descr": "",
- "Title": "ID: 1602"
- },
- {
- "ID": 1604,
- "Name": "签约清单信息_单价(unit_price)",
- "DataType": "currency",
- "TableName": "deal_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"deal_bills\", \"unit_price\")",
- "descr": "",
- "Title": "ID: 1604",
- "Precision": {
- "type": "fixed",
- "fixedMapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"decimal.up\")"
- }
- },
- {
- "ID": 1603,
- "Name": "签约清单信息_数量(quanitty)",
- "DataType": "number",
- "TableName": "deal_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"deal_bills\", \"quantity\")",
- "descr": "",
- "Title": "ID: 1603",
- "Precision": {
- "type": "flexible",
- "flexibleRefFieldID": 1602,
- "flexibleMapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"precision\")"
- }
- },
- {
- "ID": 1600,
- "Name": "签约清单信息_清单编号(code)",
- "DataType": "string",
- "TableName": "deal_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"deal_bills\", \"code\")",
- "descr": "",
- "Title": "ID: 1600"
- },
- {
- "ID": 2543,
- "Name": "截止本期-合同-数量(end_contract_qty)",
- "DataType": "currency",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'end_contract_qty')",
- "descr": "",
- "Title": "ID: 2543"
- },
- {
- "ID": 2545,
- "Name": "截止本期-数量变更-数量(end_qc_qty)",
- "DataType": "currency",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'end_qc_qty')",
- "descr": "",
- "Title": "ID: 2545"
- },
- {
- "ID": 2547,
- "Name": "截止本期-完成-数量(end_gather_qty)",
- "DataType": "currency",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'end_gather_qty')",
- "descr": "",
- "Title": "ID: 2547"
- },
- {
- "ID": 2548,
- "Name": "截止本期-完成-金额(end_gather_tp)",
- "DataType": "currency",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'end_gather_tp')",
- "descr": "",
- "Title": "ID: 2548"
- },
- {
- "ID": 2546,
- "Name": "截止本期-数量变更-金额(end_qc_tp)",
- "DataType": "currency",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'end_qc_tp')",
- "descr": "",
- "Title": "ID: 2546"
- },
- {
- "ID": 2608,
- "Name": "树结构-是否子项(is_leaf)",
- "DataType": "int",
- "TableName": "mem_stage_bills_compare",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills_compare', 'is_leaf')",
- "descr": "",
- "Title": "ID: 2608"
- },
- {
- "ID": 2552,
- "Name": "章节编号(chapter)",
- "DataType": "string",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'chapter')",
- "descr": "",
- "Title": "ID: 2552",
- "isID": true,
- "IDSeq": 1
- },
- {
- "ID": 2553,
- "Name": "预留扩展字段_1(ex_value1)",
- "DataType": "string",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'ex_value1')",
- "descr": "",
- "Title": "ID: 2553"
- },
- {
- "ID": 2554,
- "Name": "预留扩展字段_2(ex_value2)",
- "DataType": "string",
- "TableName": "mem_stage_bills",
- "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'ex_value2')",
- "descr": "",
- "Title": "ID: 2554"
- },
- {
- "ID": 1300,
- "Name": "期计量信息_期数",
- "DataType": "number",
- "TableName": "stage",
- "mapExpression": "$PROJECT.REPORT.getProperty(\"stage\", \"order\")",
- "descr": "",
- "Title": "ID: 1300"
- }
- ],
- "主数据指标_拓展集合": [],
- "从数据指标_拓展集合": []
- },
- "映射数据预处理": [
- {
- "预处理类型": "指定方式",
- "映射数据对象": "",
- "方式Key": "gatherGcl",
- "hint": "请使用mem_stage_bills下指标,注意事项:\n1. 以下字段,不管报表是否实际使用,均应添加至指标映射,且在此处应勾选(不要求顺序):\n 清单编号(b_code), 名称(name), 单位(unit), 单价(unit_price), 树结构-是否子项(is_leaf)\n2. 汇总后,以下字段,均会失效, 请勿使用:\n 台账ID(id), 树结构-ID(ledger_id), 树结构父项-ID(ledger_pid),\n 树结构-层级(level), 树结构-同层排序(order), 树结构-完整路径(full_path),\n 图册号(drawing_code), 备注(memo), 节点类型(node_type), 总额计量(is_tp)\n3. 如需汇总\"未计入清单章节项\",请勾选\"章节编号(chapter)\"字段\n",
- "fields": [
- {
- "Name": "清单编号(b_code)",
- "FieldID": 2510
- },
- {
- "Name": "名称(name)",
- "FieldID": 2511
- },
- {
- "Name": "单位(unit)",
- "FieldID": 2512
- },
- {
- "Name": "单价(unit_price)",
- "FieldID": 2513
- },
- {
- "Name": "树结构-是否子项(is_leaf)",
- "FieldID": 2608
- }
- ],
- "自定义设置": "{\n \"count\": 13,\n\t \"unChapter\" : {\"name\" : \"未计入章节清单项\", \"order\": 1},\n \"gclSum\": {\"name\": \"工程结算价款\", \"order\": 2} \n}"
- },
- {
- "预处理类型": "指定方式",
- "映射数据对象": "",
- "方式Key": "join",
- "hint": "用于处理类似于关联签约清单的情况,会改变主表的数据",
- "fields": [],
- "自定义设置": "{\n \"main\":\"mem_stage_bills\",\n \"sub\":\"deal_bills\",\n \"keyFields\":[\n {\"main\":\"b_code\",\"sub\":\"code\",\"type\":\"string\"},\n {\"main\":\"name\",\"sub\":\"name\",\"type\":\"string\"},\n {\"main\":\"unit\",\"sub\":\"unit\",\"type\":\"string\"},\n {\"main\":\"unit_price\",\"sub\":\"unit_price\",\"type\":\"number\"}\n ],\n \"importFields\":[\n {\"main\":\"ex_value1\",\"sub\":\"quantity\"},\n {\"main\":\"ex_value2\",\"sub\":\"total_price\"}\n ],\n \"joinType\":\"outer\"\n}\n "
- },
- {
- "预处理类型": "指定方式",
- "映射数据对象": "",
- "方式Key": "sortGcl",
- "hint": "只对一张表,进行工程量清单排序,排序哪张表,根据勾选的清单编号字段决定:\ne.g.1 要对mem_stage_bills排序,需要勾选mem_stage_bills下的\"清单编号(b_code)\"字段\ne.g.2 要对mem_stage_im_zl排序,需要勾选mem_stage_im_zl下的\"中间计量总量信息_编号(code)\"字段\n特别的,如有\"未计入清单章节项\": \n 1. 默认\"未计入清单章节项\"排列在最后\n 2. 如须\"未计入清单章节项\"排在100章之后,请在清单编号字段后,依次勾选\"章节编号(chapter)\", \"名称(name)\"\n",
- "fields": [
- {
- "Name": "清单编号(b_code)",
- "FieldID": 2510
- }
- ],
- "自定义设置": ""
- }
- ],
- "无映射离散指标_集合": [
- {
- "ID": 12152,
- "Name": "新章节名称",
- "DataType": "string"
- },
- {
- "ID": 12174,
- "Name": "新签约单价",
- "DataType": "string"
- },
- {
- "ID": 12175,
- "Name": "新台账单价",
- "DataType": "string"
- }
- ],
- "动态日期离散参数_集合": [],
- "电子签名离散指标_集合": [
- {
- "ID": 12170,
- "Name": "承包人",
- "DataType": "string"
- },
- {
- "ID": 12171,
- "Name": "监理员",
- "DataType": "string"
- },
- {
- "ID": 12172,
- "Name": "监理组组长",
- "DataType": "string"
- },
- {
- "ID": 12173,
- "Name": "业主(业主代表)",
- "DataType": "string"
- }
- ]
- }
|