|
@@ -0,0 +1,66 @@
|
|
|
|
|
+export interface IBaseFeeRule {
|
|
|
|
|
+ ID: string;
|
|
|
|
|
+ code: string;
|
|
|
|
|
+ rule: string;
|
|
|
|
|
+ base: string;
|
|
|
|
|
+ feeRate: number;
|
|
|
|
|
+ labour: number;
|
|
|
|
|
+ material: number;
|
|
|
|
|
+ machine: number;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// 费用章节
|
|
|
|
|
+export interface IStdInstallSection {
|
|
|
|
|
+ rationRepId: number;
|
|
|
|
|
+ ID: string;
|
|
|
|
|
+ feeItemId: string;
|
|
|
|
|
+ name: string;
|
|
|
|
|
+ feeRule: IBaseFeeRule[];
|
|
|
|
|
+ deleted: boolean;
|
|
|
|
|
+}
|
|
|
|
|
+// 费用项
|
|
|
|
|
+export interface IStdInstallFeeItem {
|
|
|
|
|
+ rationRepId: number;
|
|
|
|
|
+ ID: string;
|
|
|
|
|
+ feeItem: string; // 费用项
|
|
|
|
|
+ feeType: string; // 费用类型
|
|
|
|
|
+ position: string; // 记取位置
|
|
|
|
|
+ section: [];
|
|
|
|
|
+ deleted: boolean;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// 安装增加费-费用规则
|
|
|
|
|
+export interface IFeeRule extends IBaseFeeRule {
|
|
|
|
|
+ sectionID: string; // 分册章节id
|
|
|
|
|
+ feeItemID: string;
|
|
|
|
|
+ position?: string; // 记取位置
|
|
|
|
|
+ billID?: string; // 记取位置对应的清单ID
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// 安装增加费-分册章节
|
|
|
|
|
+export interface IInstallSection {
|
|
|
|
|
+ ID: string;
|
|
|
|
|
+ feeItemID: string;
|
|
|
|
|
+ feeRuleID: string;
|
|
|
|
|
+ name: string;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// 安装增加费-费用项
|
|
|
|
|
+export interface IInstallFeeItem {
|
|
|
|
|
+ ID: string;
|
|
|
|
|
+ feeItem: string; // 费用项
|
|
|
|
|
+ feeType: string; // 费用类型
|
|
|
|
|
+ position: string; // 记取位置
|
|
|
|
|
+ billID: string; // 记取位置对应的清单ID
|
|
|
|
|
+ isCalc: { type: boolean; default: false }; // 是否记取
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export interface IInstallation {
|
|
|
|
|
+ ID: string;
|
|
|
|
|
+ libID: number;
|
|
|
|
|
+ libName: string;
|
|
|
|
|
+ projectID: string;
|
|
|
|
|
+ installFeeItems: IInstallFeeItem[];
|
|
|
|
|
+ installSections: IInstallSection[];
|
|
|
|
|
+ feeRules: IFeeRule[];
|
|
|
|
|
+}
|