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

feat(types): 定额类型调整

zhangweicheng пре 4 година
родитељ
комит
6835f4c7be
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 1
      types/src/interface/base.ts
  2. 0 3
      types/src/interface/ration.ts

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

@@ -1,7 +1,7 @@
 import { IProjectGlj } from './glj';
 import { IBill, IBookmark } from './bill';
 import { IProject, IProjectPermission } from './project';
-import { IRation } from './ration';
+import { IGljQtyCoe, IRation } from './ration';
 import { IFeeRateFile } from './feeRate';
 import { ICalcProgramFile } from './calculation';
 import { IConfigMaterial } from './configMaterial';
@@ -234,5 +234,8 @@ export interface IBRBase {
   quantity?: number;
   quantityEXP?: string;
   quantityDetails?: IQuantityDetail[]; // 工程量明细 -- 原先保存在另外的表中
+  fees?: any; // 费用字段
+  gljQtyCoe?: IGljQtyCoe; // 工料机消耗量调整系数字段
+  rationQtyCoe?: number; // 子目工程量调整系数
   bookmarks?: IBookmark[]; // 书签批注
 }

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

@@ -263,9 +263,6 @@ export interface IRation extends IBRBase {
   type?: GljType; // 子类型:1人工、201材料、301机械、4主材、5设备
   contain?: number; // 含量
   programID?: number;
-  fees?: any; // 费用字段
-  gljQtyCoe?: IGljQtyCoe; // 工料机消耗量调整系数字段
-  rationQtyCoe?: number; // 子目工程量调整系数
   tenderQuantity?: string; // 调整后工程量
   noAdjustPrice?: boolean; // { type: boolean; default: false }; // 不调价
   targetUnitFee?: string; // 目标单价