浏览代码

feat(types): 添加分项费用计取方式

zhangweicheng 4 年之前
父节点
当前提交
0ac51b691a
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      types/src/interface/installation.ts

+ 6 - 0
types/src/interface/installation.ts

@@ -55,11 +55,17 @@ export interface IInstallFeeItem {
   isCalc: boolean; // 是否记取
 }
 
+export enum FeeItemCalcType {
+  PROJECT_CALC = 'project_calc', // 整个项目统一计取
+  FB_CALC = 'FB_calc', // 每个分部单独计取
+}
+
 export interface IInstallationFee {
   ID: string;
   libID: number;
   libName: string;
   projectID: string;
+  calcType: FeeItemCalcType; // 分项费用计取方式
   installFeeItems: IInstallFeeItem[];
   installSections: IInstallSection[];
   feeRules: IFeeRule[];