| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import { DeleteEnum, fromType } from './base';
- export interface IComponent {
- ID: string;
- consumption: number; // 消耗量(有别于总消耗,此字段记录配合比的消耗量)
- gljID: string; // 工料机总库对应id (关联用)
- specs?: string; // 规格型号
- unit: string; // 单位
- name: string; // 名称
- code: string; // 对应工料机code
- type: number; // 工料机类型
- model?: number; // 机型
- from: fromType; // std, cpt 来自标准工料机库、补充工料机库
- }
- export interface IUnitPrice {
- ID: string;
- basePrice: number; // 基价单价
- marketPrice: number; // 市场单价
- taxRate?: number; // 税率
- code: string; // 编码
- originalCode: string; // 原始的编码
- name: string; // 名称
- specs?: string; // 规格型号
- unit: string; // 单位
- model?: number; // 机型
- type: number; // 类型
- gljID: string; // 对应标准库工料机id
- from: fromType; // std, cpt 来自标准工料机库、补充工料机库
- components?: IComponent[]; // 组成物
- isAdd: boolean; // 是否新增
- }
- export interface IUnitPriceFile {
- ID: string;
- name: string;
- userID?: string;
- rootProjectID: string;
- unitPrices: IUnitPrice[];
- deleteType?: DeleteEnum;
- }
|