This commit is contained in:
wangshiming
2022-04-29 10:00:15 +08:00
parent a37f26ef6c
commit 86a10c1757
4 changed files with 28 additions and 3 deletions

View File

@ -162,7 +162,7 @@
nzTheme="fill" class="mr-xs"></i>通过 nzTheme="fill" class="mr-xs"></i>通过
</label> </label>
<label *ngIf="detailData?.esignCheckStatus === 2" style="color: #1890ff"><i nz-icon nzType="close-circle" <label *ngIf="detailData?.esignCheckStatus === 2" style="color: #1890ff"><i nz-icon nzType="close-circle"
nzTheme="fill" class="mr-xs"></i>未认证 nzTheme="fill" class="mr-xs"></i>未认证&nbsp;&nbsp;{{detailData?.esignCheckMsg}}
</label> </label>
</p> </p>
</sv-title> </sv-title>

View File

@ -139,7 +139,7 @@
nzTheme="fill" class="mr-xs"></i>通过 nzTheme="fill" class="mr-xs"></i>通过
</label> </label>
<label *ngIf="detailData?.esignCheckStatus===2" style="color: #1890ff;"><i nz-icon nzType="close-circle" <label *ngIf="detailData?.esignCheckStatus===2" style="color: #1890ff;"><i nz-icon nzType="close-circle"
nzTheme="fill" class="mr-xs"></i>未认证 nzTheme="fill" class="mr-xs"></i>未认证&nbsp;&nbsp;{{detailData?.esignCheckMsg}}
</label> </label>
</p> </p>
</sv-title> </sv-title>

View File

@ -85,6 +85,17 @@
<nz-option *ngFor="let i of contenCarLength" [nzLabel]="i.label" [nzValue]="i.value"></nz-option> <nz-option *ngFor="let i of contenCarLength" [nzLabel]="i.label" [nzValue]="i.value"></nz-option>
</nz-select> </nz-select>
</sv> </sv>
<sv label="车辆能源类型">
<nz-select
[(ngModel)]="detailData.carEnergyType"
[nzPlaceHolder]="isEdit ? '' : '-'"
[nzBorderless]="!isEdit"
[nzShowArrow]="isEdit"
[nzDisabled]="!isEdit"
>
<nz-option *ngFor="let i of contenCarEnergy" [nzLabel]="i.label" [nzValue]="i.value"></nz-option>
</nz-select>
</sv>
<sv label="是否为挂车"> <sv label="是否为挂车">
<nz-select <nz-select
[(ngModel)]="detailData.isTrailer" [(ngModel)]="detailData.isTrailer"
@ -210,7 +221,7 @@
</sv-container> </sv-container>
<sv-container col="3"> <sv-container col="3">
<sv label="载重(吨)"> <sv label="核定载质量(吨)">
<input <input
nz-input nz-input
type="text" type="text"
@ -230,6 +241,16 @@
[placeholder]="isEdit ? '' : '-'" [placeholder]="isEdit ? '' : '-'"
/> />
</sv> </sv>
<sv label="总质量">
<input
nz-input
type="text"
[(ngModel)]="detailData.carTotalLoad"
[readonly]="!isEdit"
[nzBorderless]="!isEdit"
[placeholder]="isEdit ? '' : '-'"
/>
</sv>
<sv label="所有人"> <sv label="所有人">
<input <input
nz-input nz-input

View File

@ -31,6 +31,7 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
contenCarNoColor: any; contenCarNoColor: any;
contencarModel: any; contencarModel: any;
contenCarLength: any; contenCarLength: any;
contenCarEnergy: any;
isEdit = false; isEdit = false;
approvalOpinion = ''; approvalOpinion = '';
uploadURl = apiConf.waterFileUpload; uploadURl = apiConf.waterFileUpload;
@ -243,6 +244,7 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
this.Serveice('car:color'); this.Serveice('car:color');
this.Serveice('car:model'); this.Serveice('car:model');
this.Serveice('car:length'); this.Serveice('car:length');
this.Serveice('car:energy:type');
} }
Serveice(param: any) { Serveice(param: any) {
let value: any; let value: any;
@ -257,6 +259,8 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
this.contencarModel = res; this.contencarModel = res;
} else if (param === 'car:length') { } else if (param === 'car:length') {
this.contenCarLength = res; this.contenCarLength = res;
} else if (param === 'car:energy:type') {
this.contenCarEnergy = res;
} }
}); });
return value; return value;