You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
1.2 KiB
20 lines
1.2 KiB
<crud-template #$crud [defination]="defination" [addable]="false" [selectable]="false" [deletable]="false" [api]="'stationstatus'" [error]="error">
|
|
<ng-template #$id let-form>
|
|
<mat-form-field [formGroup]="form">
|
|
<mat-label>{{ 'routes.wcs.stationstatus.stationCode' | translate }}</mat-label>
|
|
<input matInput formControlName="id" readonly>
|
|
</mat-form-field>
|
|
</ng-template>
|
|
<ng-template #$stationType let-form let-data="data">
|
|
<mat-form-field [formGroup]="form">
|
|
<mat-label>{{ 'routes.wcs.stationstatus.stationType' | translate }}</mat-label>
|
|
<mat-select formControlName="stationType">
|
|
<mat-option [value]="data.stationType" *ngIf="data.stationType">{{data.stationType}}</mat-option>
|
|
<!-- <mat-option [value]="'入库'" >{{'routes.wcs.stationstatus.in'|translate}}</mat-option>
|
|
<mat-option [value]="'出库'" >{{'routes.wcs.stationstatus.out'|translate}}</mat-option> -->
|
|
<mat-option [value]="data.stationType=='入库'?'出库':'入库'">{{data.stationType=='入库'?'出库':'入库' }}</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</ng-template>
|
|
|
|
</crud-template>
|