Browse Source

油泵类型字段修改

dev
cpf 3 years ago
parent
commit
64c99c5c33
  1. 14
      src/app/pages/left-domain/left-domain.component.html
  2. 1
      src/app/pages/left-domain/left-domain.component.ts

14
src/app/pages/left-domain/left-domain.component.html

@ -68,19 +68,12 @@
<p>油枪数量</p> <p>油枪数量</p>
<p>油品品号</p> <p>油品品号</p>
<p class="overflowP" id="title{{item.modelInfo.key}}">油枪编号</p> <p class="overflowP" id="title{{item.modelInfo.key}}">油枪编号</p>
<p>油泵类型</p>
</div> </div>
<div class="tableContent"> <div class="tableContent">
<p [title]="item.getPropertyData().brand"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().brand" (click)="stopBubbling($event)"></p> <p [title]="item.getPropertyData().brand"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().brand" (click)="stopBubbling($event)"></p>
<p [title]="item.getPropertyData().oilGunNum"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().oilGunNum" (click)="stopBubbling($event)"></p> <p [title]="item.getPropertyData().oilGunNum"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().oilGunNum" (click)="stopBubbling($event)"></p>
<p [title]="item.getPropertyData().oilProductNo"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().oilProductNo" (click)="stopBubbling($event)"></p> <p [title]="item.getPropertyData().oilProductNo"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().oilProductNo" (click)="stopBubbling($event)"></p>
<p [title]="item.getPropertyData().oilGunNo" class="overflowP" id="content{{item.modelInfo.key}}"><textarea nz-input nzAutosize id="num{{item.modelInfo.key}}" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().oilGunNo" (click)="stopBubbling($event)" (input)="textInput(item)"></textarea></p> <p [title]="item.getPropertyData().oilGunNo" class="overflowP" id="content{{item.modelInfo.key}}"><textarea nz-input nzAutosize id="num{{item.modelInfo.key}}" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().oilGunNo" (click)="stopBubbling($event)" (input)="textInput(item)"></textarea></p>
<p style="padding-left: 8px;" (click)="stopBubbling($event)">
<nz-select class="tableSelect" [nzBorderless]="true" [nzDisabled]="!editMode" [(ngModel)]="item.getPropertyData().oilPumpType">
<nz-option nzValue="zxb" nzLabel="自吸泵"></nz-option>
<nz-option nzValue="qyb" nzLabel="潜油泵"></nz-option>
</nz-select>
</p>
</div> </div>
</div> </div>
</div> </div>
@ -98,6 +91,7 @@
<p>安全容积</p> <p>安全容积</p>
<p>罐区</p> <p>罐区</p>
<p>油罐类型</p> <p>油罐类型</p>
<p>油泵类型</p>
</div> </div>
<div class="tableContent"> <div class="tableContent">
<p [title]="item.getPropertyData().oilProductNo"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().oilProductNo" (click)="stopBubbling($event)"></p> <p [title]="item.getPropertyData().oilProductNo"><input type="text" class="tableInput" [disabled]="!editMode" [(ngModel)]="item.getPropertyData().oilProductNo" (click)="stopBubbling($event)"></p>
@ -111,6 +105,12 @@
<nz-option nzValue="dcg" nzLabel="单层罐+防渗罐池"></nz-option> <nz-option nzValue="dcg" nzLabel="单层罐+防渗罐池"></nz-option>
</nz-select> </nz-select>
</p> </p>
<p style="padding-left: 8px;" (click)="stopBubbling($event)">
<nz-select class="tableSelect" [nzBorderless]="true" [nzDisabled]="!editMode" [(ngModel)]="item.getPropertyData().oilPumpType">
<nz-option nzValue="zxb" nzLabel="自吸泵"></nz-option>
<nz-option nzValue="qyb" nzLabel="潜油泵"></nz-option>
</nz-select>
</p>
</div> </div>
</div> </div>
</div> </div>

1
src/app/pages/left-domain/left-domain.component.ts

@ -88,6 +88,7 @@ export class LeftDomainComponent implements OnInit {
} }
}) })
this.FacilityList = list this.FacilityList = list
console.log(this.FacilityList[0].getPropertyData(),987)
this.selectFacilityId = null this.selectFacilityId = null
if (this.beforeFence === 1 || this.beforeFence === 2 || this.beforeFence === 8) { //加油机/油罐设备/阀门 if (this.beforeFence === 1 || this.beforeFence === 2 || this.beforeFence === 8) { //加油机/油罐设备/阀门
this.FacilityList.forEach(item => { this.FacilityList.forEach(item => {

Loading…
Cancel
Save