@hitsoft/uretim-yonetimi 1.0.45 → 1.0.46
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.
- package/esm2020/lib/components/hit-filling-control/hit-filling-control.component.mjs +19 -1
- package/esm2020/lib/components/hit-filling-receipt-from-production/hit-filling-receipt-from-production.component.mjs +122 -47
- package/esm2020/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.mjs +47 -13
- package/esm2020/lib/hit-proxy/hit-filling-receipt-from-production/hit-filling-receipt-from-production.service.mjs +5 -1
- package/esm2020/lib/hit-proxy/models.mjs +34 -8
- package/fesm2015/hitsoft-uretim-yonetimi.mjs +223 -66
- package/fesm2015/hitsoft-uretim-yonetimi.mjs.map +1 -1
- package/fesm2020/hitsoft-uretim-yonetimi.mjs +222 -66
- package/fesm2020/hitsoft-uretim-yonetimi.mjs.map +1 -1
- package/lib/components/hit-filling-control/hit-filling-control.component.d.ts +1 -0
- package/lib/components/hit-filling-receipt-from-production/hit-filling-receipt-from-production.component.d.ts +15 -1
- package/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.d.ts +3 -0
- package/lib/hit-proxy/hit-filling-receipt-from-production/hit-filling-receipt-from-production.service.d.ts +14 -4
- package/lib/hit-proxy/models.d.ts +5 -2
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ export declare class HitFillingControlComponent {
|
|
|
21
21
|
qrCode: string;
|
|
22
22
|
lines: FillingControlLine[];
|
|
23
23
|
isDataLoadedFromDb: boolean;
|
|
24
|
+
private scannedBarcodeKeys;
|
|
24
25
|
constructor(service: HitFillingControlService, confirmation: ConfirmationService, ngZone: NgZone);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
ngAfterViewInit(): void;
|
|
@@ -19,15 +19,29 @@ export declare class HitFillingReceiptFromProductionComponent {
|
|
|
19
19
|
paletTipleri: string[];
|
|
20
20
|
koliAdet: number;
|
|
21
21
|
toplamMiktar: number;
|
|
22
|
+
pendingOperationId: string;
|
|
23
|
+
operationStatusMessage: string;
|
|
24
|
+
isCheckingOperationStatus: boolean;
|
|
25
|
+
private readonly destroy$;
|
|
26
|
+
private statusTimer;
|
|
27
|
+
private statusCheckFailures;
|
|
28
|
+
private readonly pendingStorageKey;
|
|
29
|
+
private readonly errorDialogOptions;
|
|
22
30
|
constructor(service: HitFillingReceiptFromProductionService, confirmation: ConfirmationService, ngZone: NgZone);
|
|
23
31
|
ngOnInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
24
33
|
ngAfterViewInit(): void;
|
|
25
34
|
getProductionOrder(): Promise<void>;
|
|
26
35
|
onPaletTipiChange(): void;
|
|
27
36
|
onKoliAdetChange(): void;
|
|
28
37
|
calculateTotalQuantity(): void;
|
|
29
38
|
save(): Promise<void>;
|
|
30
|
-
|
|
39
|
+
private checkOperationStatus;
|
|
40
|
+
private scheduleStatusCheck;
|
|
41
|
+
refreshOperationStatus(): void;
|
|
42
|
+
private handleOperationStatus;
|
|
43
|
+
private finishPendingOperation;
|
|
44
|
+
private newOperationId;
|
|
31
45
|
calcRowIndex: (row: ReceiptHistoryItemDto) => number;
|
|
32
46
|
calcDocStatus: (row: ReceiptHistoryItemDto) => string;
|
|
33
47
|
formatNumber: (value: number) => string;
|
|
@@ -33,10 +33,13 @@ export declare class HitIssuesForProductionsComponent implements OnInit, AfterVi
|
|
|
33
33
|
productionOrder: GetProductionOrderDto;
|
|
34
34
|
issuesForProductionPost: IssuesForProductionPostDto;
|
|
35
35
|
unitOfMeasure: string;
|
|
36
|
+
private scannedBarcodeKeys;
|
|
37
|
+
private initialBatchNumbers;
|
|
36
38
|
getProductionOrder(): Promise<void>;
|
|
37
39
|
parseAndAddQR(): Promise<void>;
|
|
38
40
|
postIssuesForProduction(): Promise<void>;
|
|
39
41
|
clearAll(): void;
|
|
42
|
+
private resetIssueGrid;
|
|
40
43
|
warehouses: Warehouse[];
|
|
41
44
|
getWarehouses(): void;
|
|
42
45
|
protected readonly HitHelper: typeof HitHelper;
|
|
@@ -37,13 +37,22 @@ export interface WorkOrderLineDto {
|
|
|
37
37
|
batchNumber: string;
|
|
38
38
|
}
|
|
39
39
|
export interface CreateFillingReceiptDto {
|
|
40
|
+
operationId: string;
|
|
40
41
|
docEntry: number;
|
|
41
42
|
palletType: string;
|
|
42
43
|
koliCount?: number;
|
|
43
|
-
totalQuantity
|
|
44
|
-
warehouseCode
|
|
44
|
+
totalQuantity?: number;
|
|
45
|
+
warehouseCode?: string;
|
|
46
|
+
batchNumber?: string;
|
|
47
|
+
componentsToConsume?: ComponentConsumptionDto[];
|
|
48
|
+
}
|
|
49
|
+
export interface ReceiptOperationStatusDto {
|
|
50
|
+
operationId: string;
|
|
51
|
+
state: 'Posting' | 'Completed' | 'Failed' | 'Unknown' | 'Inconsistent';
|
|
45
52
|
batchNumber: string;
|
|
46
|
-
|
|
53
|
+
issueDocEntry?: number;
|
|
54
|
+
receiptDocEntry?: number;
|
|
55
|
+
error?: string;
|
|
47
56
|
}
|
|
48
57
|
export interface ComponentConsumptionDto {
|
|
49
58
|
itemCode: string;
|
|
@@ -58,7 +67,8 @@ export declare class HitFillingReceiptFromProductionService {
|
|
|
58
67
|
protected readonly resourceEndpoint: string;
|
|
59
68
|
constructor(restService: RestService);
|
|
60
69
|
getWorkOrderInfo: (docEntry: number) => import("rxjs").Observable<ResultBase<GetWorkOrderInfoDto>>;
|
|
61
|
-
createReceipt: (input: CreateFillingReceiptDto) => import("rxjs").Observable<ResultBase<
|
|
70
|
+
createReceipt: (input: CreateFillingReceiptDto) => import("rxjs").Observable<ResultBase<ReceiptOperationStatusDto>>;
|
|
71
|
+
getOperationStatus: (operationId: string) => import("rxjs").Observable<ResultBase<ReceiptOperationStatusDto>>;
|
|
62
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<HitFillingReceiptFromProductionService, never>;
|
|
63
73
|
static ɵprov: i0.ɵɵInjectableDeclaration<HitFillingReceiptFromProductionService>;
|
|
64
74
|
}
|
|
@@ -6,7 +6,8 @@ export declare class ResultBase<T> {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class HitHelper {
|
|
8
8
|
static getMeasurementFormatted(suffix: string): string;
|
|
9
|
-
static getMeasurementFormattedWithLocalization(value: number, unit: string): string;
|
|
9
|
+
static getMeasurementFormattedWithLocalization(value: number | string | null | undefined, unit: string): string;
|
|
10
|
+
private static toNumericValue;
|
|
10
11
|
static getFormattedErrors(errors: string[]): string;
|
|
11
12
|
static parseQR(barkod: string): Hammadde | null;
|
|
12
13
|
}
|
|
@@ -17,5 +18,7 @@ export declare class Hammadde {
|
|
|
17
18
|
weightGr: number;
|
|
18
19
|
weightKg: number;
|
|
19
20
|
terminalCode: string;
|
|
20
|
-
|
|
21
|
+
workOrderNo: string;
|
|
22
|
+
weighingSequenceNo: string;
|
|
23
|
+
constructor(chemicalCode: string, lotNumber: string, expirationDate: string, weightGr: number, terminalCode: string, workOrderNo?: string, weighingSequenceNo?: string);
|
|
21
24
|
}
|