increaseFee.ts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import { IAny } from './base';
  2. export interface IStdFeeRule {
  3. ID: string;
  4. code: string;
  5. rule: string;
  6. base: string;
  7. feeRate?: number;
  8. labour: number;
  9. material: number;
  10. machine: number;
  11. }
  12. export interface IStdInstallFeeItem {
  13. rationRepId: number;
  14. ID: string;
  15. feeItem: string;
  16. feeType: string;
  17. position?: string;
  18. section: { ID: string }[];
  19. }
  20. export interface IStdInstallSection {
  21. rationRepId: number;
  22. ID: string;
  23. name: string;
  24. feeItemId: string;
  25. feeRule: IStdFeeRule[];
  26. }
  27. export interface IFeeRule extends IStdFeeRule {
  28. sectionID: string;
  29. feeItemID: string;
  30. position?: string; // 记取位置
  31. billID?: string; // 记取位置对应的清单ID
  32. }
  33. export interface IInstallSection {
  34. ID: string;
  35. feeItemID: string;
  36. feeRuleID: string;
  37. name: string;
  38. }
  39. export interface IInstallFeeItem {
  40. ID: string;
  41. feeItem: string; // 费用项
  42. feeType: string; // 费用类型
  43. isCalc?: boolean; // 是否记取
  44. position?: string; // 记取位置
  45. billID?: string; // 记取位置对应的清单ID
  46. }
  47. export interface IInstallFee {
  48. ID?: string;
  49. libID?: number;
  50. libName?: string;
  51. projectID?: string;
  52. installFeeItem: IInstallFeeItem[];
  53. installSection: IInstallSection[];
  54. feeRule: IFeeRule[];
  55. }
  56. export interface IIncreaseSettngItem {
  57. name: string;
  58. base: string;
  59. coe: number;
  60. scope: IAny;
  61. }
  62. export interface IIncreaseSetting {
  63. isCalc: boolean;
  64. setting: IIncreaseSettngItem[];
  65. }