|
|
@@ -5,6 +5,7 @@ import {
|
|
|
GljCreateType,
|
|
|
CreateLocation,
|
|
|
BRType,
|
|
|
+ IBRBase,
|
|
|
} from './base';
|
|
|
import { IBookmark } from './bill';
|
|
|
import { GljType, ICptGlj, IStdGlj, MaterialType } from './glj';
|
|
|
@@ -258,18 +259,9 @@ export interface IThirdRation {
|
|
|
rationGljList: IRationGlj[];
|
|
|
}
|
|
|
|
|
|
-export interface IRation {
|
|
|
- ID: string;
|
|
|
- parentID: string;
|
|
|
- seq: number;
|
|
|
- kind: BRType;
|
|
|
- code?: string;
|
|
|
- name?: string;
|
|
|
- unit?: string;
|
|
|
+export interface IRation extends IBRBase {
|
|
|
type?: GljType; // 子类型:1人工、201材料、301机械、4主材、5设备
|
|
|
- quantity?: number;
|
|
|
contain?: number; // 含量
|
|
|
- quantityEXP?: string; // 工程量表达式
|
|
|
programID?: number;
|
|
|
fees?: any; // 费用字段
|
|
|
gljQtyCoe?: IGljQtyCoe; // 工料机消耗量调整系数字段
|
|
|
@@ -281,8 +273,6 @@ export interface IRation {
|
|
|
from?: FromType; // { type: string; default: 'std' }; // std, cpt 来自标准、补充
|
|
|
isSubcontract?: boolean; // 是否分包
|
|
|
installationKey?: string; // 用来记录安装增加费的关联字段
|
|
|
- // 定额特有属性:
|
|
|
- stdID?: string; // 来自的标准定额ID
|
|
|
repositoryID?: number; // 定额库ID
|
|
|
maskName?: string;
|
|
|
caption?: string;
|
|
|
@@ -318,7 +308,6 @@ export interface IRation {
|
|
|
rationCoeList?: IRationCoe[]; // 定额调整系数
|
|
|
rationTemplate?: IRationTemplate; // 定额模板
|
|
|
rationInstallList?: IRationInstall[]; // 定额安装增加
|
|
|
- bookmarks?: IBookmark[];
|
|
|
}
|
|
|
|
|
|
export interface IRations {
|