/** * Created by jimiz on 2017/4/19. */ const ModuleNames = { bills: 'bills', ration: 'ration', GLJ: 'GLJ', feeRate: 'feeRate', projectGLJ: 'projectGLJ', ration_glj:'ration_glj', ration_coe:'ration_coe', ration_ass:'ration_ass', quantity_detail:'quantity_detail', // volume_price: 'volume_price', projectGLJ: 'project_glj', labour_coe: 'labour_coe', calc_program: 'calc_program' }; const feeRate_consts={ decimal:3 }; const CP_Col_Width = { // 多处计算程序界面的列宽统一设置 rowHeader: 30, colHeader: 30, // 这个是标题栏高度不是宽度,也写在一起 code: 70, serialNo: 50, name: 200, dispExprUser: 180, feeRate: 60, displayFieldName: 120, statement: 380, memo: 110, unitFee: 90, totalFee: 90 }; const treeNodeCalcType = { ctRationCalcProgram: 1, ctBillCalcProgram: 2, ctGatherRations: 3, ctGatherBills: 4, ctCalcBaseValue: 5 }; const calcAllType = { catAll: 'all', catBills: 'bills', catRations: 'ration' }; const subSheetIndex = { ssiRationGLJ: 0, ssiRationCoe: 1, ssiRationAssistant: 2, ssiQuantityDetail: 3, ssiCalcProgram: 4, ssiMemo: 5, ssiFeature: 6 }; const volumePriceMaps = { "量人": gljType.LABOUR, "量材": gljType.GENERAL_MATERIAL, "量机": gljType.GENERAL_MACHINE, "量主": gljType.MAIN_MATERIAL, "量设": gljType.EQUIPMENT, "人工": gljType.LABOUR, "材料": gljType.GENERAL_MATERIAL, "机械": gljType.GENERAL_MACHINE, "主材": gljType.MAIN_MATERIAL, "设备": gljType.EQUIPMENT, 1: "量人", 201: "量材", 301: "量机", 4: "量主", 5: "量设" }; const rationType = { ration: 1, volumePrice: 2, gljRation: 3 };