|
|
@@ -1,59 +1,93 @@
|
|
|
export class BOMItem {
|
|
|
- type?: string; // 类型
|
|
|
- bom_code?: string; // BOM编号
|
|
|
- qty?: number; // 数量
|
|
|
- appreance_treat?: string; // 表面处理
|
|
|
- color?: string; // 颜色
|
|
|
- color_config?: string; // 颜色配置
|
|
|
- customer_part_code?: string; // 客户零件号
|
|
|
- customer_part_vesion?: string;// 客户版本号
|
|
|
- erp_code?: string; // ERP号
|
|
|
- height?: number; // 高
|
|
|
- internal_part_number?: string;// 内部零件号
|
|
|
- length?: number; // 长
|
|
|
- material_grade?: string; // 材料牌号
|
|
|
- material_name?: string; // 材料名称
|
|
|
- net_weight?: number; // 每件净重
|
|
|
- note?: string; // 备注
|
|
|
- part_name?: string; // 零件名/描述
|
|
|
- part_type?: string; // 零件类型
|
|
|
- process?: string; // 生产工艺
|
|
|
- rate?: number; // 利用率
|
|
|
- spec_standards?: string; // 规格及标准
|
|
|
- supplier?: string; // 供应商
|
|
|
- technology_consume?: number; // 工艺消耗定额
|
|
|
- unit?: string; // 单位
|
|
|
- width?: number; // 宽
|
|
|
+ gridorder?: string; // "序号",
|
|
|
+ customer_part_code?: string; // "客户零件号",
|
|
|
+ customer_part_name?: string; // "客户零件名称",
|
|
|
+ customer_part_vesion?: string; // "客户图纸号",
|
|
|
+ erp_code?: string; // "NK零件号",
|
|
|
+ part_name?: string; // "NK零件名称",
|
|
|
+ unit_config?: string; // "辆份配置",
|
|
|
+ config_ratio?: string; // "配置比",
|
|
|
+ product_category?: string; // "产品类别",
|
|
|
+ process?: string; // "制造工艺",
|
|
|
+ length?: string; // "长",
|
|
|
+ width?: string; // "宽",
|
|
|
+ height?: string; // "高",
|
|
|
+ color?: string; // "颜色",
|
|
|
+ color_config?: string; // "光泽度",
|
|
|
+ part_type?: string; // "自制/外购/支给(M/P/C)",
|
|
|
+ part_attribute?: string; // "零件属性",
|
|
|
+ material_grade?: string; // "材料牌号",
|
|
|
+ supplier?: string; // "材料供应商",
|
|
|
+ unit?: string; // "计量单位",
|
|
|
+ qty?: string; // "标准用量",
|
|
|
+ technology_consume?: string; // "工艺消耗",
|
|
|
+ nonperform_rate?: string; // "不良率%",
|
|
|
+ manufacture_area?: string; // "制造区域",
|
|
|
+ manufacture_report?: string; // "制造单元",
|
|
|
+ manufature_equip?: string; // "制造设备类(组)",
|
|
|
+ moldtooling_fixture?: string; // "模具/工装治具",
|
|
|
+ cavities?: string; // "模腔数/取数(pcs)",
|
|
|
+ production_cycle?: string; // "制造周期(S)",
|
|
|
+ holding_number?: string; // "持台人数",
|
|
|
+ single_piece?: string; // "单件节拍(S)",
|
|
|
+ package_type?: string; // "外包类型",
|
|
|
+ innerpackage_type?: string; // "内包类型",
|
|
|
+ snp?: string; // "SNP",
|
|
|
+ cycle_number?: string; // "循环次数(次)",
|
|
|
+ supply_local?: string; // "供货地信息",
|
|
|
+ supplier_distance?: string; // "供货距离(KM)",
|
|
|
+ supply_code?: string; // "供应商编码",
|
|
|
+ min_order?: string; // "最小起订量",
|
|
|
+ remark?: string; // "备注",
|
|
|
+ picture?: string; // "简图",
|
|
|
+ parent_gridorder?: string; // "上级序号",
|
|
|
|
|
|
constructor(init?: Partial<BOMItem>) {
|
|
|
- this.type = undefined; // 类型
|
|
|
- this.bom_code = undefined; // BOM编号
|
|
|
- this.qty = undefined; // 数量
|
|
|
- this.appreance_treat = undefined; // 表面处理
|
|
|
- this.color = undefined; // 颜色
|
|
|
- this.color_config = undefined; // 颜色配置
|
|
|
- this.customer_part_code = undefined; // 客户零件号
|
|
|
- this.customer_part_vesion = undefined;// 客户版本号
|
|
|
- this.erp_code = undefined; // ERP号
|
|
|
- this.height = undefined; // 高
|
|
|
- this.internal_part_number = undefined;// 内部零件号
|
|
|
- this.length = undefined; // 长
|
|
|
- this.material_grade = undefined; // 材料牌号
|
|
|
- this.material_name = undefined; // 材料名称
|
|
|
- this.net_weight = undefined; // 每件净重
|
|
|
- this.note = undefined; // 备注
|
|
|
- this.part_name = undefined; // 零件名/描述
|
|
|
- this.part_type = undefined; // 零件类型
|
|
|
- this.process = undefined; // 生产工艺
|
|
|
- this.rate = undefined; // 利用率
|
|
|
- this.spec_standards = undefined; // 规格及标准
|
|
|
- this.supplier = undefined; // 供应商
|
|
|
- this.technology_consume = undefined; // 工艺消耗定额
|
|
|
- this.unit = undefined; // 单位
|
|
|
- this.width = undefined; // 宽
|
|
|
+ this.gridorder = undefined; // "序号",
|
|
|
+ this.customer_part_code = undefined; // "客户零件号",
|
|
|
+ this.customer_part_name = undefined; // "客户零件名称",
|
|
|
+ this.customer_part_vesion = undefined; // "客户图纸号",
|
|
|
+ this.erp_code = undefined; // "NK零件号",
|
|
|
+ this.part_name = undefined; // "NK零件名称",
|
|
|
+ this.unit_config = undefined; // "辆份配置",
|
|
|
+ this.config_ratio = undefined; // "配置比",
|
|
|
+ this.product_category = undefined; // "产品类别",
|
|
|
+ this.process = undefined; // "制造工艺",
|
|
|
+ this.length = undefined; // "长",
|
|
|
+ this.width = undefined; // "宽",
|
|
|
+ this.height = undefined; // "高",
|
|
|
+ this.color = undefined; // "颜色",
|
|
|
+ this.color_config = undefined; // "光泽度",
|
|
|
+ this.part_type = undefined; // "自制/外购/支给(M/P/C)",
|
|
|
+ this.part_attribute = undefined; // "零件属性",
|
|
|
+ this.material_grade = undefined; // "材料牌号",
|
|
|
+ this.supplier = undefined; // "材料供应商",
|
|
|
+ this.unit = undefined; // "计量单位",
|
|
|
+ this.qty = undefined; // "标准用量",
|
|
|
+ this.technology_consume = undefined; // "工艺消耗",
|
|
|
+ this.nonperform_rate = undefined; // "不良率%",
|
|
|
+ this.manufacture_area = undefined; // "制造区域",
|
|
|
+ this.manufacture_report = undefined; // "制造单元",
|
|
|
+ this.manufature_equip = undefined; // "制造设备类(组)",
|
|
|
+ this.moldtooling_fixture = undefined; // "模具/工装治具",
|
|
|
+ this.cavities = undefined; // "模腔数/取数(pcs)",
|
|
|
+ this.production_cycle = undefined; // "制造周期(S)",
|
|
|
+ this.holding_number = undefined; // "持台人数",
|
|
|
+ this.single_piece = undefined; // "单件节拍(S)",
|
|
|
+ this.package_type = undefined; // "外包类型",
|
|
|
+ this.innerpackage_type = undefined; // "内包类型",
|
|
|
+ this.snp = undefined; // "SNP",
|
|
|
+ this.cycle_number = undefined; // "循环次数(次)",
|
|
|
+ this.supply_local = undefined; // "供货地信息",
|
|
|
+ this.supplier_distance = undefined; // "供货距离(KM)",
|
|
|
+ this.supply_code = undefined; // "供应商编码",
|
|
|
+ this.min_order = undefined; // "最小起订量",
|
|
|
+ this.remark = undefined; // "备注",
|
|
|
+ this.picture = undefined; // "简图",
|
|
|
+ this.parent_gridorder = undefined;
|
|
|
|
|
|
if (init) {
|
|
|
Object.assign(this, init);
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|