| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- // 计算选项
- export interface ICalcOption {
- calcMain: boolean;
- calcAdd: boolean;
- calcEst: boolean;
- }
- // 调价类型:
- export enum TenderKinds {
- COE_CALC, // 正向调价-按系数计算
- REVERSE_RATION, // 反向调价-调子目
- REVERSE_GLJ, // 反向调价-调工料机
- NULL, // 无需参数时,用作占位
- }
- // 调价设置
- export interface ITenderSetting {
- gljPriceTenderCoe: number; // 工料机单价调整系数
- tenderKind: TenderKinds;
- }
- export interface ICalcItem {
- ID: number;
- code: string;
- name: string;
- fieldName: string;
- dispExpr: string;
- dispExprUser?: string;
- expression: string;
- compiledExpr?: string;
- statement: string;
- feeRateID?: number;
- feeRate?: string;
- labourCoeID?: number;
- memo?: string;
- custom?: boolean;
- [key: string]: any;
- }
- export interface ICalcTemplate {
- ID: number;
- name: string;
- calcItems: ICalcItem[];
- [key: string]: any;
- }
- export interface IStdCalcProgram {
- ID: number;
- region: string;
- libName: string;
- displayName: string;
- compilationId: string;
- compilationName: string;
- templates: ICalcTemplate[];
- }
- export interface ICalcProgramFile {
- ID: string;
- projectID: string;
- name: string;
- libID: number;
- libName: string;
- programs: ICalcTemplate[];
- }
|