#2314 Vorgangs ID im Bearbeiten Ansicht falsch

This commit is contained in:
Lorenz Hilpert
2021-10-21 16:30:10 +02:00
parent 744ee451cf
commit a4a39f643c
2 changed files with 2 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
</div>
<ui-form-control label="Vorgang-ID" variant="inline" statusLabel="Nicht Änderbar">
<input uiInput formControlName="orderId" />
<input uiInput formControlName="orderNumber" />
</ui-form-control>
<ui-form-control label="Bestelldatum" variant="inline" statusLabel="Nicht Änderbar">

View File

@@ -105,6 +105,7 @@ export class SharedGoodsInOutOrderEditComponent implements OnChanges, OnDestroy
const fb = this.fb;
this.control = fb.group({
orderId: fb.control({ value: items[0].orderId, disabled: true }),
orderNumber: fb.control({ value: items[0].orderNumber, disabled: true }),
orderDate: fb.control({ value: this.datePipe.transform(items[0].orderDate), disabled: true }),
clientChannel: fb.control({ value: this.environmentChannelPipe.transform(items[0].clientChannel), disabled: true }),
buyerNumber: fb.control({ value: items[0].buyerNumber, disabled: true }),