diff --git a/src/app/babylon/model/data/institution/facility/property-data/in/property-data-yg.ts b/src/app/babylon/model/data/institution/facility/property-data/in/property-data-yg.ts index a491273..41892e3 100644 --- a/src/app/babylon/model/data/institution/facility/property-data/in/property-data-yg.ts +++ b/src/app/babylon/model/data/institution/facility/property-data/in/property-data-yg.ts @@ -16,6 +16,7 @@ export class PropertyData_YG extends PropertyData_Base { constructor(key: string,oilProductNo: string,oilTankVolume: string,safeVolume: string,quantity: string,tankFarm: string,oilTankType: string) { super(key, FacilityType.JY_YG); + this.name = "未命名"; this.oilProductNo = oilProductNo this.oilTankVolume = oilTankVolume this.safeVolume = safeVolume @@ -26,6 +27,7 @@ export class PropertyData_YG extends PropertyData_Base { clone(key: string) { let result = new PropertyData_YG(key,this.oilProductNo,this.oilTankVolume,this.safeVolume,this.quantity,this.tankFarm,this.oilTankType); + result.name = this.name; return result; } diff --git a/src/app/pages/left-domain/left-domain.component.html b/src/app/pages/left-domain/left-domain.component.html index c62069f..c5b558b 100644 --- a/src/app/pages/left-domain/left-domain.component.html +++ b/src/app/pages/left-domain/left-domain.component.html @@ -19,7 +19,7 @@
{{item.getName()}}
+品牌
@@ -47,7 +47,7 @@{{item.getName()}}
+油品品号