fix bug
This commit is contained in:
@ -162,7 +162,7 @@
|
||||
nzTheme="fill" class="mr-xs"></i>通过
|
||||
</label>
|
||||
<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>未认证: {{detailData?.esignCheckMsg}}
|
||||
</label>
|
||||
</p>
|
||||
</sv-title>
|
||||
|
||||
@ -139,7 +139,7 @@
|
||||
nzTheme="fill" class="mr-xs"></i>通过
|
||||
</label>
|
||||
<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>未认证: {{detailData?.esignCheckMsg}}
|
||||
</label>
|
||||
</p>
|
||||
</sv-title>
|
||||
|
||||
@ -85,6 +85,17 @@
|
||||
<nz-option *ngFor="let i of contenCarLength" [nzLabel]="i.label" [nzValue]="i.value"></nz-option>
|
||||
</nz-select>
|
||||
</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="是否为挂车">
|
||||
<nz-select
|
||||
[(ngModel)]="detailData.isTrailer"
|
||||
@ -210,7 +221,7 @@
|
||||
</sv-container>
|
||||
|
||||
<sv-container col="3">
|
||||
<sv label="载重(吨)">
|
||||
<sv label="核定载质量(吨)">
|
||||
<input
|
||||
nz-input
|
||||
type="text"
|
||||
@ -230,6 +241,16 @@
|
||||
[placeholder]="isEdit ? '' : '-'"
|
||||
/>
|
||||
</sv>
|
||||
<sv label="总质量">
|
||||
<input
|
||||
nz-input
|
||||
type="text"
|
||||
[(ngModel)]="detailData.carTotalLoad"
|
||||
[readonly]="!isEdit"
|
||||
[nzBorderless]="!isEdit"
|
||||
[placeholder]="isEdit ? '' : '-'"
|
||||
/>
|
||||
</sv>
|
||||
<sv label="所有人">
|
||||
<input
|
||||
nz-input
|
||||
|
||||
@ -31,6 +31,7 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
|
||||
contenCarNoColor: any;
|
||||
contencarModel: any;
|
||||
contenCarLength: any;
|
||||
contenCarEnergy: any;
|
||||
isEdit = false;
|
||||
approvalOpinion = '';
|
||||
uploadURl = apiConf.waterFileUpload;
|
||||
@ -243,6 +244,7 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
|
||||
this.Serveice('car:color');
|
||||
this.Serveice('car:model');
|
||||
this.Serveice('car:length');
|
||||
this.Serveice('car:energy:type');
|
||||
}
|
||||
Serveice(param: any) {
|
||||
let value: any;
|
||||
@ -257,6 +259,8 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
|
||||
this.contencarModel = res;
|
||||
} else if (param === 'car:length') {
|
||||
this.contenCarLength = res;
|
||||
} else if (param === 'car:energy:type') {
|
||||
this.contenCarEnergy = res;
|
||||
}
|
||||
});
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user