@hitsoft/uretim-yonetimi 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -300,6 +300,7 @@ class HitProductionOrdersComponent {
300
300
  }
301
301
  patchProductionOrder() {
302
302
  this.isLoading = true;
303
+ this.isEmriBarkoduGecerliMi = false;
303
304
  const productionOrderLines = this.productionOrderList.ProductionOrderLines.map(productionLine => {
304
305
  return new ProductionOrderLine$1(productionLine.ItemCode, productionLine.WarehouseCode, productionLine.Quantity, productionLine.Quantity, productionLine.Quantity, '', productionLine.BaseEntry, 0, [new BatchNumber$1(productionLine.BatchNumber, productionLine.Quantity)]);
305
306
  });
@@ -308,11 +309,11 @@ class HitProductionOrdersComponent {
308
309
  next: result => {
309
310
  if (result.isSuccessful) {
310
311
  this.confirmation.success('', 'İşlem başarılı!', this.options).subscribe(() => {
311
- this.clearAll();
312
312
  });
313
313
  }
314
314
  },
315
315
  });
316
+ this.clearAll();
316
317
  this.isLoading = false;
317
318
  }
318
319
  clearAll() {
@@ -631,6 +632,7 @@ class HitReceiptFromProductionsComponent {
631
632
  }
632
633
  async postReceiptFromProductions() {
633
634
  this.isLoading = true;
635
+ this.isProductionOrderValid = false;
634
636
  this.receiptFromProductionsPostDtoDocumentLine.batchNumbers = [
635
637
  this.receiptFromProductionsPostDtoBatchNumber,
636
638
  ];
@@ -655,6 +657,7 @@ class HitReceiptFromProductionsComponent {
655
657
  },
656
658
  error: () => {
657
659
  this.confirmation.status$.subscribe(() => {
660
+ this.clearAll();
658
661
  this.focusOnToplananMiktar();
659
662
  });
660
663
  },
@@ -990,6 +993,7 @@ class HitIssuesForProductionsComponent {
990
993
  return;
991
994
  }
992
995
  this.isLoading = true;
996
+ this.isEmriBarkoduGecerliMi = false;
993
997
  this.issuesForProductionPost.DocumentLines.forEach((x) => {
994
998
  x.BaseEntry = this.productionOrder.absoluteEntry;
995
999
  });
@@ -1012,6 +1016,7 @@ class HitIssuesForProductionsComponent {
1012
1016
  error: (e) => {
1013
1017
  this.confirmation.status$.subscribe({
1014
1018
  next: () => {
1019
+ this.clearAll();
1015
1020
  this.focusQRInput();
1016
1021
  }
1017
1022
  });