Explorar o código

feat(types): 修改定额类型

zhangweicheng %!s(int64=4) %!d(string=hai) anos
pai
achega
6bb23e55bb
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      types/src/interface/ration.ts

+ 3 - 2
types/src/interface/ration.ts

@@ -103,7 +103,7 @@ export interface ILibRationCondition {
   keyword: string;
   rationRepIds: (number | string)[];
   from: FromType;
-  lastCode: string; // 最后一行的定额编号
+  lastCode?: string; // 最后一行的定额编号
 }
 
 export interface ICoeList {
@@ -304,7 +304,8 @@ export interface IRation extends IBRBase {
   from?: FromType; // { type: string; default: 'std' }; // std, cpt  来自标准、补充
   isSubcontract?: boolean; // 是否分包
   installationKey?: string; // 用来记录安装增加费的关联字段
-  repositoryID?: number; // 定额库ID
+  repositoryID?: number | string; // 定额库ID
+  sectionID?: number | string; // 章节ID用来定位
   maskName?: string;
   caption?: string;
   evaluationProject?: boolean; // { type: boolean; default: false }; // 1 true 0 false 估价项目