@hitsoft/smart-warehouse 1.0.1
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/README.md +24 -0
- package/config/enums/index.d.ts +1 -0
- package/config/enums/route-names.d.ts +12 -0
- package/config/index.d.ts +5 -0
- package/config/providers/connector-params-route.provider.d.ts +8 -0
- package/config/providers/index.d.ts +7 -0
- package/config/providers/order-station-route.provider.d.ts +8 -0
- package/config/providers/orders-route.provider.d.ts +8 -0
- package/config/providers/quantity-correction-route.provider.d.ts +8 -0
- package/config/providers/route.provider.d.ts +8 -0
- package/config/providers/shelf-placement-route.provider.d.ts +8 -0
- package/config/providers/shelf-transfer-route.provider.d.ts +8 -0
- package/config/providers/shortages-route.provider.d.ts +8 -0
- package/config/providers/station.provider.d.ts +8 -0
- package/config/providers/stock-report.d.ts +8 -0
- package/config/public-api.d.ts +3 -0
- package/config/smart-warehouse-config.module.d.ts +8 -0
- package/esm2020/config/enums/index.mjs +2 -0
- package/esm2020/config/enums/route-names.mjs +2 -0
- package/esm2020/config/hitsoft-smart-warehouse-config.mjs +5 -0
- package/esm2020/config/providers/connector-params-route.provider.mjs +25 -0
- package/esm2020/config/providers/index.mjs +8 -0
- package/esm2020/config/providers/order-station-route.provider.mjs +25 -0
- package/esm2020/config/providers/orders-route.provider.mjs +25 -0
- package/esm2020/config/providers/quantity-correction-route.provider.mjs +25 -0
- package/esm2020/config/providers/route.provider.mjs +24 -0
- package/esm2020/config/providers/shelf-placement-route.provider.mjs +25 -0
- package/esm2020/config/providers/shelf-transfer-route.provider.mjs +25 -0
- package/esm2020/config/providers/shortages-route.provider.mjs +25 -0
- package/esm2020/config/providers/station.provider.mjs +25 -0
- package/esm2020/config/providers/stock-report.mjs +25 -0
- package/esm2020/config/public-api.mjs +4 -0
- package/esm2020/config/smart-warehouse-config.module.mjs +37 -0
- package/esm2020/hitsoft-smart-warehouse.mjs +5 -0
- package/esm2020/lib/components/connector-params/connector-params.component.mjs +182 -0
- package/esm2020/lib/components/connector-params/connector-params.module.mjs +41 -0
- package/esm2020/lib/components/order-station/order-station.component.mjs +160 -0
- package/esm2020/lib/components/order-station/order-station.module.mjs +57 -0
- package/esm2020/lib/components/orders/orders.component.mjs +445 -0
- package/esm2020/lib/components/orders/orders.module.mjs +75 -0
- package/esm2020/lib/components/quantity-correction/quantity-correction.component.mjs +231 -0
- package/esm2020/lib/components/quantity-correction/quantity-correction.module.mjs +41 -0
- package/esm2020/lib/components/shelf-placement/shelf-placement.component.mjs +297 -0
- package/esm2020/lib/components/shelf-placement/shelf-placement.module.mjs +66 -0
- package/esm2020/lib/components/shelf-transfer/shelf-transfer.component.mjs +146 -0
- package/esm2020/lib/components/shelf-transfer/shelf-transfer.module.mjs +41 -0
- package/esm2020/lib/components/shortages/shortages.component.mjs +75 -0
- package/esm2020/lib/components/shortages/shortages.module.mjs +42 -0
- package/esm2020/lib/components/smart-warehouse.component.mjs +18 -0
- package/esm2020/lib/components/stock-report/stock-report.component.mjs +29 -0
- package/esm2020/lib/components/stock-report/stock-report.module.mjs +42 -0
- package/esm2020/lib/guards/connector-params.guard.mjs +58 -0
- package/esm2020/lib/hit-proxy/connector-params/connector-params.service.mjs +27 -0
- package/esm2020/lib/hit-proxy/devexpress-query-builder/devexpress-load-options.model.mjs +2 -0
- package/esm2020/lib/hit-proxy/devexpress-query-builder/devexpress-query-builder.mjs +62 -0
- package/esm2020/lib/hit-proxy/inventory/inventory.service.mjs +21 -0
- package/esm2020/lib/hit-proxy/order-station/order-station.service.mjs +18 -0
- package/esm2020/lib/hit-proxy/orders/model.mjs +2 -0
- package/esm2020/lib/hit-proxy/orders/order.service.mjs +81 -0
- package/esm2020/lib/hit-proxy/quantity-correction/quantity-correction.service.mjs +47 -0
- package/esm2020/lib/hit-proxy/shortages/model.mjs +2 -0
- package/esm2020/lib/hit-proxy/shortages/shortages.service.mjs +26 -0
- package/esm2020/lib/hit-proxy/stations/station.service.mjs +86 -0
- package/esm2020/lib/hit-proxy/stock-report/stock-report.service.mjs +22 -0
- package/esm2020/lib/hit-proxy/stock-transfer/stock-transfer.service.mjs +21 -0
- package/esm2020/lib/hit-proxy/warehouse/warehouse.service.mjs +65 -0
- package/esm2020/lib/services/smart-warehouse.service.mjs +21 -0
- package/esm2020/lib/smart-warehouse-routing.module.mjs +79 -0
- package/esm2020/lib/smart-warehouse.module.mjs +34 -0
- package/esm2020/lib/stations/station.component.mjs +43 -0
- package/esm2020/lib/stations/station.module.mjs +42 -0
- package/esm2020/public-api.mjs +20 -0
- package/fesm2015/hitsoft-smart-warehouse-config.mjs +264 -0
- package/fesm2015/hitsoft-smart-warehouse-config.mjs.map +1 -0
- package/fesm2015/hitsoft-smart-warehouse.mjs +2577 -0
- package/fesm2015/hitsoft-smart-warehouse.mjs.map +1 -0
- package/fesm2020/hitsoft-smart-warehouse-config.mjs +264 -0
- package/fesm2020/hitsoft-smart-warehouse-config.mjs.map +1 -0
- package/fesm2020/hitsoft-smart-warehouse.mjs +2515 -0
- package/fesm2020/hitsoft-smart-warehouse.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/connector-params/connector-params.component.d.ts +44 -0
- package/lib/components/connector-params/connector-params.module.d.ts +13 -0
- package/lib/components/order-station/order-station.component.d.ts +31 -0
- package/lib/components/order-station/order-station.module.d.ts +16 -0
- package/lib/components/orders/orders.component.d.ts +63 -0
- package/lib/components/orders/orders.module.d.ts +17 -0
- package/lib/components/quantity-correction/quantity-correction.component.d.ts +52 -0
- package/lib/components/quantity-correction/quantity-correction.module.d.ts +16 -0
- package/lib/components/shelf-placement/shelf-placement.component.d.ts +93 -0
- package/lib/components/shelf-placement/shelf-placement.module.d.ts +17 -0
- package/lib/components/shelf-transfer/shelf-transfer.component.d.ts +26 -0
- package/lib/components/shelf-transfer/shelf-transfer.module.d.ts +16 -0
- package/lib/components/shortages/shortages.component.d.ts +25 -0
- package/lib/components/shortages/shortages.module.d.ts +17 -0
- package/lib/components/smart-warehouse.component.d.ts +10 -0
- package/lib/components/stock-report/stock-report.component.d.ts +16 -0
- package/lib/components/stock-report/stock-report.module.d.ts +17 -0
- package/lib/guards/connector-params.guard.d.ts +21 -0
- package/lib/hit-proxy/connector-params/connector-params.service.d.ts +46 -0
- package/lib/hit-proxy/devexpress-query-builder/devexpress-load-options.model.d.ts +8 -0
- package/lib/hit-proxy/devexpress-query-builder/devexpress-query-builder.d.ts +17 -0
- package/lib/hit-proxy/inventory/inventory.service.d.ts +22 -0
- package/lib/hit-proxy/order-station/order-station.service.d.ts +24 -0
- package/lib/hit-proxy/orders/model.d.ts +74 -0
- package/lib/hit-proxy/orders/order.service.d.ts +26 -0
- package/lib/hit-proxy/quantity-correction/quantity-correction.service.d.ts +88 -0
- package/lib/hit-proxy/shortages/model.d.ts +17 -0
- package/lib/hit-proxy/shortages/shortages.service.d.ts +13 -0
- package/lib/hit-proxy/stations/station.service.d.ts +25 -0
- package/lib/hit-proxy/stock-report/stock-report.service.d.ts +12 -0
- package/lib/hit-proxy/stock-transfer/stock-transfer.service.d.ts +19 -0
- package/lib/hit-proxy/warehouse/warehouse.service.d.ts +59 -0
- package/lib/services/smart-warehouse.service.d.ts +10 -0
- package/lib/smart-warehouse-routing.module.d.ts +7 -0
- package/lib/smart-warehouse.module.d.ts +13 -0
- package/lib/stations/station.component.d.ts +14 -0
- package/lib/stations/station.module.d.ts +17 -0
- package/package.json +45 -0
- package/public-api.d.ts +16 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface OrderStationCreateDto {
|
|
5
|
+
orderId: number;
|
|
6
|
+
stationCode: string;
|
|
7
|
+
eyeCode: string;
|
|
8
|
+
absBinEntry: number;
|
|
9
|
+
}
|
|
10
|
+
export interface OrderStatusDto {
|
|
11
|
+
DocEntry: number;
|
|
12
|
+
Status: number | null;
|
|
13
|
+
StatusText: string;
|
|
14
|
+
IsEligibleForMatching: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare class OrderStationService {
|
|
17
|
+
private restService;
|
|
18
|
+
apiName: string;
|
|
19
|
+
createOrderStation: (dto: OrderStationCreateDto) => Observable<string>;
|
|
20
|
+
getOrderStatus: (docEntry: number) => Observable<OrderStatusDto>;
|
|
21
|
+
constructor(restService: RestService);
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderStationService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrderStationService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export interface SapOrderDto {
|
|
2
|
+
DocEntry: number;
|
|
3
|
+
DocNum: number;
|
|
4
|
+
CardCode: string;
|
|
5
|
+
CardName: string;
|
|
6
|
+
DocDate: string;
|
|
7
|
+
DocDueDate: string;
|
|
8
|
+
DocTotal: number;
|
|
9
|
+
DocCur: string;
|
|
10
|
+
DocStatus: string;
|
|
11
|
+
NumAtCard: string;
|
|
12
|
+
Comments: string;
|
|
13
|
+
U_SWTalepTarihi: string;
|
|
14
|
+
U_SWDurum: string;
|
|
15
|
+
OwnerCode: number;
|
|
16
|
+
U_SWGonderildi: string;
|
|
17
|
+
U_SWStationCode: string;
|
|
18
|
+
U_SWEyeCode: string;
|
|
19
|
+
U_SWOrderType: string;
|
|
20
|
+
U_SWIsError: string;
|
|
21
|
+
U_SWErrorMessage: string;
|
|
22
|
+
DocumentLines: SapOrderLineDto[];
|
|
23
|
+
}
|
|
24
|
+
export interface SapOrderLineDto {
|
|
25
|
+
LineNum: number;
|
|
26
|
+
ItemCode: string;
|
|
27
|
+
ItemDescription: string;
|
|
28
|
+
Quantity: number;
|
|
29
|
+
Price: number;
|
|
30
|
+
LineTotal: number;
|
|
31
|
+
WarehouseCode: string;
|
|
32
|
+
ShipDate: string;
|
|
33
|
+
U_SonGorevId: number;
|
|
34
|
+
/** Tamamlanan BeeCell kutularından kümülatif olarak yazılan, fiilen teslim edilen miktar. */
|
|
35
|
+
U_SWTeslimMiktar: number | null;
|
|
36
|
+
}
|
|
37
|
+
export interface ReservationDto {
|
|
38
|
+
Code: string;
|
|
39
|
+
OrderDocEntry: number;
|
|
40
|
+
OrderDocNum: number;
|
|
41
|
+
ItemCode: string;
|
|
42
|
+
ItemName: string;
|
|
43
|
+
BinAbs: number;
|
|
44
|
+
BinCode: string;
|
|
45
|
+
BatchNumber: string;
|
|
46
|
+
Quantity: number;
|
|
47
|
+
WarehouseCode: string;
|
|
48
|
+
Status: string;
|
|
49
|
+
ITRDocEntry: number | null;
|
|
50
|
+
}
|
|
51
|
+
export interface ReservationShortDto {
|
|
52
|
+
Code: string;
|
|
53
|
+
OrderDocEntry: number;
|
|
54
|
+
OrderDocNum: number;
|
|
55
|
+
ItemCode: string;
|
|
56
|
+
ItemName: string;
|
|
57
|
+
RequestedQty: number;
|
|
58
|
+
ShortQty: number;
|
|
59
|
+
}
|
|
60
|
+
export interface ReservationOrderResult {
|
|
61
|
+
DocEntry: number;
|
|
62
|
+
DocNum: number;
|
|
63
|
+
Success: boolean;
|
|
64
|
+
Message: string;
|
|
65
|
+
Reservations: ReservationDto[];
|
|
66
|
+
Shorts: ReservationShortDto[];
|
|
67
|
+
}
|
|
68
|
+
export interface ReservationResultDto {
|
|
69
|
+
TotalOrders: number;
|
|
70
|
+
SuccessCount: number;
|
|
71
|
+
FailCount: number;
|
|
72
|
+
OrderResults: ReservationOrderResult[];
|
|
73
|
+
Summary: string;
|
|
74
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { DevexpressRestService } from '../devexpress-query-builder/devexpress-query-builder';
|
|
3
|
+
import { SapOrderDto, ReservationResultDto } from './model';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OrderService {
|
|
7
|
+
private restService;
|
|
8
|
+
private devexService;
|
|
9
|
+
apiName: string;
|
|
10
|
+
loadOrders: import("devextreme-aspnet-data-nojquery").CustomStore;
|
|
11
|
+
getAllOrders: () => Observable<SapOrderDto[]>;
|
|
12
|
+
getOrderByDocEntry: (docEntry: number) => Observable<SapOrderDto>;
|
|
13
|
+
startTask: (docEntries: number[]) => Observable<string>;
|
|
14
|
+
approveTask: (docEntries: number[], orderType?: string) => Observable<string>;
|
|
15
|
+
closeOrder: (docEntries: number[]) => Observable<string>;
|
|
16
|
+
reserveOrders: (docEntries: number[], warehouseCode: string) => Observable<ReservationResultDto>;
|
|
17
|
+
reserveAllOrders: (warehouseCode: string, orderType?: string, overwriteExisting?: boolean) => Observable<ReservationResultDto>;
|
|
18
|
+
cancelReservations: (docEntries: number[]) => Observable<ReservationResultDto>;
|
|
19
|
+
cancelAllReservations: (orderType?: string) => Observable<ReservationResultDto>;
|
|
20
|
+
updateTaskStatus: (docEntries: number[]) => Observable<string>;
|
|
21
|
+
getEmptyBoxes: (stationId: number, shelfId: number, boxCount: number, warehouseCode: string) => Observable<string>;
|
|
22
|
+
getHalfBoxes: (stationId: number, shelfId: number, boxCount: number, warehouseCode: string) => Observable<string>;
|
|
23
|
+
constructor(restService: RestService, devexService: DevexpressRestService);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface BinReservationInfoDto {
|
|
5
|
+
ReservationCode: string;
|
|
6
|
+
ItrDocEntry: number;
|
|
7
|
+
ItrLineNum: number;
|
|
8
|
+
OrderDocEntry: number;
|
|
9
|
+
OrderDocNum: number;
|
|
10
|
+
ItemCode: string;
|
|
11
|
+
ItemName: string;
|
|
12
|
+
BinAbs: number;
|
|
13
|
+
BinCode: string;
|
|
14
|
+
BatchNumber: string;
|
|
15
|
+
CurrentQuantity: number;
|
|
16
|
+
WarehouseCode: string;
|
|
17
|
+
}
|
|
18
|
+
export interface QuantityCorrectionDto {
|
|
19
|
+
ItrDocEntry: number;
|
|
20
|
+
ItrLineNum: number;
|
|
21
|
+
ReservationCode: string;
|
|
22
|
+
OrderDocEntry: number;
|
|
23
|
+
LineNum: number;
|
|
24
|
+
ItemCode: string;
|
|
25
|
+
NewQuantity: number;
|
|
26
|
+
UpdateType: string;
|
|
27
|
+
BinAbs: number;
|
|
28
|
+
BinCode: string;
|
|
29
|
+
BatchNumber: string;
|
|
30
|
+
WarehouseCode: string;
|
|
31
|
+
}
|
|
32
|
+
export interface BoxQuantityCorrectionPreviewDto {
|
|
33
|
+
TaskDraftDocEntry: number;
|
|
34
|
+
TaskDraftLineNum: number;
|
|
35
|
+
BinAbs: number;
|
|
36
|
+
BinCode: string;
|
|
37
|
+
ItemCode: string;
|
|
38
|
+
WarehouseCode: string;
|
|
39
|
+
CountedQuantity: number;
|
|
40
|
+
}
|
|
41
|
+
export interface BoxQuantityCorrectionPreviewResultDto {
|
|
42
|
+
ExpectedQuantity: number;
|
|
43
|
+
CountedQuantity: number;
|
|
44
|
+
Diff: number;
|
|
45
|
+
RequiresConfirmation: boolean;
|
|
46
|
+
ConfirmationMessage: string;
|
|
47
|
+
ReplacementBinCode: string;
|
|
48
|
+
ReplacementBinAbs: number;
|
|
49
|
+
ReplacementAvailableQuantity: number;
|
|
50
|
+
}
|
|
51
|
+
export interface BoxQuantityCorrectionApplyDto {
|
|
52
|
+
TaskDraftDocEntry: number;
|
|
53
|
+
TaskDraftLineNum: number;
|
|
54
|
+
BinAbs: number;
|
|
55
|
+
BinCode: string;
|
|
56
|
+
OrderDocEntry: number;
|
|
57
|
+
OrderDocNum: number;
|
|
58
|
+
ItemCode: string;
|
|
59
|
+
ItemDescription: string;
|
|
60
|
+
WarehouseCode: string;
|
|
61
|
+
CountedQuantity: number;
|
|
62
|
+
UseReplacementBox: boolean;
|
|
63
|
+
ReplacementBinCode: string;
|
|
64
|
+
ReplacementBinAbs: number;
|
|
65
|
+
}
|
|
66
|
+
export declare class QuantityCorrectionService {
|
|
67
|
+
private restService;
|
|
68
|
+
apiName: string;
|
|
69
|
+
/**
|
|
70
|
+
* Fiziksel BeeCell kutu barkoduna göre açık görev taslağı satırlarını getirir
|
|
71
|
+
*/
|
|
72
|
+
getLinesByBoxBarcode: (boxBarcode: string) => Observable<BinReservationInfoDto[]>;
|
|
73
|
+
/**
|
|
74
|
+
* "Raf ve Sipariş" modu — önizleme (hiçbir şey yazmaz)
|
|
75
|
+
*/
|
|
76
|
+
previewQuantityCorrection: (dto: BoxQuantityCorrectionPreviewDto) => Observable<BoxQuantityCorrectionPreviewResultDto>;
|
|
77
|
+
/**
|
|
78
|
+
* "Raf ve Sipariş" modu — kesin algoritmayı uygular
|
|
79
|
+
*/
|
|
80
|
+
applyQuantityCorrection: (dto: BoxQuantityCorrectionApplyDto) => Observable<string>;
|
|
81
|
+
/**
|
|
82
|
+
* "Sadece Sipariş" modu — stok hareketi yapmadan miktar düzeltme işlemini gerçekleştirir
|
|
83
|
+
*/
|
|
84
|
+
updateQuantity: (dto: QuantityCorrectionDto) => Observable<string>;
|
|
85
|
+
constructor(restService: RestService);
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuantityCorrectionService, never>;
|
|
87
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QuantityCorrectionService>;
|
|
88
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ReservationShortDto {
|
|
2
|
+
Code: string;
|
|
3
|
+
OrderDocEntry: number;
|
|
4
|
+
OrderDocNum: number;
|
|
5
|
+
CardCode: string;
|
|
6
|
+
CardName: string;
|
|
7
|
+
ItemCode: string;
|
|
8
|
+
ItemName: string;
|
|
9
|
+
RequestedQty: number;
|
|
10
|
+
ShortQty: number;
|
|
11
|
+
}
|
|
12
|
+
export interface ItemShortageSummaryDto {
|
|
13
|
+
ItemCode: string;
|
|
14
|
+
ItemName: string;
|
|
15
|
+
TotalShortQty: number;
|
|
16
|
+
OrderCount: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ReservationShortDto, ItemShortageSummaryDto } from './model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShortagesService {
|
|
6
|
+
private restService;
|
|
7
|
+
apiName: string;
|
|
8
|
+
getShortages: (orderType?: string) => Observable<ReservationShortDto[]>;
|
|
9
|
+
getShortagesSummary: (orderType?: string) => Observable<ItemShortageSummaryDto[]>;
|
|
10
|
+
constructor(restService: RestService);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShortagesService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShortagesService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import CustomStore from 'devextreme/data/custom_store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface StationEyeDto {
|
|
5
|
+
U_SWEyeCode: string;
|
|
6
|
+
U_SWEyeName: string;
|
|
7
|
+
}
|
|
8
|
+
export interface StationDto {
|
|
9
|
+
Code: string;
|
|
10
|
+
U_SWStationName: string;
|
|
11
|
+
SWSTATIONEYECollection: StationEyeDto[];
|
|
12
|
+
}
|
|
13
|
+
export declare class StationService {
|
|
14
|
+
private restService;
|
|
15
|
+
apiName: string;
|
|
16
|
+
private cache;
|
|
17
|
+
constructor(restService: RestService);
|
|
18
|
+
getAll: () => Promise<StationDto[]>;
|
|
19
|
+
createStation: (dto: StationDto) => Promise<string>;
|
|
20
|
+
updateStation: (dto: StationDto) => Promise<string>;
|
|
21
|
+
deleteStation: (code: string) => Promise<string>;
|
|
22
|
+
buildStore: () => CustomStore;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StationService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StationService>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { DevexpressRestService } from '../devexpress-query-builder/devexpress-query-builder';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StockReportService {
|
|
5
|
+
private restService;
|
|
6
|
+
private devexService;
|
|
7
|
+
apiName: string;
|
|
8
|
+
loadStockReports: import("devextreme-aspnet-data-nojquery").CustomStore;
|
|
9
|
+
constructor(restService: RestService, devexService: DevexpressRestService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockReportService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StockReportService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ShelfTransferDto {
|
|
5
|
+
fromBinAbsEntry: number;
|
|
6
|
+
toBinAbsEntry: number;
|
|
7
|
+
itemCode: string;
|
|
8
|
+
batchNumber: string;
|
|
9
|
+
warehouseCode: string;
|
|
10
|
+
quantity: number;
|
|
11
|
+
}
|
|
12
|
+
export declare class StockTransferService {
|
|
13
|
+
private restService;
|
|
14
|
+
apiName: string;
|
|
15
|
+
createShelfTransfer: (dto: ShelfTransferDto) => Observable<string>;
|
|
16
|
+
constructor(restService: RestService);
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StockTransferService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface WarehouseDto {
|
|
5
|
+
WhsCode: string;
|
|
6
|
+
WhsName: string;
|
|
7
|
+
}
|
|
8
|
+
export interface BinLocationDto {
|
|
9
|
+
AbsEntry: number;
|
|
10
|
+
BinCode: string;
|
|
11
|
+
Warehouse: string;
|
|
12
|
+
}
|
|
13
|
+
export interface BinLocationContentDto {
|
|
14
|
+
BinAbsEntry: number;
|
|
15
|
+
ItemCode: string;
|
|
16
|
+
ItemName: string;
|
|
17
|
+
BatchNumber: string;
|
|
18
|
+
OnHandQty: number;
|
|
19
|
+
WarehouseCode: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ItemInfoDto {
|
|
22
|
+
ItemCode: string;
|
|
23
|
+
ItemName: string;
|
|
24
|
+
}
|
|
25
|
+
export declare class WarehouseService {
|
|
26
|
+
private restService;
|
|
27
|
+
apiName: string;
|
|
28
|
+
/**
|
|
29
|
+
* U_SWSmartWhs = "Y" olan depoları getirir
|
|
30
|
+
*/
|
|
31
|
+
getSmartWarehouses: () => Observable<WarehouseDto[]>;
|
|
32
|
+
/**
|
|
33
|
+
* Seçilen depoya ait depo yerlerini (bin locations) getirir
|
|
34
|
+
*/
|
|
35
|
+
getBinLocationsByWarehouse: (whsCode: string) => Observable<BinLocationDto[]>;
|
|
36
|
+
/**
|
|
37
|
+
* Tüm akıllı depolardaki depo yerlerini getirir
|
|
38
|
+
*/
|
|
39
|
+
getAllBinLocations: () => Observable<BinLocationDto[]>;
|
|
40
|
+
/**
|
|
41
|
+
* Belirtilen depo yerindeki stok bilgisini getirir
|
|
42
|
+
*/
|
|
43
|
+
getBinLocationContent: (binAbsEntry: number) => Observable<BinLocationContentDto>;
|
|
44
|
+
/**
|
|
45
|
+
* Kalem koduna göre SAP'den kalem adını getirir
|
|
46
|
+
*/
|
|
47
|
+
getItemNameByCode: (itemCode: string) => Observable<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Barkod üzerinden SAP'den kalem bilgisini getirir
|
|
50
|
+
*/
|
|
51
|
+
getItemByBarcode: (barcode: string) => Observable<ItemInfoDto>;
|
|
52
|
+
/**
|
|
53
|
+
* BinCode üzerinden SAP'den depo yeri bilgisini (AbsEntry) getirir
|
|
54
|
+
*/
|
|
55
|
+
getBinLocationByBinCode: (binCode: string) => Observable<BinLocationDto>;
|
|
56
|
+
constructor(restService: RestService);
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WarehouseService, never>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WarehouseService>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SmartWarehouseService {
|
|
4
|
+
private restService;
|
|
5
|
+
apiName: string;
|
|
6
|
+
constructor(restService: RestService);
|
|
7
|
+
sample(): import("rxjs").Observable<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartWarehouseService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartWarehouseService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class SmartWarehouseRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartWarehouseRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartWarehouseRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartWarehouseRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NgModuleFactory, ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./components/smart-warehouse.component";
|
|
4
|
+
import * as i2 from "@abp/ng.core";
|
|
5
|
+
import * as i3 from "@abp/ng.theme.shared";
|
|
6
|
+
import * as i4 from "./smart-warehouse-routing.module";
|
|
7
|
+
export declare class SmartWarehouseModule {
|
|
8
|
+
static forChild(): ModuleWithProviders<SmartWarehouseModule>;
|
|
9
|
+
static forLazy(): NgModuleFactory<SmartWarehouseModule>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartWarehouseModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartWarehouseModule, [typeof i1.SmartWarehouseComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.SmartWarehouseRoutingModule], [typeof i1.SmartWarehouseComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartWarehouseModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { StationDto, StationService } from '../hit-proxy/stations/station.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class StationComponent implements OnInit {
|
|
6
|
+
private toasterService;
|
|
7
|
+
private stationService;
|
|
8
|
+
stationDataSource: any;
|
|
9
|
+
constructor(toasterService: ToasterService, stationService: StationService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onEyesChanged(station: StationDto): Promise<void>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StationComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StationComponent, "lib-station", never, {}, {}, never, never, false>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./station.component";
|
|
3
|
+
import * as i2 from "@abp/ng.core";
|
|
4
|
+
import * as i3 from "@abp/ng.theme.shared";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@volo/abp.commercial.ng.ui";
|
|
7
|
+
import * as i6 from "@ngx-validate/core";
|
|
8
|
+
import * as i7 from "@ng-bootstrap/ng-bootstrap";
|
|
9
|
+
import * as i8 from "devextreme-angular";
|
|
10
|
+
import * as i9 from "@abp/ng.components/page";
|
|
11
|
+
import * as i10 from "@angular/router";
|
|
12
|
+
export declare class StationModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StationModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StationModule, [typeof i1.StationComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.FormsModule, typeof i5.CommercialUiModule, typeof i6.NgxValidateCoreModule, typeof i7.NgbCollapseModule, typeof i7.NgbDatepickerModule, typeof i7.NgbDropdownModule, typeof i8.DxSelectBoxModule, typeof i9.PageModule, typeof i8.DxDataGridModule, typeof i10.RouterModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StationModule>;
|
|
16
|
+
}
|
|
17
|
+
export declare function loadStationModuleAsChild(): Promise<typeof StationModule>;
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hitsoft/smart-warehouse",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Erkul Smart Warehouse",
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"@angular/common": ">=9",
|
|
7
|
+
"@angular/core": ">=9",
|
|
8
|
+
"@abp/ng.core": ">=6.0.2",
|
|
9
|
+
"@abp/ng.theme.shared": ">=6.0.2",
|
|
10
|
+
"devextreme": "^22.1.4",
|
|
11
|
+
"devextreme-angular": "^22.1.4",
|
|
12
|
+
"devextreme-aspnet-data-nojquery": "^2.8.6"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"tslib": "^2.1.0"
|
|
16
|
+
},
|
|
17
|
+
"module": "fesm2015/hitsoft-smart-warehouse.mjs",
|
|
18
|
+
"es2020": "fesm2020/hitsoft-smart-warehouse.mjs",
|
|
19
|
+
"esm2020": "esm2020/hitsoft-smart-warehouse.mjs",
|
|
20
|
+
"fesm2020": "fesm2020/hitsoft-smart-warehouse.mjs",
|
|
21
|
+
"fesm2015": "fesm2015/hitsoft-smart-warehouse.mjs",
|
|
22
|
+
"typings": "index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
"./package.json": {
|
|
25
|
+
"default": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./index.d.ts",
|
|
29
|
+
"esm2020": "./esm2020/hitsoft-smart-warehouse.mjs",
|
|
30
|
+
"es2020": "./fesm2020/hitsoft-smart-warehouse.mjs",
|
|
31
|
+
"es2015": "./fesm2015/hitsoft-smart-warehouse.mjs",
|
|
32
|
+
"node": "./fesm2015/hitsoft-smart-warehouse.mjs",
|
|
33
|
+
"default": "./fesm2020/hitsoft-smart-warehouse.mjs"
|
|
34
|
+
},
|
|
35
|
+
"./config": {
|
|
36
|
+
"types": "./config/index.d.ts",
|
|
37
|
+
"esm2020": "./esm2020/config/hitsoft-smart-warehouse-config.mjs",
|
|
38
|
+
"es2020": "./fesm2020/hitsoft-smart-warehouse-config.mjs",
|
|
39
|
+
"es2015": "./fesm2015/hitsoft-smart-warehouse-config.mjs",
|
|
40
|
+
"node": "./fesm2015/hitsoft-smart-warehouse-config.mjs",
|
|
41
|
+
"default": "./fesm2020/hitsoft-smart-warehouse-config.mjs"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"sideEffects": false
|
|
45
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './lib/components/smart-warehouse.component';
|
|
2
|
+
export * from './lib/services/smart-warehouse.service';
|
|
3
|
+
export * from './lib/smart-warehouse.module';
|
|
4
|
+
export * from './lib/components/orders/orders.component';
|
|
5
|
+
export * from './lib/components/orders/orders.module';
|
|
6
|
+
export * from './lib/components/shelf-placement/shelf-placement.component';
|
|
7
|
+
export * from './lib/components/shelf-placement/shelf-placement.module';
|
|
8
|
+
export * from './lib/hit-proxy/orders/order.service';
|
|
9
|
+
export * from './lib/hit-proxy/orders/model';
|
|
10
|
+
export * from './lib/hit-proxy/warehouse/warehouse.service';
|
|
11
|
+
export * from './lib/components/order-station/order-station.component';
|
|
12
|
+
export * from './lib/components/order-station/order-station.module';
|
|
13
|
+
export * from './lib/hit-proxy/order-station/order-station.service';
|
|
14
|
+
export * from './lib/components/connector-params/connector-params.component';
|
|
15
|
+
export * from './lib/components/connector-params/connector-params.module';
|
|
16
|
+
export * from './lib/hit-proxy/connector-params/connector-params.service';
|