From d2bde436a6c7b0ae3ef7454718e3322835e4997f Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Fri, 12 Nov 2021 16:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=B1=9E=E6=80=A7name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../institution/facility/property-data/in/property-data-yg.ts | 2 ++ src/app/pages/left-domain/left-domain.component.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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()}}
+油品品号