guangdong_2018.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Zhong
  6. * @date 2019/8/15
  7. * @version
  8. */
  9. let isGD2018 = true;
  10. //允许使用的工料机类型:人工、普通材料、其他材料费、混凝土、砂浆、配合比、商品混凝土、商品砂浆
  11. //机械台班、机上人工、机械组成物、主材、设备、企业管理费
  12. if(typeof allowGljType !== 'undefined'){
  13. allowGljType = [1, 201, 202, 203, 204, 205, 206, 207, 301, 302, 303, 4,5, 6];
  14. }
  15. if(typeof allowComponent !== 'undefined'){
  16. //允许含有组成物的工料机类型:混凝土、砂浆、配合比、机械台班、主材
  17. allowComponent = [202, 203, 204, 301, 4];
  18. }
  19. if(typeof componentType !== 'undefined'){
  20. //可以作为组成物的工料机类型:普通材料、机械组成物、机上人工、主材
  21. componentType = [201, 302, 303, 4];
  22. }
  23. if(typeof machineAllowComponent !== 'undefined'){
  24. //允许含有组成物的机械工料机类型:机械台班器仪表
  25. machineAllowComponent = [301];
  26. }
  27. if(typeof machineComponent !== 'undefined'){
  28. //可以作为机械工料机组成物的工料机类型:机械组成物、机上人工
  29. machineComponent = [302, 303];
  30. }
  31. if(typeof materialAllowComponent !== 'undefined'){
  32. //允许含有组成物的材料工料机类型:混凝土、砂浆、配合比
  33. materialAllowComponent = [202, 203, 204];
  34. }
  35. if(typeof materialComponent !== 'undefined'){
  36. //可以作为材料工料机组成物的工料机类型:普通材料
  37. materialComponent = [201];
  38. }
  39. function overwriteRationCalcBases (){
  40. if (typeof rationCalcBases == 'undefined') return;
  41. for (let key in rationCalcBases) delete rationCalcBases[key];
  42. rationCalcBases['人工费'] = function (node, isTender) {
  43. return calcTools.rationBaseFee(node, [gljType.LABOUR], priceTypes.ptMarketPrice, isTender);
  44. };
  45. rationCalcBases['材料费'] = function (node, isTender) {
  46. return calcTools.rationBaseFee(node, baseMaterialTypes, priceTypes.ptMarketPrice, isTender);
  47. };
  48. rationCalcBases['机具费'] = function (node, isTender) {
  49. return calcTools.rationBaseFee(node, baseMachineTypes, priceTypes.ptMarketPrice, isTender);
  50. };
  51. rationCalcBases['主材费'] = function (node, isTender) {
  52. return calcTools.rationBaseFee(node, [gljType.MAIN_MATERIAL], priceTypes.ptMarketPrice, isTender);
  53. };
  54. rationCalcBases['设备费'] = function (node, isTender) {
  55. return calcTools.rationBaseFee(node, [gljType.EQUIPMENT], priceTypes.ptMarketPrice, isTender);
  56. };
  57. // 广东建筑管理费特殊计算:管理费=ROUND(∑(人工费+施工机具费)*定额的管理费费率*0.01,精度)。与定额同级的量价、人材机则按管理费费率为0计算。
  58. rationCalcBases['管理费'] = function (node, isTender) {
  59. let rst = 0;
  60. if (calcTools.isCalcManageRation(node) && node.data.gljList && node.data.manageFeeRate) {
  61. rst = (rationCalcBases['人工费'](node, isTender) + rationCalcBases['机具费'](node, isTender)) * node.data.manageFeeRate * 0.01;
  62. rst = rst.toDecimal(decimalObj.ration.unitPrice);
  63. };
  64. return rst;
  65. };
  66. rationCalcBases['工日合计'] = function (node, isTender) {
  67. return calcTools.labourDays(node, isTender);
  68. };
  69. rationCalcBases['甲供人工费'] = function (node, isTender) {
  70. return calcTools.partASupplyFee(node, '甲供人工费', isTender, false);
  71. };
  72. rationCalcBases['甲供材料费'] = function (node, isTender) {
  73. return calcTools.partASupplyFee(node, '甲供材料费', isTender, false);
  74. };
  75. rationCalcBases['甲供机具费'] = function (node, isTender) {
  76. return calcTools.partASupplyFee(node, '甲供机械费', isTender, false);
  77. };
  78. rationCalcBases['甲供主材费'] = function (node, isTender) {
  79. return calcTools.partASupplyFee(node, '甲供主材费', isTender, false);
  80. };
  81. rationCalcBases['甲供设备费'] = function (node, isTender) {
  82. return calcTools.partASupplyFee(node, '甲供设备费', isTender, false);
  83. };
  84. rationCalcBases['甲定人工费'] = function (node, isTender) {
  85. return calcTools.partASupplyFee(node, '甲定人工费', isTender, false);
  86. };
  87. rationCalcBases['甲定材料费'] = function (node, isTender) {
  88. return calcTools.partASupplyFee(node, '甲定材料费', isTender, false);
  89. };
  90. rationCalcBases['甲定机具费'] = function (node, isTender) {
  91. return calcTools.partASupplyFee(node, '甲定机械费', isTender, false);
  92. };
  93. rationCalcBases['甲定主材费'] = function (node, isTender) {
  94. return calcTools.partASupplyFee(node, '甲定主材费', isTender, false);
  95. };
  96. rationCalcBases['甲定设备费'] = function (node, isTender) {
  97. return calcTools.partASupplyFee(node, '甲定设备费', isTender, false);
  98. };
  99. rationCalcBases['暂估材料费'] = function (node, isTender) {
  100. return calcTools.estimateFee(node, true, isTender);
  101. };
  102. };
  103. (function overwriteFeeTypes() {
  104. if (typeof cpFeeTypes == 'undefined') return;
  105. cpFeeTypes = [
  106. {type: 'labour', name: '人工费'},
  107. {type: 'material', name: '材料费'},
  108. {type: 'machine', name: '机具费'},
  109. {type: 'mainMaterial', name: '主材费'},
  110. {type: 'equipment', name: '设备费'},
  111. {type: 'direct', name: '直接费'},
  112. {type: 'measure', name: '措施项目费'},
  113. {type: 'manage', name: '管理费'},
  114. {type: 'profit', name: '利润'},
  115. {type: 'tax', name: '税金'},
  116. {type: 'common', name: '工程造价'}
  117. ];
  118. })();
  119. if (typeof module !== 'undefined') {
  120. } else {
  121. // 广东接口排版规则,添加内容默认项目特征
  122. $(function () {
  123. $('#add-content').val('3');
  124. });
  125. // 隐藏项目属性中:取费方式中的子目含量取费选项
  126. if ($('#rationContent')) {
  127. $('#rationContent').parent().hide();
  128. }
  129. //清单计算基数相关
  130. if(typeof baseFigureMap !== 'undefined'){
  131. baseFigureMap = {
  132. '分部分项工程费': {base: 'FBFXGCF', fixedFlag: fixedFlag.SUB_ENGINERRING, class: 'FBFX'},
  133. '分部分项人工费': {base: 'FBFXDEJJRGF', fixedFlag: fixedFlag.SUB_ENGINERRING, class: 'FBFX'},
  134. '分部分项材料费': {base: 'FBFXDEJJCLF', fixedFlag: fixedFlag.SUB_ENGINERRING, class: 'FBFX'},
  135. '分部分项机具费': {base: 'FBFXDEJJJXF', fixedFlag: fixedFlag.SUB_ENGINERRING, class: 'FBFX'},
  136. '分部分项主材费': {base: 'FBFXZCF', fixedFlag: fixedFlag.SUB_ENGINERRING, class: 'FBFX'},
  137. '分部分项设备费': {base: 'FBFXSBF', fixedFlag: fixedFlag.SUB_ENGINERRING, class: 'FBFX'},
  138. '分部分项人工工日': {base: 'FBFXRGGR', fixedFlag: fixedFlag.SUB_ENGINERRING, class: 'FBFX'},
  139. '建筑面积': {base: 'JZMJ', class: 'FBFX'},
  140. '措施项目费': {base: 'CSXMF', fixedFlag: fixedFlag.MEASURE, class: 'CSXM'},
  141. '其他项目费': {base: 'QTXMF', fixedFlag: fixedFlag.OTHER, class: 'QTXM'},
  142. '甲供人工费': {base: 'JGDEJJRGF', class: 'RCJ'},
  143. '甲供材料费': {base: 'JGDEJJCLF', class: 'RCJ'},
  144. '甲供机具费': {base: 'JGDEJJJXF', class: 'RCJ'},
  145. '甲供主材费': {base: 'JGZCF', class: 'RCJ'},
  146. '甲供设备费': {base: 'JGSBF', class: 'RCJ'},
  147. '甲定人工费': {base: 'JDDEJJRGF', class: 'RCJ'},
  148. '甲定材料费': {base: 'JDDEJJCLF', class: 'RCJ'},
  149. '甲定机具费': {base: 'JDDEJJJXF', class: 'RCJ'},
  150. '甲定主材费': {base: 'JDZCF', class: 'RCJ'},
  151. '甲定设备费': {base: 'JDSBF', class: 'RCJ'},
  152. '暂估材料费(从子目汇总)': {base: 'ZGCLFFZM', class: 'RCJ'},
  153. '税金': {base: 'SJ', fixedFlag: fixedFlag.TAX, class: 'SJ'}
  154. };
  155. }
  156. if(typeof baseFigureTemplate !== 'undefined'){
  157. baseFigureTemplate['ZGCLFFZM'] = function (tender) { //暂估材料费(从子目汇总)
  158. const feeField = 'estimate';
  159. const subFeeField = tender ? 'tenderTotalFee' : 'totalFee';
  160. // 分部分项暂估合价
  161. const subEngineeringFee = cbTools.getBillsFee(fixedFlag.SUB_ENGINERRING, feeField, subFeeField);
  162. // 措施项目暂估合价
  163. let measureFee = cbTools.getBillsFee(fixedFlag.MEASURE, feeField, subFeeField);
  164. return (subEngineeringFee + measureFee).toDecimal(decimalObj.bills.totalPrice);
  165. };
  166. }
  167. }
  168. if(typeof gljCol !== 'undefined'){
  169. gljCol.showTaxRate = true;
  170. }
  171. // 人材机库追加的列头
  172. if (typeof repositoryGljObj !== 'undefined') {
  173. repositoryGljObj.setting.header = [
  174. {headerName:"税率",headerWidth:60,dataCode:"taxRate", dataType: "Number", hAlign: "center", vAlign: "center"},
  175. { headerName: "机型", headerWidth: 60, dataCode: "model", dataType: "Number", hAlign: "center", vAlign: "center" },
  176. { headerName: "是否新增", headerWidth: 60, dataCode: "isComplementary", hAlign: "center", vAlign: "center" }
  177. ]
  178. }
  179. // 定额人材机选择页面表头
  180. if (typeof gljOprObj !== 'undefined') {
  181. gljOprObj.gljLibSheetSetting.header = [
  182. {headerName: "选择", headerWidth: 40, dataCode: "select", hAlign: "center", vAlign: "center", cellType: "checkBox"},
  183. {headerName: "编码", headerWidth: 80, dataCode: "code", dataType: "String", formatter: "@", hAlign: "left", vAlign: "center"},
  184. {headerName: "名称", headerWidth: 160, dataCode: "name", dataType: "String", hAlign: "left", vAlign: "center"},
  185. {headerName: "规格型号", headerWidth: 160, dataCode: "specs", dataType: "String", hAlign: "left", vAlign: "center"},
  186. {headerName: "单位", headerWidth: 40, dataCode: "unit", dataType: "String", hAlign: "center", vAlign: "center"},
  187. {headerName: "单价", headerWidth: 55, dataCode: "basePrice", dataType: "Number", formatter: "0.00", hAlign: "right", vAlign: "center"},
  188. {headerName: "税率", headerWidth: 40, dataCode: "taxRate", dataType: "Number", formatter: "0.00", hAlign: "right", vAlign: "center"},
  189. {headerName: "类型", headerWidth: 60, dataCode: "typeName", dataType: "String", hAlign: "center", vAlign: "center"},
  190. {headerName: "新增", headerWidth: 40, dataCode: "isComplementary", dataType: "String", hAlign: "center", vAlign: "center", cellType: "checkBox", readOnly: true}
  191. ]
  192. }
  193. if (typeof installationFeeObj !== 'undefined') {
  194. installationFeeObj.getMeasureParentNode=function(){
  195. return projectObj.project.Bills.getMeasureNode();//取措施项目
  196. },
  197. installationFeeObj.feeRateMap={
  198. "AZF0101":"39.86",
  199. "AZF0102":"39.92",
  200. "AZF0103":"39.92",
  201. "AZF0104":"39.86",
  202. "AZF0105":"39.86",
  203. "AZF0106":"28.74",
  204. "AZF0107":"30.66",
  205. "AZF0108":"29.43",
  206. "AZF0109":"27.72",
  207. "AZF0110":"29.35",
  208. "AZF0111":"27.73",
  209. "AZF0112":"27.72",
  210. "AZF0113":"29.44",
  211. "AZF0114":"20.56",
  212. "AZF0115":"39.86",
  213. "AZF0116":"39.86",
  214. "AZF0117":"39.86",
  215. "AZF0118":"39.86",
  216. "AZF0119":"39.86",
  217. "AZF0120":"39.86",
  218. "AZF0121":"39.86",
  219. "AZF0122":"39.86",
  220. "AZF0123":"39.86",
  221. "AZF0124":"28.74",
  222. "AZF0125":"30.66",
  223. "AZF0126":"30.66",
  224. "AZF0127":"30.66",
  225. "AZF0128":"27.72",
  226. "AZF0129":"29.35",
  227. "AZF0130":"29.35",
  228. "AZF0131":"27.73",
  229. "AZF0132":"27.73",
  230. "AZF0133":"27.73",
  231. "AZF0134":"27.73",
  232. "AZF0135":"27.72",
  233. "AZF0136":"27.72",
  234. "AZF0137":"27.72",
  235. "AZF0138":"27.72",
  236. "AZF0139":"29.44",
  237. "AZF0140":"29.44",
  238. "AZF0141":"29.44",
  239. "AZF0142":"20.56",
  240. "AZF0143":"20.56",
  241. "AZF0144":"20.56",
  242. "AZF0145":"20.56",
  243. "AZF0146":"20.56",
  244. "AZF0147":"20.56",
  245. "AZF0148":"20.56",
  246. "AZF0149":"20.56",
  247. "AZF0150":"39.92",
  248. "AZF0151":"28.74",
  249. "AZF0152":"30.66",
  250. "AZF0153":"29.43",
  251. "AZF0154":"27.72",
  252. "AZF0155":"29.35",
  253. "AZF0156":"27.73",
  254. "AZF0157":"27.72",
  255. "AZF0158":"29.44",
  256. "AZF0159":"20.56",
  257. "AZF0160":"28.74",
  258. "AZF0161":"28.74",
  259. "AZF0162":"28.74",
  260. "AZF0163":"28.74",
  261. "AZF0164":"28.74",
  262. "AZF0165":"28.74",
  263. "AZF0166":"28.74",
  264. "AZF0167":"28.74",
  265. "AZF0168":"28.74",
  266. "AZF0169":"28.74",
  267. "AZF0170":"28.74",
  268. "AZF0171":"28.74",
  269. "AZF0172":"28.74",
  270. "AZF0173":"28.74",
  271. "AZF0174":"28.74",
  272. "AZF0175":"28.74",
  273. "AZF0176":"28.74",
  274. "AZF0177":"28.74",
  275. "AZF0178":"28.74",
  276. "AZF0179":"28.74",
  277. "AZF0180":"28.74",
  278. "AZF0181":"28.74",
  279. "AZF0182":"28.74",
  280. "AZF0183":"28.74",
  281. "AZF0184":"30.66",
  282. "AZF0185":"30.66",
  283. "AZF0186":"30.66",
  284. "AZF0187":"30.66",
  285. "AZF0188":"30.66",
  286. "AZF0189":"30.66",
  287. "AZF0190":"30.66",
  288. "AZF0191":"30.66",
  289. "AZF0192":"30.66",
  290. "AZF0193":"30.66",
  291. "AZF0194":"30.66",
  292. "AZF0195":"30.66",
  293. "AZF0196":"30.66",
  294. "AZF0197":"30.66",
  295. "AZF0198":"30.66",
  296. "AZF0199":"30.66",
  297. "AZF0200":"30.66",
  298. "AZF0201":"30.66",
  299. "AZF0202":"30.66",
  300. "AZF0203":"30.66",
  301. "AZF0204":"30.66",
  302. "AZF0205":"30.66",
  303. "AZF0206":"30.66",
  304. "AZF0207":"30.66",
  305. "AZF0208":"27.72",
  306. "AZF0209":"27.72",
  307. "AZF0210":"27.72",
  308. "AZF0211":"27.72",
  309. "AZF0212":"27.72",
  310. "AZF0213":"27.72",
  311. "AZF0214":"27.72",
  312. "AZF0215":"27.72",
  313. "AZF0216":"27.72",
  314. "AZF0217":"27.72",
  315. "AZF0218":"27.72",
  316. "AZF0219":"27.72",
  317. "AZF0220":"27.72",
  318. "AZF0221":"27.72",
  319. "AZF0222":"27.72",
  320. "AZF0223":"27.72",
  321. "AZF0224":"27.72",
  322. "AZF0225":"27.72",
  323. "AZF0226":"27.72",
  324. "AZF0227":"27.72",
  325. "AZF0228":"27.72",
  326. "AZF0229":"27.72",
  327. "AZF0230":"27.72",
  328. "AZF0231":"27.72",
  329. "AZF0232":"27.73",
  330. "AZF0233":"27.73",
  331. "AZF0234":"27.73",
  332. "AZF0235":"27.73",
  333. "AZF0236":"27.73",
  334. "AZF0237":"27.73",
  335. "AZF0238":"27.73",
  336. "AZF0239":"27.73",
  337. "AZF0240":"27.73",
  338. "AZF0241":"27.73",
  339. "AZF0242":"27.73",
  340. "AZF0243":"27.73",
  341. "AZF0244":"27.73",
  342. "AZF0245":"27.73",
  343. "AZF0246":"27.73",
  344. "AZF0247":"27.73",
  345. "AZF0248":"27.73",
  346. "AZF0249":"27.73",
  347. "AZF0250":"27.73",
  348. "AZF0251":"27.73",
  349. "AZF0252":"27.73",
  350. "AZF0253":"27.73",
  351. "AZF0254":"27.73",
  352. "AZF0255":"27.73",
  353. "AZF0256":"27.72",
  354. "AZF0257":"27.72",
  355. "AZF0258":"27.72",
  356. "AZF0259":"27.72",
  357. "AZF0260":"27.72",
  358. "AZF0261":"27.72",
  359. "AZF0262":"27.72",
  360. "AZF0263":"27.72",
  361. "AZF0264":"27.72",
  362. "AZF0265":"27.72",
  363. "AZF0266":"27.72",
  364. "AZF0267":"27.72",
  365. "AZF0268":"27.72",
  366. "AZF0269":"27.72",
  367. "AZF0270":"27.72",
  368. "AZF0271":"27.72",
  369. "AZF0272":"27.72",
  370. "AZF0273":"27.72",
  371. "AZF0274":"27.72",
  372. "AZF0275":"27.72",
  373. "AZF0276":"27.72",
  374. "AZF0277":"27.72",
  375. "AZF0278":"27.72",
  376. "AZF0279":"27.72",
  377. "AZF0280":"29.44",
  378. "AZF0281":"29.44",
  379. "AZF0282":"29.44",
  380. "AZF0283":"29.44",
  381. "AZF0284":"29.44",
  382. "AZF0285":"29.44",
  383. "AZF0286":"29.44",
  384. "AZF0287":"29.44",
  385. "AZF0288":"29.44",
  386. "AZF0289":"29.44",
  387. "AZF0290":"29.44",
  388. "AZF0291":"29.44",
  389. "AZF0292":"29.44",
  390. "AZF0293":"29.44",
  391. "AZF0294":"29.44",
  392. "AZF0295":"29.44",
  393. "AZF0296":"29.44",
  394. "AZF0297":"29.44",
  395. "AZF0298":"29.44",
  396. "AZF0299":"29.44",
  397. "AZF0300":"29.44",
  398. "AZF0301":"29.44",
  399. "AZF0302":"29.44",
  400. "AZF0303":"29.44",
  401. "AZF0304":"20.56",
  402. "AZF0305":"20.56",
  403. "AZF0306":"20.56",
  404. "AZF0307":"20.56",
  405. "AZF0308":"20.56",
  406. "AZF0309":"20.56",
  407. "AZF0310":"20.56",
  408. "AZF0311":"20.56",
  409. "AZF0312":"20.56",
  410. "AZF0313":"20.56",
  411. "AZF0314":"20.56",
  412. "AZF0315":"20.56",
  413. "AZF0316":"20.56",
  414. "AZF0317":"20.56",
  415. "AZF0318":"20.56",
  416. "AZF0319":"20.56",
  417. "AZF0320":"20.56",
  418. "AZF0321":"20.56",
  419. "AZF0322":"20.56",
  420. "AZF0323":"20.56",
  421. "AZF0324":"20.56",
  422. "AZF0325":"20.56",
  423. "AZF0326":"20.56",
  424. "AZF0327":"20.56",
  425. "AZF0328":"27.72",
  426. "AZF0329":"27.72",
  427. "AZF0330":"39.86",
  428. "AZF0331":"27.72"
  429. }
  430. }
  431. // 导入导出接口
  432. // 需要用固定类别关联的费用字典,用固定类别来映射
  433. // 数据节选自标准pdf文件《《建设工程政府投资项目造价数据标准》信息公开版》,附录C-费用名称与费用代号
  434. // 若映射表中没有映射关系,则费用字典取名称首字母
  435. let FlagFeeCodeMap = {};
  436. let FormulaFeeCodeMap = {};
  437. if (typeof commonConstants !== 'undefined') {
  438. FlagFeeCodeMap = {
  439. // 分部分项工程
  440. [commonConstants.fixedFlag.SUB_ENGINERRING]: 'QDF',
  441. // 措施项目
  442. [commonConstants.fixedFlag.MEASURE]: 'CSF',
  443. // 其他项目
  444. [commonConstants.fixedFlag.OTHER]: 'QTF',
  445. // 措施项目的子项
  446. [commonConstants.fixedFlag.SAFETY_CONSTRUCTION]: 'AQWMSGF', // 绿色施工安全防护措施费
  447. [commonConstants.fixedFlag.OTHER_MEASURE_FEE]: 'QTCSF', // 其他措施费
  448. // 其他项目的子项
  449. [commonConstants.fixedFlag.PROVISIONAL]: 'ZLF', // 暂列金额
  450. [commonConstants.fixedFlag.ESTIMATE]: 'ZGJ', // 暂估价
  451. [commonConstants.fixedFlag.MATERIAL_PROVISIONAL]: 'ZGC', // 材料(工程设备)暂估价
  452. [commonConstants.fixedFlag.ENGINEERING_ESITIMATE]: 'ZGGC', // 专业工程暂估价
  453. [commonConstants.fixedFlag.DAYWORK]: 'LXF', // 计日工
  454. [commonConstants.fixedFlag.TURN_KEY_CONTRACT]: 'ZCBFWF', // 总承包服务费
  455. [commonConstants.fixedFlag.BUDGET_INCLUDE_WORK_FEE]: 'YSBGF', // 预算包干费
  456. [commonConstants.fixedFlag.PROJECT_HIGH_QUALITY_FEE]: 'GCYZF', // 工程优质费
  457. [commonConstants.fixedFlag.BUDGET_ESTIMATE_DIFF]: 'GSFDC', // 概算幅度差
  458. [commonConstants.fixedFlag.CLAIM_VISA]: 'SPYXCQZ', // 索赔与现场签证
  459. [commonConstants.fixedFlag.CLAIM]: 'SPFY', // 索赔费用
  460. [commonConstants.fixedFlag.VISA]: 'XCQZFY', // 现场签证
  461. [commonConstants.fixedFlag.OTHER_FEE]: 'QTFY', // 其他费用
  462. // 税金
  463. [commonConstants.fixedFlag.TAX]: 'SJ',
  464. // 工程造价
  465. [commonConstants.fixedFlag.ENGINEERINGCOST]: 'ZZJ',
  466. };
  467. // 需要用计算基数关联的费用字典
  468. FormulaFeeCodeMap = {
  469. '{分部分项工程费}': 'QDF',
  470. '{分部分项人工费}': 'QRG',
  471. '{分部分项材料费}': 'QCL',
  472. '{分部分项机具费}': 'QJX',
  473. '{分部分项主材费}': 'QZCF',
  474. '{分部分项设备费}': 'QSBF',
  475. '{分部分项人工工日}': 'FBFXRGGR', // 标准没有,自增
  476. '{建筑面积}': 'JZMZ', // 自增
  477. '{措施项目费}': 'CSF',
  478. '{其他项目费}': 'QTF',
  479. '{甲供人工费}': 'JGRGF', // 自增
  480. '{甲供材料费}': 'JGC',
  481. '{甲供机具费}': 'JGJJF', // 自增
  482. '{甲供主材费}': 'JGZCF', // 自增
  483. '{甲供设备费}': 'JGSBF', // 自增
  484. '{甲定人工费}': 'JDRGF', // 自增
  485. '{甲定材料费}': 'JDCLF', // 自增
  486. '{甲定机具费}': 'JDJJF', // 自增
  487. '{甲定主材费}': 'JDZCF', // 自增
  488. '{甲定设备费}': 'JDSBF', // 自增
  489. '{暂估材料费(从子目汇总)}': 'ZGCLFCZMHZ', // 自增
  490. '{税金}': 'SJ',
  491. };
  492. }
  493. if(typeof gljCol !== 'undefined'){
  494. gljCol.hideInfoPrice = false;
  495. };
  496. if(typeof module !== 'undefined'){
  497. module.exports = {
  498. getBillsCalcMode: getBillsCalcMode,
  499. getAreaName: getAreaName
  500. };
  501. }
  502. function getBillsCalcMode() {
  503. return 1
  504. }
  505. function getAreaName() {
  506. return 'guangdong_2018'
  507. }