import { IAny } from './base'; export interface IStdFeeRule { ID: string; code: string; rule: string; base: string; feeRate?: number; labour: number; material: number; machine: number; } export interface IStdInstallFeeItem { rationRepId: number; ID: string; feeItem: string; feeType: string; position?: string; section: { ID: string }[]; } export interface IStdInstallSection { rationRepId: number; ID: string; name: string; feeItemId: string; feeRule: IStdFeeRule[]; } export interface IFeeRule extends IStdFeeRule { sectionID: string; 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; // 费用类型 isCalc?: boolean; // 是否记取 position?: string; // 记取位置 billID?: string; // 记取位置对应的清单ID } export interface IInstallFee { ID?: string; libID?: number; libName?: string; projectID?: string; installFeeItem: IInstallFeeItem[]; installSection: IInstallSection[]; feeRule: IFeeRule[]; } export interface IIncreaseSettngItem { name: string; base: string; coe: number; scope: IAny; } export interface IIncreaseSetting { isCalc: boolean; setting: IIncreaseSettngItem[]; }