|
|
@@ -1,4 +1,4 @@
|
|
|
-import { BRType } from './base';
|
|
|
+import { BRType, ITreeScm } from './base';
|
|
|
import { IQuantityDetail } from './quantityDetail';
|
|
|
|
|
|
export interface IJobContent {
|
|
|
@@ -83,10 +83,11 @@ export interface IJobOrItem {
|
|
|
serialNo: number;
|
|
|
}
|
|
|
|
|
|
-export interface IStdBill {
|
|
|
+// 标准清单原始数据
|
|
|
+export interface IStdBillResult {
|
|
|
ID: string;
|
|
|
- parentID: string;
|
|
|
- seq: number;
|
|
|
+ ParentID: string;
|
|
|
+ NextSiblingID: string;
|
|
|
code: string;
|
|
|
name: string;
|
|
|
unit: string;
|
|
|
@@ -103,7 +104,27 @@ export interface IStdBill {
|
|
|
quantityIndexType: string; // 工程量指标类别
|
|
|
quantityIndexUnit: string; // 工程量指标单位
|
|
|
quantityIndexCoe: number; // 单位转换系数
|
|
|
- deleted: boolean;
|
|
|
+ deleted?: boolean;
|
|
|
+}
|
|
|
+
|
|
|
+// 标准清单(更正属性命名规范)
|
|
|
+export interface IStdBill extends ITreeScm {
|
|
|
+ code: string;
|
|
|
+ name: string;
|
|
|
+ unit: string;
|
|
|
+ ruleText: string;
|
|
|
+ engineering: number; // 工程专业,填计算程序工程专业ID
|
|
|
+ expression: string;
|
|
|
+ comment: string; // 备注,后台清单精灵录入
|
|
|
+ jobs: IJobOrItem[];
|
|
|
+ items: IJobOrItem[];
|
|
|
+ recharge: string;
|
|
|
+ billLibID: number;
|
|
|
+ // 经济指标属性
|
|
|
+ economicType: string; // 工程经济指标类别
|
|
|
+ quantityIndexType: string; // 工程量指标类别
|
|
|
+ quantityIndexUnit: string; // 工程量指标单位
|
|
|
+ quantityIndexCoe: number; // 单位转换系数
|
|
|
}
|
|
|
|
|
|
// 清单固定类别
|