Przeglądaj źródła

feat(types): 添加结算类型

zhangweicheng 4 lat temu
rodzic
commit
60c42f3f9f
1 zmienionych plików z 15 dodań i 13 usunięć
  1. 15 13
      types/src/interface/project.ts

+ 15 - 13
types/src/interface/project.ts

@@ -39,7 +39,7 @@ export interface IDecimal {
 export interface IBillsQuantityDecimal {
   unit: string;
   decimal: number;
-  ID:string;
+  ID: string;
 }
 
 // 呈现选项
@@ -56,7 +56,7 @@ export interface IProgression {
 }
 
 export interface IProgressiveInterval {
-  ID:string;
+  ID: string;
   name: string;
   progression: IProgression[];
   generalRate?: number;
@@ -99,12 +99,14 @@ export enum FileType {
   SUBMISSION = 1, // 投标
   INVITATION, // 招标
   CONTROL, // 控制价
+  SETTLEMENT, // 结算
 }
 
 export enum FileTypeName {
   SUBMISSION = '投标',
   INVITATION = '招标',
   CONTROL = '控制价',
+  SETTLEMENT = '结算',
 }
 
 export const FileTypeMap = {
@@ -115,7 +117,7 @@ export const FileTypeMap = {
 
 // 工程特征、基本信息
 export interface IInfoItem {
-  ID:string;
+  ID: string;
   key: string;
   dispName: string;
   value?: string;
@@ -127,11 +129,11 @@ export interface IInfoItem {
   items?: IInfoItem[];
 }
 
-//基本信息类型
-export interface IBasicInfo extends IInfoItem{
-  ID:string, 
-  parentID:string,
-  seq:number
+// 基本信息类型
+export interface IBasicInfo extends IInfoItem {
+  ID: string;
+  parentID: string;
+  seq: number;
 }
 // 工程特征指标
 interface IBaseEngineerFeature {
@@ -150,7 +152,7 @@ export interface IEngineerFeature extends ITreeScm, IBaseEngineerFeature {}
 
 // 主要工料指标
 export interface IMaterialIndex {
-  ID:string;
+  ID: string;
   name: string;
   unit: string;
   coe: number;
@@ -158,7 +160,7 @@ export interface IMaterialIndex {
 
 // 主要工程量指标
 export interface IMainQtyIndex {
-  ID:string;
+  ID: string;
   name: string;
   unit: string;
   coe: number;
@@ -166,7 +168,7 @@ export interface IMainQtyIndex {
 
 // 主要经济指标
 export interface IEconomicIndex {
-  ID:string;
+  ID: string;
   name: string;
   value: string;
 }
@@ -234,7 +236,7 @@ export interface IProperty {
   overHeightSpecificID?: string; // 超高子目指定清单ID
   distributeSetting?: IDistributeSetting; // 强制修改叶子清单的综合单价,分摊计算定额工程量 或 分摊计算定额下的工料机消耗量。
   colMetas?: IColumnMeta[];
-  valuationName?:string;//计价规则名称
+  valuationName?: string; // 计价规则名称
 }
 
 // 原来的列设置太复杂了,没什么必要
@@ -276,7 +278,7 @@ export interface IProject extends ITreeScm {
   code?: string;
   createDate: number;
   property?: IProperty;
- 
+
   changeMark?: string;
   remark?: string;
   fileVer?: string;