Jelajahi Sumber

feat(types): 定额库关联数据增加libCode

vian 3 tahun lalu
induk
melakukan
f863ba395e
2 mengubah file dengan 7 tambahan dan 3 penghapusan
  1. 4 0
      types/src/interface/base.ts
  2. 3 3
      types/src/interface/compilation.ts

+ 4 - 0
types/src/interface/base.ts

@@ -33,6 +33,10 @@ export interface INumFileRef {
   isDefault?: boolean;
 }
 
+export interface IRationLibFileRef extends INumFileRef {
+  libCode: string;
+}
+
 export enum DeleteEnum {
   NORMAL = 1,
   DELETED,

+ 3 - 3
types/src/interface/compilation.ts

@@ -1,5 +1,5 @@
 import { TaxType, IGLJCol, FileType } from './project';
-import { IFileRef, INumFileRef } from './base';
+import { IFileRef, INumFileRef, IRationLibFileRef } from './base';
 import { IBillOption } from './bill';
 
 export interface ICptItem {
@@ -46,11 +46,11 @@ export interface IEngineering {
   billLib?: IBillOption[];
   billsGuidanceLib?: IFileRef[];
   gljLib?: INumFileRef[];
-  rationLib?: INumFileRef[];
+  rationLib?: IRationLibFileRef[];
   progressiveLib?: IFileRef[];
   taxGroup: ITaxGroup[];
   indexName?: string; // 指标专业名称
-  visible?: boolean; // 是否显示 
+  visible?: boolean; // 是否显示
 }
 
 export interface IValuation {