Преглед изворни кода

feat(types): ICalcItem、ICalcTemplate

chenshilong пре 5 година
родитељ
комит
c5cee266f1
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      types/src/interface/calculation.ts

+ 2 - 0
types/src/interface/calculation.ts

@@ -33,12 +33,14 @@ export interface ICalcItem {
   labourCoeID?: number;
   labourCoeID?: number;
   memo?: string;
   memo?: string;
   custom?: boolean;
   custom?: boolean;
+  [key: string]: any;
 }
 }
 
 
 export interface ICalcTemplate {
 export interface ICalcTemplate {
   ID: number;
   ID: number;
   name: string;
   name: string;
   calcItems: ICalcItem[];
   calcItems: ICalcItem[];
+  [key: string]: any;
 }
 }
 
 
 export interface IStdCalcProgram {
 export interface IStdCalcProgram {