B25 变更台帐汇总表 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  1. {
  2. "ID_KEY": "DUMMY_FLOW_SAMPLE",
  3. "GROUP_KEY": "RPT_B25 变更台帐汇总表_SAMPLE_TPL",
  4. "主信息": {
  5. "单位": "厘米",
  6. "版本": {
  7. "主版本": "3",
  8. "功能版本": "0"
  9. },
  10. "页边距": {
  11. "Top": "1.0",
  12. "Left": "1.0",
  13. "Right": "1.0",
  14. "Bottom": "1.0"
  15. },
  16. "报表名称": "B25 变更台帐汇总表",
  17. "打印页面_信息": {
  18. "方向": "LANDSCAPE",
  19. "页规格": "A4"
  20. }
  21. },
  22. "布局框_集合": [
  23. {
  24. "Alignment": "Top",
  25. "DisplayType": "EveryPage",
  26. "Height": "1.6",
  27. "Name": "TitleBand",
  28. "control": "Default",
  29. "style": "Default_None",
  30. "MergeBorder": "F"
  31. },
  32. {
  33. "Alignment": "Top",
  34. "DisplayType": "EveryPage",
  35. "Height": "1.2",
  36. "Name": "HeaderBand",
  37. "control": "Default",
  38. "style": "Default_None",
  39. "MergeBorder": "F"
  40. },
  41. {
  42. "Alignment": "Bottom",
  43. "DisplayType": "EveryPage",
  44. "Height": "0.6",
  45. "Name": "FooterBand",
  46. "control": "Default",
  47. "style": "Default_None",
  48. "MergeBorder": "F"
  49. },
  50. {
  51. "Alignment": "Fulfill",
  52. "DisplayType": "EveryPage",
  53. "Name": "Report Body",
  54. "control": "Default",
  55. "style": "BORDER_ALL_AROUND",
  56. "MergeBorder": "T",
  57. "band_s": [
  58. {
  59. "Alignment": "Top",
  60. "DisplayType": "EveryPage",
  61. "Height": "2.86",
  62. "Name": "ColumnBand",
  63. "control": "Default",
  64. "style": "Default_None",
  65. "MergeBorder": "F"
  66. },
  67. {
  68. "Alignment": "Fulfill",
  69. "DisplayType": "EveryPage",
  70. "Name": "ContentBand",
  71. "control": "Default",
  72. "style": "Default_None",
  73. "MergeBorder": "F"
  74. }
  75. ]
  76. }
  77. ],
  78. "计算式_集合": [
  79. {
  80. "Name": "获取打印时间",
  81. "run_type": "before_paging",
  82. "expression": "let rpt = $JE.P(5001,$CURRENT_RPT);\n let dt = new Date();\n rpt.Default_Value = dt.Format($ME.format);\n rpt = null;",
  83. "format": "yyyy 年 M 月 dd 日"
  84. },
  85. {
  86. "Name": "获取当前页",
  87. "run_type": "before_output",
  88. "expression": "let ttp = $JE.P(5010,$CURRENT_RPT);\n ttp.Default_Value = $ME.format.replace('($S)',$JE.getCurrentPage($CURRENT_RPT));\n ttp = null;",
  89. "format": "第 ($S) 页"
  90. },
  91. {
  92. "Name": "获取总页数",
  93. "run_type": "before_output",
  94. "expression": "let ttp = $JE.P(5011,$CURRENT_RPT);\n ttp.Default_Value = $ME.format.replace('($S)',$JE.getTotalPage($CURRENT_RPT));\n ttp = null;",
  95. "format": "共 ($S) 页"
  96. },
  97. {
  98. "Name": "新计算式",
  99. "run_type": "before_analyzing",
  100. "expression": "let XMJcode = $JE.F(2509,$CURRENT_RPT);\nlet chkField = $JE.F(2510,$CURRENT_RPT);\nlet XMJname = $JE.F(2511,$CURRENT_RPT);\nlet Endtotalprice = $JE.F(2546,$CURRENT_RPT);\n\nlet ledgerBillsCodeField= $JE.F(1200,$CURRENT_RPT);\n\nlet newXMJcode= $JE.F(12128,$CURRENT_RPT);\nlet newXMJname= $JE.F(12129,$CURRENT_RPT);\nlet newEND= $JE.F(12130,$CURRENT_RPT);\nlet Xhao= $JE.F(12131,$CURRENT_RPT);\n\nlet fLen0 = $JE.getFieldDataLen(ledgerBillsCodeField, $CURRENT_DATA);\nlet fLen1 = $JE.getFieldDataLen(XMJcode, $CURRENT_DATA);\n\n\nconsole.log($CURRENT_DATA);\n//console.log(fLen0);\nlet codeArrt=[];\n\n//获取清单所属章节\nfor (let chkIdx = 0; chkIdx < fLen0; chkIdx++) {\n let bCode = $JE.getFieldValue(ledgerBillsCodeField, $CURRENT_DATA, chkIdx, '');\n let firstIdx = bCode.indexOf('-');\n\tif (firstIdx === 3) {\n\t let first=bCode.substring(0,1)*100; \n\t codeArrt.push(first);\n\t}else if (firstIdx === 4) {\n\t let LW=bCode.substring(0,2)*100; \n\t codeArrt.push(LW);\n\t}\n\n}\nlet newXMJ=[];\nlet newXMN=[];\nlet newTP=[];\nfor(let K = 0;K < fLen1;K++){\t\t\nlet XMcode = $JE.getFieldValue(XMJcode,$CURRENT_DATA,K,'');\nlet XMname = $JE.getFieldValue(XMJname,$CURRENT_DATA,K,'');\nlet TP = $JE.getFieldValue(Endtotalprice, $CURRENT_DATA, K, '');\n if(XMcode>700 && XMcode !== ''){\t\n //console.log('判断前',XMcode);\n for(let X = 0; X < codeArrt.length; X++){\n if(XMcode==codeArrt[X]){\n newXMJ.push(XMcode+'章');\n newXMN.push(XMname);\n\t\t newTP.push(TP);\n\t\t break;\t \n\t }\n }\n }\n else if(XMcode !== ''){\n\t\tnewXMJ.push(XMcode+'章');\n newXMN.push(XMname);\n\t\tnewTP.push(TP);\n }\n}\n\nfunction sortBy(field1,field2) {\n\tfor(let i=0;i<newXMJ.length;i++){\n\t\t\n\t\t$JE.setFieldValue(field1, $CURRENT_DATA, i, field2[i]);\t\n\t\t$JE.setFieldValue(Xhao, $CURRENT_DATA, i,i+1);\t\n\t\t//console.log(Xhao);\n\t\t//console.log(field2[i]);\n\t}\n\t\n}\n\nlet sumValue=0.0;\n\nlet fLen3 = newXMJ.length;\n//console.log(fLen3);\nfor(let M=0;M<fLen3;M++){\n\tsumValue=$CTX_HELPER.add(sumValue,newTP[M]);\n\tif(M===fLen3-1){\n\t\tnewXMJ.push('第'+newXMJ[0]+'至'+newXMJ[fLen3-1]+'清单合计');\n\t\tnewXMN.push('第'+newXMJ[0]+'至'+newXMJ[fLen3-1]+'清单合计');\n\t\tnewTP.push(sumValue);\t\t\n\t}\n}\n\nsortBy(newXMJcode,newXMJ);\nsortBy(newXMJname,newXMN);\nsortBy(newEND,newTP);\n\n//console.log(newXMJ);\n//console.log(newXMN);\n//console.log(newTP);\n\n\nlet dtlLen = $JE.getFieldDataLen(chkField, $CURRENT_DATA), \n fValIdx = $JE.getFieldDataLen(newXMJcode, $CURRENT_DATA), \n\tdiff = dtlLen - fValIdx;\nconsole.log(diff );\nif (diff > 0) {\n\tfor (let ix = 1; ix <= diff; ix++) {\n\t\t$JE.removeFieldValue(chkField, $CURRENT_DATA, dtlLen - ix);\n\t}\n} else if (diff < 0) {\n\tfor (let ix = 0; ix < (0 - diff); ix++) {\n\t\t$JE.setFieldValue(chkField, $CURRENT_DATA, dtlLen + ix, 0);\n\t}\n}\t\n\n\n\n\n",
  101. "format": ""
  102. }
  103. ],
  104. "流水式表_信息": {
  105. "离散信息": [
  106. {
  107. "BandName": "TitleBand",
  108. "text_s": [
  109. {
  110. "Label": "B25 变更台帐汇总表",
  111. "font": "ReportTitle_Main",
  112. "control": "Title",
  113. "style": "Default_None",
  114. "Title": "",
  115. "area": {
  116. "Left": 0,
  117. "Right": "100.00",
  118. "Top": 0,
  119. "Bottom": "100.00",
  120. "H_CalculationType": "percentage",
  121. "V_CalculationType": "percentage"
  122. }
  123. }
  124. ]
  125. },
  126. {
  127. "BandName": "HeaderBand",
  128. "discrete_field_s": [
  129. {
  130. "FieldID": 1134,
  131. "font": "Header",
  132. "control": "Header",
  133. "style": "Default_None",
  134. "Prefix": "施工单位:",
  135. "isAutoHeight": false,
  136. "area": {
  137. "Left": 0,
  138. "Right": "29.99",
  139. "Top": 0,
  140. "Bottom": "50",
  141. "H_CalculationType": "percentage",
  142. "V_CalculationType": "percentage"
  143. }
  144. },
  145. {
  146. "FieldID": 1101,
  147. "font": "Header",
  148. "control": "Header",
  149. "style": "Default_None",
  150. "Prefix": "建设项目:",
  151. "isAutoHeight": false,
  152. "area": {
  153. "Left": "29.99",
  154. "Right": "75.55",
  155. "Top": 0,
  156. "Bottom": "50",
  157. "H_CalculationType": "percentage",
  158. "V_CalculationType": "percentage"
  159. }
  160. },
  161. {
  162. "FieldID": 1140,
  163. "font": "Header",
  164. "control": "Header",
  165. "style": "Default_None",
  166. "Prefix": "监理单位:",
  167. "isAutoHeight": false,
  168. "area": {
  169. "Left": 0,
  170. "Right": "29.99",
  171. "Top": "50",
  172. "Bottom": "100",
  173. "H_CalculationType": "percentage",
  174. "V_CalculationType": "percentage"
  175. }
  176. },
  177. {
  178. "FieldID": 1102,
  179. "font": "Header",
  180. "control": "Header",
  181. "style": "Default_None",
  182. "Prefix": "合同号:",
  183. "isAutoHeight": false,
  184. "area": {
  185. "Left": "75.55",
  186. "Right": "100.00",
  187. "Top": "0",
  188. "Bottom": "50",
  189. "H_CalculationType": "percentage",
  190. "V_CalculationType": "percentage"
  191. }
  192. },
  193. {
  194. "FieldID": 1300,
  195. "font": "Content",
  196. "control": "Header",
  197. "style": "Default_None",
  198. "Prefix": "编 号:",
  199. "isAutoHeight": false,
  200. "area": {
  201. "Left": "75.55",
  202. "Right": "100.00",
  203. "Top": "50",
  204. "Bottom": "100",
  205. "H_CalculationType": "percentage",
  206. "V_CalculationType": "percentage"
  207. }
  208. }
  209. ]
  210. },
  211. {
  212. "BandName": "FooterBand",
  213. "discrete_field_s": [
  214. {
  215. "FieldID": 12170,
  216. "font": "Content",
  217. "control": "Default",
  218. "style": "Default_None",
  219. "isAutoHeight": false,
  220. "area": {
  221. "Left": "5",
  222. "Right": "22.5",
  223. "Top": 0,
  224. "Bottom": 100,
  225. "H_CalculationType": "percentage",
  226. "V_CalculationType": "percentage"
  227. }
  228. },
  229. {
  230. "FieldID": 12171,
  231. "font": "Content",
  232. "control": "Default",
  233. "style": "Default_None",
  234. "isAutoHeight": false,
  235. "area": {
  236. "Left": "28",
  237. "Right": "46",
  238. "Top": 0,
  239. "Bottom": 100,
  240. "H_CalculationType": "percentage",
  241. "V_CalculationType": "percentage"
  242. }
  243. },
  244. {
  245. "FieldID": 12172,
  246. "font": "Content",
  247. "control": "Default",
  248. "style": "Default_None",
  249. "isAutoHeight": false,
  250. "area": {
  251. "Left": "54",
  252. "Right": "71",
  253. "Top": 0,
  254. "Bottom": 100,
  255. "H_CalculationType": "percentage",
  256. "V_CalculationType": "percentage"
  257. }
  258. },
  259. {
  260. "FieldID": 12173,
  261. "font": "Content",
  262. "control": "Default",
  263. "style": "Default_None",
  264. "isAutoHeight": false,
  265. "area": {
  266. "Left": "82",
  267. "Right": "100",
  268. "Top": 0,
  269. "Bottom": 100,
  270. "H_CalculationType": "percentage",
  271. "V_CalculationType": "percentage"
  272. }
  273. }
  274. ],
  275. "text_s": [
  276. {
  277. "Label": "承包人:",
  278. "font": "Content",
  279. "control": "Footer",
  280. "style": "Default_None",
  281. "Title": "",
  282. "area": {
  283. "Left": 0,
  284. "Right": "5",
  285. "Top": 0,
  286. "Bottom": 100,
  287. "H_CalculationType": "percentage",
  288. "V_CalculationType": "percentage"
  289. }
  290. },
  291. {
  292. "Label": "监理员:",
  293. "font": "Content",
  294. "control": "Footer",
  295. "style": "Default_None",
  296. "Title": "",
  297. "area": {
  298. "Left": "22.5",
  299. "Right": "28",
  300. "Top": 0,
  301. "Bottom": 100,
  302. "H_CalculationType": "percentage",
  303. "V_CalculationType": "percentage"
  304. }
  305. },
  306. {
  307. "Label": "监理组组长:",
  308. "font": "Content",
  309. "control": "Footer",
  310. "style": "Default_None",
  311. "Title": "",
  312. "area": {
  313. "Left": "46",
  314. "Right": "54",
  315. "Top": 0,
  316. "Bottom": 100,
  317. "H_CalculationType": "percentage",
  318. "V_CalculationType": "percentage"
  319. }
  320. },
  321. {
  322. "Label": "业主(业主代表):",
  323. "font": "Content",
  324. "control": "Footer",
  325. "style": "Default_None",
  326. "Title": "",
  327. "area": {
  328. "Left": "71",
  329. "Right": "82",
  330. "Top": 0,
  331. "Bottom": 100,
  332. "H_CalculationType": "percentage",
  333. "V_CalculationType": "percentage"
  334. }
  335. }
  336. ]
  337. }
  338. ],
  339. "流水式表_列": {
  340. "BandName": "ColumnBand",
  341. "text_s": [
  342. {
  343. "Label": "序号",
  344. "font": "Content",
  345. "control": "Column",
  346. "style": "Default_Normal",
  347. "Title": "",
  348. "area": {
  349. "Left": 0,
  350. "Right": "9.26",
  351. "Top": 0,
  352. "Bottom": "100.00",
  353. "H_CalculationType": "percentage",
  354. "V_CalculationType": "percentage"
  355. }
  356. },
  357. {
  358. "Label": "变更金额(±)(元)",
  359. "font": "Content",
  360. "control": "Column",
  361. "style": "Default_Normal",
  362. "Title": "",
  363. "area": {
  364. "Left": "51.00",
  365. "Right": "100.00",
  366. "Top": 0,
  367. "Bottom": "50.00",
  368. "H_CalculationType": "percentage",
  369. "V_CalculationType": "percentage"
  370. }
  371. },
  372. {
  373. "Label": "(3)",
  374. "font": "Content",
  375. "control": "Column",
  376. "style": "Default_Normal",
  377. "Title": "",
  378. "area": {
  379. "Left": "51.00",
  380. "Right": "100.00",
  381. "Top": "50.00",
  382. "Bottom": "100.00",
  383. "H_CalculationType": "percentage",
  384. "V_CalculationType": "percentage"
  385. }
  386. },
  387. {
  388. "Label": "章 次",
  389. "font": "Content",
  390. "control": "Column",
  391. "style": "Default_Normal",
  392. "Title": "",
  393. "area": {
  394. "Left": "9.26",
  395. "Right": "29.99",
  396. "Top": 0,
  397. "Bottom": "50.00",
  398. "H_CalculationType": "percentage",
  399. "V_CalculationType": "percentage"
  400. }
  401. },
  402. {
  403. "Label": "科目名称",
  404. "font": "Content",
  405. "control": "Column",
  406. "style": "Default_Normal",
  407. "Title": "",
  408. "area": {
  409. "Left": "29.99",
  410. "Right": "51.00",
  411. "Top": 0,
  412. "Bottom": "50.00",
  413. "H_CalculationType": "percentage",
  414. "V_CalculationType": "percentage"
  415. }
  416. },
  417. {
  418. "Label": "(1)",
  419. "font": "Content",
  420. "control": "Column",
  421. "style": "Default_Normal",
  422. "Title": "",
  423. "area": {
  424. "Left": "9.26",
  425. "Right": "29.99",
  426. "Top": "50.00",
  427. "Bottom": "100.00",
  428. "H_CalculationType": "percentage",
  429. "V_CalculationType": "percentage"
  430. }
  431. },
  432. {
  433. "Label": "(2)",
  434. "font": "Content",
  435. "control": "Column",
  436. "style": "Default_Normal",
  437. "Title": "",
  438. "area": {
  439. "Left": "29.99",
  440. "Right": "51.00",
  441. "Top": "50.00",
  442. "Bottom": "100.00",
  443. "H_CalculationType": "percentage",
  444. "V_CalculationType": "percentage"
  445. }
  446. }
  447. ]
  448. },
  449. "多列显示数量": 1,
  450. "流水式表_数据": {
  451. "BandName": "ContentBand",
  452. "CommonHeight": "1.43",
  453. "flow_field_s": [
  454. {
  455. "FieldID": 12128,
  456. "font": "Content",
  457. "control": "Column",
  458. "style": "Default_Normal",
  459. "isAutoHeight": false,
  460. "combineType": "horizon",
  461. "area": {
  462. "Left": "9.26",
  463. "Right": "29.99",
  464. "Top": 0,
  465. "Bottom": "100.00",
  466. "H_CalculationType": "percentage",
  467. "V_CalculationType": "percentage"
  468. }
  469. },
  470. {
  471. "FieldID": 12129,
  472. "font": "Content",
  473. "control": "Column",
  474. "style": "Default_Normal",
  475. "isAutoHeight": false,
  476. "combineType": "horizon",
  477. "area": {
  478. "Left": "29.99",
  479. "Right": "51.00",
  480. "Top": 0,
  481. "Bottom": "100.00",
  482. "H_CalculationType": "percentage",
  483. "V_CalculationType": "percentage"
  484. }
  485. },
  486. {
  487. "FieldID": 12130,
  488. "font": "Content",
  489. "control": "Column",
  490. "style": "Default_Normal",
  491. "isAutoHeight": false,
  492. "area": {
  493. "Left": "51.00",
  494. "Right": "100.00",
  495. "Top": 0,
  496. "Bottom": "100.00",
  497. "H_CalculationType": "percentage",
  498. "V_CalculationType": "percentage"
  499. }
  500. },
  501. {
  502. "FieldID": 12131,
  503. "font": "Content",
  504. "control": "Column",
  505. "style": "Default_Normal",
  506. "isAutoHeight": false,
  507. "area": {
  508. "Left": 0,
  509. "Right": "9.26",
  510. "Top": 0,
  511. "Bottom": "100.00",
  512. "H_CalculationType": "percentage",
  513. "V_CalculationType": "percentage"
  514. }
  515. }
  516. ]
  517. },
  518. "流水式表_分组信息": {
  519. "group_field_s": [],
  520. "sum_field_s": [],
  521. "group_lines": []
  522. },
  523. "流水式表_段统计信息": {
  524. "BandName": "",
  525. "sum_field_s": [],
  526. "text_s": []
  527. },
  528. "流水式表_页统计信息": {
  529. "BandName": "",
  530. "sum_field_s": [],
  531. "text_s": []
  532. }
  533. },
  534. "离散参数_集合": [
  535. {
  536. "ID": "5001",
  537. "Name": "打印时间",
  538. "DataType": "String",
  539. "Default_Value": ""
  540. },
  541. {
  542. "ID": "5010",
  543. "Name": "当前页",
  544. "DataType": "String",
  545. "Default_Value": "第 X 页"
  546. },
  547. {
  548. "ID": "5011",
  549. "Name": "总页数",
  550. "DataType": "String",
  551. "Default_Value": "共 X 页"
  552. }
  553. ],
  554. "指标_数据_映射": {
  555. "离散指标_集合": [
  556. {
  557. "ID": 1132,
  558. "Name": "标段_标段清单_章节代码",
  559. "DataType": "array",
  560. "TableName": "tender_info",
  561. "mapExpression": "$PROJECT.REPORT.getArrayProperty(\"tender_info\", \"chapter.code\")",
  562. "descr": "",
  563. "Title": "ID: 1132"
  564. },
  565. {
  566. "ID": 1133,
  567. "Name": "标段_标段清单_章节名称",
  568. "DataType": "array",
  569. "TableName": "tender_info",
  570. "mapExpression": "$PROJECT.REPORT.getArrayProperty(\"tender_info\", \"chapter.name\")",
  571. "descr": "",
  572. "Title": "ID: 1133"
  573. },
  574. {
  575. "ID": 1134,
  576. "Name": "标段_标段清单_承包单位1_单位名称",
  577. "DataType": "string",
  578. "TableName": "tender_info",
  579. "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"construction_unit.contract1.company\")",
  580. "descr": "",
  581. "Title": "ID: 1134"
  582. },
  583. {
  584. "ID": 1101,
  585. "Name": "标段_项目名称",
  586. "DataType": "string",
  587. "TableName": "tender_info",
  588. "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"deal_info.buildName\")",
  589. "descr": "",
  590. "Title": "ID: 1101"
  591. },
  592. {
  593. "ID": 1102,
  594. "Name": "标段_合同编号",
  595. "DataType": "string",
  596. "TableName": "tender_info",
  597. "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"deal_info.dealCode\")",
  598. "descr": "",
  599. "Title": "ID: 1102"
  600. },
  601. {
  602. "ID": 1300,
  603. "Name": "期计量信息_期数",
  604. "DataType": "number",
  605. "TableName": "stage",
  606. "mapExpression": "$PROJECT.REPORT.getProperty(\"stage\", \"order\")",
  607. "descr": "",
  608. "Title": "ID: 1300"
  609. },
  610. {
  611. "ID": 1140,
  612. "Name": "标段_标段清单_监理单位1_单位名称",
  613. "DataType": "string",
  614. "TableName": "tender_info",
  615. "mapExpression": "$PROJECT.REPORT.getProperty(\"tender_info\", \"construction_unit.supervision1.company\")",
  616. "descr": "",
  617. "Title": "ID: 1140"
  618. }
  619. ],
  620. "主数据指标_集合": [],
  621. "从数据指标_集合": [
  622. {
  623. "ID": 2510,
  624. "Name": "清单编号",
  625. "DataType": "string",
  626. "TableName": "mem_stage_bills",
  627. "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'b_code')",
  628. "descr": "",
  629. "Title": "ID: 2510"
  630. },
  631. {
  632. "ID": 2509,
  633. "Name": "项目节编号",
  634. "DataType": "string",
  635. "TableName": "mem_stage_bills",
  636. "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'code')",
  637. "descr": "",
  638. "Title": "ID: 2509"
  639. },
  640. {
  641. "ID": 2508,
  642. "Name": "树结构-是否子项",
  643. "DataType": "int",
  644. "TableName": "mem_stage_bills",
  645. "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'is_leaf')",
  646. "descr": "",
  647. "Title": "ID: 2508"
  648. },
  649. {
  650. "ID": 2511,
  651. "Name": "名称",
  652. "DataType": "string",
  653. "TableName": "mem_stage_bills",
  654. "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'name')",
  655. "descr": "",
  656. "Title": "ID: 2511"
  657. },
  658. {
  659. "ID": 2548,
  660. "Name": "截止本期-完成-金额",
  661. "DataType": "currency",
  662. "TableName": "mem_stage_bills",
  663. "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'end_gather_tp')",
  664. "descr": "",
  665. "Title": "ID: 2548"
  666. },
  667. {
  668. "ID": 1200,
  669. "Name": "台账清单信息_清单编号",
  670. "DataType": "string",
  671. "TableName": "ledger",
  672. "mapExpression": "$PROJECT.REPORT.getProperty(\"ledger\", \"b_code\")",
  673. "descr": "",
  674. "Title": "ID: 1200"
  675. },
  676. {
  677. "ID": 2546,
  678. "Name": "截止本期-数量变更-金额(end_qc_tp)",
  679. "DataType": "currency",
  680. "TableName": "mem_stage_bills",
  681. "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'end_qc_tp')",
  682. "descr": "",
  683. "Title": "ID: 2546",
  684. "Precision": {
  685. "type": "fixed",
  686. "fixedMapExpression": "$PROJECT.REPORT.getProperty('tender_info', 'decimal.tp')"
  687. }
  688. },
  689. {
  690. "ID": 2540,
  691. "Name": "截止上期-数量变更-金额(pre_qc_tp)",
  692. "DataType": "currency",
  693. "TableName": "mem_stage_bills",
  694. "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'pre_qc_tp')",
  695. "descr": "",
  696. "Title": "ID: 2540",
  697. "Precision": {
  698. "type": "fixed",
  699. "fixedMapExpression": "$PROJECT.REPORT.getProperty('tender_info', 'decimal.tp')"
  700. }
  701. },
  702. {
  703. "ID": 2533,
  704. "Name": "本期-数量变更-金额(qc_tp)",
  705. "DataType": "currency",
  706. "TableName": "mem_stage_bills",
  707. "mapExpression": "$PROJECT.REPORT.getProperty('mem_stage_bills', 'qc_tp')",
  708. "descr": "",
  709. "Title": "ID: 2533",
  710. "Precision": {
  711. "type": "fixed",
  712. "fixedMapExpression": "$PROJECT.REPORT.getProperty('tender_info', 'decimal.tp')"
  713. }
  714. }
  715. ],
  716. "主数据指标_拓展集合": [],
  717. "从数据指标_拓展集合": []
  718. },
  719. "映射数据预处理": [
  720. {
  721. "预处理类型": "指定方式",
  722. "映射数据对象": "",
  723. "方式Key": "gatherChapter",
  724. "hint": "请使用mem_stage_bills/mem_stage_bills_compare/ledger,仅对一张表进行汇总,并生成数据:\n1. 因为是汇总章级数据,必须在离散数据中添加\"章节代码\"&\"章节名称\"\n2. 需勾选\"清单编号(b_code)\", \"树结构-是否子项(is_leaf)\"字段,可以对任何含有这些字段的表汇总\n注意事项:\n1. 算法对数据表没有要求,保证有上述字段,且按顺序勾选即可, 仅汇总金额\n2. 算法计算后,原数据表中非数字类型的字段全部失效(除清单编号、名称外),请勿在指标映射中添加\n示例:\ne.g.1 要对mem_stage_bills汇总,须勾选mem_stage_bills下的\"清单编号(b_code)\", \"树结构-是否子项((is_leaf)\"字段\ne.g.2 要对mem_stage_bills_compare汇总,须勾选mem_stage_bills_compare下的\"清单编号(b_code)\", \"树结构-是否子项((is_leaf)\"字段\n结果:\n汇总结果可参照 清单汇总--章节合计,但是不过滤1000-1300章数据",
  725. "fields": [
  726. {
  727. "Name": "树结构-是否子项",
  728. "FieldID": 2508
  729. },
  730. {
  731. "Name": "清单编号",
  732. "FieldID": 2510
  733. }
  734. ],
  735. "自定义设置": "{\n\t\"count\":7,\n\t\"gclSum\": {\n\t\t\"name\": \"第100章至700章清单合计\",\n\t\t\"order\": 1\n\t},\n\t\"custom\": [{\n\t\t\"name\": \"已包含在清单合计中的材料、工程设备、专业工程暂估价\",\n\t\t\"order\": 2\n\t}, {\n\t\t\"name\": \"清单合计减去材料、工程设备、专业工程暂估价(即8-9=10)\",\n\t\t\"order_calc\": \"o1-o2\",\n\t\t\"order\": 3\n\t}, {\n\t\t\"name\": \"计日工合计\",\n\t\t\"node_type\": \"计日工\",\n\t\t\"order\": 4\n\t}, {\n\t\t\"name\": \"暂列金额(不含计日工总额)(即10×暂列金额比列)\",\n\t\t\"node_type\": \"暂列金额\",\n\t\t\"order\": 5\n\t}, {\n\t\t\"name\": \"投标报价、台账价(8+11+12)=13\",\n\t\t\"order_calc\": \"o1+o4+o5\",\n\t\t\"order\": 6\n\t}]\n}"
  736. }
  737. ],
  738. "无映射离散指标_集合": [
  739. {
  740. "ID": 12128,
  741. "Name": "章节编号",
  742. "DataType": "string"
  743. },
  744. {
  745. "ID": 12129,
  746. "Name": "章节名称",
  747. "DataType": "string"
  748. },
  749. {
  750. "ID": 12130,
  751. "Name": "章节金额",
  752. "DataType": "string"
  753. },
  754. {
  755. "ID": 12131,
  756. "Name": "新序号",
  757. "DataType": "string"
  758. },
  759. {
  760. "ID": 12132,
  761. "Name": "合计序号",
  762. "DataType": "string"
  763. }
  764. ],
  765. "动态日期离散参数_集合": [
  766. {
  767. "ID": 12133,
  768. "Name": "新动态日期离散参数",
  769. "DataType": "string",
  770. "Default_Value": ""
  771. }
  772. ],
  773. "电子签名离散指标_集合": [
  774. {
  775. "ID": 12170,
  776. "Name": "承包人",
  777. "DataType": "string"
  778. },
  779. {
  780. "ID": 12171,
  781. "Name": "监理员",
  782. "DataType": "string"
  783. },
  784. {
  785. "ID": 12172,
  786. "Name": "监理组组长",
  787. "DataType": "string"
  788. },
  789. {
  790. "ID": 12173,
  791. "Name": "业主(业主代表)",
  792. "DataType": "string"
  793. }
  794. ]
  795. }