Pārlūkot izejas kodu

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

zhangweicheng 5 gadi atpakaļ
vecāks
revīzija
0ac51b691a
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  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[];