@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
package/index.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { ConnectorParamsService, SaveConnectorParamsDto } from '../../hit-proxy/connector-params/connector-params.service';
|
|
5
|
+
import { ConnectorParamsGuard } from '../../guards/connector-params.guard';
|
|
6
|
+
import { WarehouseService, WarehouseDto, BinLocationDto } from '../../hit-proxy/warehouse/warehouse.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
interface ErpOption {
|
|
9
|
+
value: string;
|
|
10
|
+
label: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class ConnectorParamsComponent implements OnInit {
|
|
13
|
+
private connectorParamsService;
|
|
14
|
+
private toasterService;
|
|
15
|
+
private guard;
|
|
16
|
+
private router;
|
|
17
|
+
private route;
|
|
18
|
+
private warehouseService;
|
|
19
|
+
erpOptions: ErpOption[];
|
|
20
|
+
warehouses: WarehouseDto[];
|
|
21
|
+
binLocations: BinLocationDto[];
|
|
22
|
+
isLoadingBinLocations: boolean;
|
|
23
|
+
form: SaveConnectorParamsDto;
|
|
24
|
+
passwordSet: boolean;
|
|
25
|
+
beeCellPasswordSet: boolean;
|
|
26
|
+
isLoading: boolean;
|
|
27
|
+
isSaving: boolean;
|
|
28
|
+
constructor(connectorParamsService: ConnectorParamsService, toasterService: ToasterService, guard: ConnectorParamsGuard, router: Router, route: ActivatedRoute, warehouseService: WarehouseService);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
loadData(): void;
|
|
31
|
+
get isCurrentFromWhsInList(): boolean;
|
|
32
|
+
get isCurrentWhsInList(): boolean;
|
|
33
|
+
get isCurrentDummyBoxInList(): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Kaynak Depo seçimi değiştiğinde çalışır: Dummy Kasa combobox'ını seçilen deponun
|
|
36
|
+
* depo yerleriyle doldurur. Depo değiştiği için önceki depoya ait seçim artık geçerli değil.
|
|
37
|
+
*/
|
|
38
|
+
onFromWarehouseChange(whsCode: string): void;
|
|
39
|
+
private loadBinLocations;
|
|
40
|
+
save(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectorParamsComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConnectorParamsComponent, "lib-connector-params", never, {}, {}, never, never, false>;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./connector-params.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 "@abp/ng.components/page";
|
|
7
|
+
import * as i6 from "@angular/router";
|
|
8
|
+
export declare class ConnectorParamsModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectorParamsModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConnectorParamsModule, [typeof i1.ConnectorParamsComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.FormsModule, typeof i5.PageModule, typeof i6.RouterModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConnectorParamsModule>;
|
|
12
|
+
}
|
|
13
|
+
export declare function loadConnectorParamsModuleAsChild(): Promise<typeof ConnectorParamsModule>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { OrderStationService, OrderStatusDto } from '../../hit-proxy/order-station/order-station.service';
|
|
3
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OrderStationComponent {
|
|
6
|
+
private orderStationService;
|
|
7
|
+
private toasterService;
|
|
8
|
+
stationInputRef: ElementRef<HTMLInputElement>;
|
|
9
|
+
shelfInputRef: ElementRef<HTMLInputElement>;
|
|
10
|
+
binInputRef: ElementRef<HTMLInputElement>;
|
|
11
|
+
orderInputRef: ElementRef<HTMLInputElement>;
|
|
12
|
+
stationCode: string;
|
|
13
|
+
eyeCode: string;
|
|
14
|
+
absBinEntry: string;
|
|
15
|
+
orderId: string;
|
|
16
|
+
isSaving: boolean;
|
|
17
|
+
isCheckingOrder: boolean;
|
|
18
|
+
orderStatus: OrderStatusDto | null;
|
|
19
|
+
constructor(orderStationService: OrderStationService, toasterService: ToasterService);
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
onStationScanned(): void;
|
|
22
|
+
onShelfScanned(): void;
|
|
23
|
+
onBinScanned(): void;
|
|
24
|
+
onOrderChanged(): void;
|
|
25
|
+
onOrderScanned(): void;
|
|
26
|
+
private checkOrderStatus;
|
|
27
|
+
onSave(): void;
|
|
28
|
+
onClear(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderStationComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderStationComponent, "lib-order-station", never, {}, {}, never, never, false>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./order-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 "@abp/ng.components/page";
|
|
10
|
+
import * as i9 from "@angular/router";
|
|
11
|
+
export declare class OrderStationModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderStationModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OrderStationModule, [typeof i1.OrderStationComponent], [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.PageModule, typeof i9.RouterModule], never>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OrderStationModule>;
|
|
15
|
+
}
|
|
16
|
+
export declare function loadOrderStationModuleAsChild(): Promise<typeof OrderStationModule>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DxDataGridComponent } from 'devextreme-angular';
|
|
3
|
+
import { OrderService } from '../../hit-proxy/orders/order.service';
|
|
4
|
+
import { SapOrderDto } from '../../hit-proxy/orders/model';
|
|
5
|
+
import { WarehouseService, WarehouseDto } from '../../hit-proxy/warehouse/warehouse.service';
|
|
6
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
7
|
+
import DataSource from 'devextreme/data/data_source';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class OrdersComponent implements OnInit {
|
|
10
|
+
private readonly orderService;
|
|
11
|
+
private readonly warehouseService;
|
|
12
|
+
private readonly toasterService;
|
|
13
|
+
private readonly confirmationService;
|
|
14
|
+
dxOrdersInstance: DxDataGridComponent;
|
|
15
|
+
ordersDataSource: DataSource;
|
|
16
|
+
selectedOrders: SapOrderDto[];
|
|
17
|
+
selectedWarehouse: string;
|
|
18
|
+
selectedDate: string;
|
|
19
|
+
activeListType: string | null;
|
|
20
|
+
activeStatus: string | null;
|
|
21
|
+
private readonly statusMap;
|
|
22
|
+
customInputValue: string;
|
|
23
|
+
warehouses: WarehouseDto[];
|
|
24
|
+
isLoadingWarehouses: boolean;
|
|
25
|
+
isGorevBaslatLoading: boolean;
|
|
26
|
+
isReservationLoading: boolean;
|
|
27
|
+
isBeeCellLoading: boolean;
|
|
28
|
+
bosKasaPopupVisible: boolean;
|
|
29
|
+
bosKasaStationId: number;
|
|
30
|
+
bosKasaShelfId: number;
|
|
31
|
+
bosKasaBoxCount: number;
|
|
32
|
+
bosKasaMode: 'empty' | 'half';
|
|
33
|
+
constructor(orderService: OrderService, warehouseService: WarehouseService, toasterService: ToasterService, confirmationService: ConfirmationService);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
private loadWarehouses;
|
|
36
|
+
private setupDataSource;
|
|
37
|
+
private buildCombinedFilter;
|
|
38
|
+
private buildListTypeFilter;
|
|
39
|
+
private buildStatusFilter;
|
|
40
|
+
toggleStatus(key: string): void;
|
|
41
|
+
toggleListType(key: string): void;
|
|
42
|
+
private applyFilters;
|
|
43
|
+
onSelectionChanged(e: any): void;
|
|
44
|
+
onRowClick(e: any): void;
|
|
45
|
+
onRowPrepared(e: any): void;
|
|
46
|
+
onGorevBaslat(): void;
|
|
47
|
+
onOnayVer(): void;
|
|
48
|
+
onSiparisKapat(): void;
|
|
49
|
+
onBosKasaGetir(): void;
|
|
50
|
+
onYarimKasa(): void;
|
|
51
|
+
onBosKasaGonder(): void;
|
|
52
|
+
onDurumGuncelle(): void;
|
|
53
|
+
onRezervasyonYap(): void;
|
|
54
|
+
onRezervasyonSil(): void;
|
|
55
|
+
onTopluRezervasyonYap(): void;
|
|
56
|
+
onTumRezervasyonlariSil(): void;
|
|
57
|
+
private static readonly MAX_SHORT_ITEMS_DETAILED;
|
|
58
|
+
private handleReservationResult;
|
|
59
|
+
onRefresh(): void;
|
|
60
|
+
onExportExcel(): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrdersComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrdersComponent, "lib-orders", never, {}, {}, never, never, false>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./orders.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 OrdersModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrdersModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OrdersModule, [typeof i1.OrdersComponent], [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.DxDataGridModule, typeof i8.DxPopupModule, typeof i8.DxNumberBoxModule, typeof i8.DxButtonModule, typeof i9.PageModule, typeof i10.RouterModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OrdersModule>;
|
|
16
|
+
}
|
|
17
|
+
export declare function loadOrdersModuleAsChild(): Promise<typeof OrdersModule>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { QuantityCorrectionService, BinReservationInfoDto } from '../../hit-proxy/quantity-correction/quantity-correction.service';
|
|
2
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class QuantityCorrectionComponent {
|
|
5
|
+
private quantityCorrectionService;
|
|
6
|
+
private confirmationService;
|
|
7
|
+
private toasterService;
|
|
8
|
+
boxBarcode: string;
|
|
9
|
+
lines: BinReservationInfoDto[];
|
|
10
|
+
selectedLine: BinReservationInfoDto | null;
|
|
11
|
+
lastSearchedBoxBarcode: string;
|
|
12
|
+
hasSearched: boolean;
|
|
13
|
+
suppressNextBlurSearch: boolean;
|
|
14
|
+
updateType: string;
|
|
15
|
+
newQuantity: number | null;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
isSaving: boolean;
|
|
18
|
+
constructor(quantityCorrectionService: QuantityCorrectionService, confirmationService: ConfirmationService, toasterService: ToasterService);
|
|
19
|
+
onBoxBarcodeChange(value: string): void;
|
|
20
|
+
onBoxBarcodeEnterKeydown(): void;
|
|
21
|
+
onBoxBarcodeBlur(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Kasa barkodu girilip Enter veya blur yapıldığında çalışır.
|
|
24
|
+
* Barkoda göre açık görev taslağı satırlarını yükler.
|
|
25
|
+
*/
|
|
26
|
+
onBoxBarcodeEnter(): void;
|
|
27
|
+
/**
|
|
28
|
+
* Grid'den satır seçildiğinde çalışır.
|
|
29
|
+
*/
|
|
30
|
+
onSelectLine(line: BinReservationInfoDto): void;
|
|
31
|
+
/**
|
|
32
|
+
* Güncelle butonuna basıldığında seçili moda göre miktar düzeltme akışını başlatır.
|
|
33
|
+
*/
|
|
34
|
+
onUpdate(): void;
|
|
35
|
+
/**
|
|
36
|
+
* "Sadece Sipariş": stok hareketi yok, sipariş iptali/miktar değişikliği senaryosu.
|
|
37
|
+
*/
|
|
38
|
+
private updateOrderOnly;
|
|
39
|
+
/**
|
|
40
|
+
* "Raf ve Sipariş": kasada fiilen sayılan miktar farklıysa Dummy Kasa / çapraz kasa kesin algoritması.
|
|
41
|
+
* Önce önizleme yapılır; çapraz kasa önerisi varsa kullanıcıya onay penceresi gösterilir.
|
|
42
|
+
*/
|
|
43
|
+
private previewAndApplyShelfAndOrder;
|
|
44
|
+
private applyShelfAndOrder;
|
|
45
|
+
/**
|
|
46
|
+
* Formu temizler.
|
|
47
|
+
*/
|
|
48
|
+
onClear(): void;
|
|
49
|
+
private resetLineState;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuantityCorrectionComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuantityCorrectionComponent, "lib-quantity-correction", never, {}, {}, never, never, false>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./quantity-correction.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 "@abp/ng.components/page";
|
|
10
|
+
import * as i9 from "@angular/router";
|
|
11
|
+
export declare class QuantityCorrectionModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuantityCorrectionModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QuantityCorrectionModule, [typeof i1.QuantityCorrectionComponent], [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.PageModule, typeof i9.RouterModule], never>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<QuantityCorrectionModule>;
|
|
15
|
+
}
|
|
16
|
+
export declare function loadQuantityCorrectionModuleAsChild(): Promise<typeof QuantityCorrectionModule>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { DxDataGridComponent } from 'devextreme-angular';
|
|
3
|
+
import { InventoryService } from '../../hit-proxy/inventory/inventory.service';
|
|
4
|
+
import { WarehouseService, WarehouseDto } from '../../hit-proxy/warehouse/warehouse.service';
|
|
5
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface ShelfPlacementItem {
|
|
8
|
+
id: number;
|
|
9
|
+
barcode: string;
|
|
10
|
+
itemCode: string;
|
|
11
|
+
itemName: string;
|
|
12
|
+
batch: string;
|
|
13
|
+
warehouse: string;
|
|
14
|
+
shelf: string;
|
|
15
|
+
shelfAbsEntry: number;
|
|
16
|
+
quantity: number;
|
|
17
|
+
}
|
|
18
|
+
export declare class ShelfPlacementComponent implements OnInit {
|
|
19
|
+
private inventoryService;
|
|
20
|
+
private warehouseService;
|
|
21
|
+
private toasterService;
|
|
22
|
+
shelfInputRef: ElementRef<HTMLInputElement>;
|
|
23
|
+
barcodeInputRef: ElementRef<HTMLInputElement>;
|
|
24
|
+
itemCodeInputRef: ElementRef<HTMLInputElement>;
|
|
25
|
+
quantityInputRef: ElementRef<HTMLInputElement>;
|
|
26
|
+
gridInstance: DxDataGridComponent;
|
|
27
|
+
barcode: string;
|
|
28
|
+
itemCode: string;
|
|
29
|
+
itemName: string;
|
|
30
|
+
batch: string;
|
|
31
|
+
selectedWarehouse: string;
|
|
32
|
+
shelf: string;
|
|
33
|
+
quantity: number | null;
|
|
34
|
+
operationType: string;
|
|
35
|
+
isShelfFixed: boolean;
|
|
36
|
+
warehouses: WarehouseDto[];
|
|
37
|
+
gridDataSource: ShelfPlacementItem[];
|
|
38
|
+
private nextId;
|
|
39
|
+
isLoadingWarehouses: boolean;
|
|
40
|
+
isLoadingShelf: boolean;
|
|
41
|
+
shelfAbsEntry: number | null;
|
|
42
|
+
deleteRowHandler: (e: any) => void;
|
|
43
|
+
constructor(inventoryService: InventoryService, warehouseService: WarehouseService, toasterService: ToasterService);
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
ngAfterViewInit(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Raf okutulduğunda çağrılır.
|
|
48
|
+
* BinCode üzerinden SAP'den AbsEntry bilgisini çeker.
|
|
49
|
+
* Focus'u barkod alanına geçirir.
|
|
50
|
+
*/
|
|
51
|
+
onShelfScanned(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Barkod okutulduğunda çağrılır.
|
|
54
|
+
* Kalem kodu ve parti bilgisini barkoddan parse eder.
|
|
55
|
+
* Focus'u miktar alanına geçirir.
|
|
56
|
+
*/
|
|
57
|
+
onBarcodeScanned(): void;
|
|
58
|
+
/**
|
|
59
|
+
* Barkodu parse eder ve kalem kodu ile parti alanlarını doldurur.
|
|
60
|
+
* İlk 13 karakter = ürün barkodu, 14. karakterden itibaren = parti numarası
|
|
61
|
+
*/
|
|
62
|
+
private parseBarcodeAndFill;
|
|
63
|
+
/**
|
|
64
|
+
* Kalem koduna göre SAP'den kalem adını çeker.
|
|
65
|
+
*/
|
|
66
|
+
private fetchItemNameFromSAP;
|
|
67
|
+
/**
|
|
68
|
+
* Depo seçimi değiştiğinde çağrılır.
|
|
69
|
+
* Seçilen depoya ait depo yerlerini (bin locations) yükler.
|
|
70
|
+
*/
|
|
71
|
+
onWarehouseChanged(): void;
|
|
72
|
+
/**
|
|
73
|
+
* Ekle butonuna basıldığında çağrılır.
|
|
74
|
+
* Form verilerini grid'e ekler.
|
|
75
|
+
*/
|
|
76
|
+
onAdd(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Kaydet butonuna basıldığında çağrılır.
|
|
79
|
+
* Grid'deki tüm verileri toplu olarak kaydeder.
|
|
80
|
+
*/
|
|
81
|
+
onSave(): void;
|
|
82
|
+
/**
|
|
83
|
+
* Temizle butonuna basıldığında çağrılır.
|
|
84
|
+
*/
|
|
85
|
+
onClear(): void;
|
|
86
|
+
/**
|
|
87
|
+
* U_SWSmartWhs = "Y" olan depoları yükler.
|
|
88
|
+
* İlk depoyu otomatik olarak seçer.
|
|
89
|
+
*/
|
|
90
|
+
private loadWarehouses;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfPlacementComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShelfPlacementComponent, "lib-shelf-placement", never, {}, {}, never, never, false>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./shelf-placement.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 ShelfPlacementModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfPlacementModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ShelfPlacementModule, [typeof i1.ShelfPlacementComponent], [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.DxDataGridModule, typeof i9.PageModule, typeof i10.RouterModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ShelfPlacementModule>;
|
|
16
|
+
}
|
|
17
|
+
export declare function loadShelfPlacementModuleAsChild(): Promise<typeof ShelfPlacementModule>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { WarehouseService, BinLocationContentDto } from '../../hit-proxy/warehouse/warehouse.service';
|
|
2
|
+
import { StockTransferService } from '../../hit-proxy/stock-transfer/stock-transfer.service';
|
|
3
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShelfTransferComponent {
|
|
6
|
+
private warehouseService;
|
|
7
|
+
private stockTransferService;
|
|
8
|
+
private toasterService;
|
|
9
|
+
sourceBinCode: string;
|
|
10
|
+
destinationBinCode: string;
|
|
11
|
+
sourceBinAbsEntry: number | null;
|
|
12
|
+
destinationBinAbsEntry: number | null;
|
|
13
|
+
quantity: number | null;
|
|
14
|
+
binContent: BinLocationContentDto | null;
|
|
15
|
+
isLoadingContent: boolean;
|
|
16
|
+
isLoadingDestination: boolean;
|
|
17
|
+
isSaving: boolean;
|
|
18
|
+
constructor(warehouseService: WarehouseService, stockTransferService: StockTransferService, toasterService: ToasterService);
|
|
19
|
+
onSourceBinEnter(): void;
|
|
20
|
+
onDestinationBinEnter(): void;
|
|
21
|
+
onSave(): void;
|
|
22
|
+
onClear(): void;
|
|
23
|
+
private loadBinContent;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfTransferComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShelfTransferComponent, "lib-shelf-transfer", never, {}, {}, never, never, false>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./shelf-transfer.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 "@abp/ng.components/page";
|
|
10
|
+
import * as i9 from "@angular/router";
|
|
11
|
+
export declare class ShelfTransferModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfTransferModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ShelfTransferModule, [typeof i1.ShelfTransferComponent], [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.PageModule, typeof i9.RouterModule], never>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ShelfTransferModule>;
|
|
15
|
+
}
|
|
16
|
+
export declare function loadShelfTransferModuleAsChild(): Promise<typeof ShelfTransferModule>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DxDataGridComponent } from 'devextreme-angular';
|
|
3
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { ShortagesService } from '../../hit-proxy/shortages/shortages.service';
|
|
5
|
+
import { ReservationShortDto, ItemShortageSummaryDto } from '../../hit-proxy/shortages/model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ShortagesComponent implements OnInit {
|
|
8
|
+
private readonly shortagesService;
|
|
9
|
+
private readonly toasterService;
|
|
10
|
+
dxDetailInstance: DxDataGridComponent;
|
|
11
|
+
dxSummaryInstance: DxDataGridComponent;
|
|
12
|
+
viewMode: 'detay' | 'ozet';
|
|
13
|
+
activeOrderType: string | null;
|
|
14
|
+
detailDataSource: ReservationShortDto[];
|
|
15
|
+
summaryDataSource: ItemShortageSummaryDto[];
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
constructor(shortagesService: ShortagesService, toasterService: ToasterService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
toggleOrderType(key: string): void;
|
|
20
|
+
setViewMode(mode: 'detay' | 'ozet'): void;
|
|
21
|
+
load(): void;
|
|
22
|
+
onRefresh(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShortagesComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShortagesComponent, "lib-shortages", never, {}, {}, never, never, false>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./shortages.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 ShortagesModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShortagesModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ShortagesModule, [typeof i1.ShortagesComponent], [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<ShortagesModule>;
|
|
16
|
+
}
|
|
17
|
+
export declare function loadShortagesModuleAsChild(): Promise<typeof ShortagesModule>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SmartWarehouseService } from '../services/smart-warehouse.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SmartWarehouseComponent implements OnInit {
|
|
5
|
+
private service;
|
|
6
|
+
constructor(service: SmartWarehouseService);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartWarehouseComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartWarehouseComponent, "lib-smart-warehouse", never, {}, {}, never, never, false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DxDataGridComponent } from 'devextreme-angular';
|
|
3
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { StockReportService } from '../../hit-proxy/stock-report/stock-report.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StockReportComponent implements OnInit {
|
|
7
|
+
private stockReportService;
|
|
8
|
+
private toasterService;
|
|
9
|
+
dxStockInstance: DxDataGridComponent;
|
|
10
|
+
stockDataSource: any;
|
|
11
|
+
constructor(stockReportService: StockReportService, toasterService: ToasterService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
onRefresh(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockReportComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockReportComponent, "lib-stock-report", never, {}, {}, never, never, false>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./stock-report.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 StockReportModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockReportModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockReportModule, [typeof i1.StockReportComponent], [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<StockReportModule>;
|
|
16
|
+
}
|
|
17
|
+
export declare function loadStockReportModuleAsChild(): Promise<typeof StockReportModule>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CanActivate, Router, UrlTree } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ConnectorParamsService } from '../hit-proxy/connector-params/connector-params.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ConnectorParamsGuard implements CanActivate {
|
|
6
|
+
private connectorParamsService;
|
|
7
|
+
private router;
|
|
8
|
+
/**
|
|
9
|
+
* true → parametreler doğrulandı, API çağrısı yapmadan geç.
|
|
10
|
+
* null → henüz bilinmiyor, API'ye sor.
|
|
11
|
+
* SessionStorage'a da yazılır: sayfa yenileme (token refresh sonrası reload)
|
|
12
|
+
* durumunda geçici SAP/auth hatasını "parametre yok" olarak yorumlamaz.
|
|
13
|
+
*/
|
|
14
|
+
private configured;
|
|
15
|
+
constructor(connectorParamsService: ConnectorParamsService, router: Router);
|
|
16
|
+
canActivate(): Observable<boolean | UrlTree>;
|
|
17
|
+
/** Kayıt silindiğinde / değiştirildiğinde cache'i temizle */
|
|
18
|
+
invalidate(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectorParamsGuard, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectorParamsGuard>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ConnectorParamsDto {
|
|
5
|
+
erpType: string;
|
|
6
|
+
erpName: string;
|
|
7
|
+
baseUrl: string;
|
|
8
|
+
apiKey: string;
|
|
9
|
+
username: string;
|
|
10
|
+
isActive: boolean;
|
|
11
|
+
passwordSet: boolean;
|
|
12
|
+
fromWarehouseCode?: string;
|
|
13
|
+
targetWarehouseCode?: string;
|
|
14
|
+
dummyBoxCode?: string;
|
|
15
|
+
/** BeeCell/Orchestrator API kullanıcı adı — ERP kullanıcısından ayrıdır */
|
|
16
|
+
beeCellUsername?: string;
|
|
17
|
+
/** BeeCell parolası kayıtlıysa true; parola değeri hiçbir zaman dönmez */
|
|
18
|
+
beeCellPasswordSet?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface SaveConnectorParamsDto {
|
|
21
|
+
erpType: string;
|
|
22
|
+
baseUrl: string;
|
|
23
|
+
apiKey: string;
|
|
24
|
+
username: string;
|
|
25
|
+
/** Boş bırakılırsa mevcut şifre korunur */
|
|
26
|
+
password: string;
|
|
27
|
+
isActive: boolean;
|
|
28
|
+
fromWarehouseCode?: string;
|
|
29
|
+
targetWarehouseCode?: string;
|
|
30
|
+
dummyBoxCode?: string;
|
|
31
|
+
/** BeeCell/Orchestrator API kullanıcı adı */
|
|
32
|
+
beeCellUsername?: string;
|
|
33
|
+
/** Boş bırakılırsa mevcut BeeCell parolası korunur */
|
|
34
|
+
beeCellPassword?: string;
|
|
35
|
+
}
|
|
36
|
+
export declare class ConnectorParamsService {
|
|
37
|
+
private restService;
|
|
38
|
+
apiName: string;
|
|
39
|
+
/** Mevcut tek kaydı döner; kayıt yoksa null döner */
|
|
40
|
+
getConnectorParams: () => Observable<ConnectorParamsDto>;
|
|
41
|
+
/** Kayıt varsa günceller, yoksa oluşturur (upsert) */
|
|
42
|
+
saveConnectorParams: (dto: SaveConnectorParamsDto) => Observable<void>;
|
|
43
|
+
constructor(restService: RestService);
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectorParamsService, never>;
|
|
45
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectorParamsService>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EnvironmentService } from '@abp/ng.core';
|
|
2
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import * as AspNetData from 'devextreme-aspnet-data-nojquery';
|
|
4
|
+
import { LoadOptions } from './devexpress-load-options.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DevexpressRestService {
|
|
7
|
+
private envService;
|
|
8
|
+
private toaster;
|
|
9
|
+
createStore: (options: LoadOptions) => AspNetData.CustomStore;
|
|
10
|
+
onAjaxError(e: {
|
|
11
|
+
xhr: any;
|
|
12
|
+
error: any;
|
|
13
|
+
}): void;
|
|
14
|
+
constructor(envService: EnvironmentService, toaster: ToasterService);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DevexpressRestService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DevexpressRestService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { RestService } from '@abp/ng.core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface BulkInventoryOperationDto {
|
|
5
|
+
operationType: string;
|
|
6
|
+
items: InventoryOperationItemDto[];
|
|
7
|
+
}
|
|
8
|
+
export interface InventoryOperationItemDto {
|
|
9
|
+
barcode: string;
|
|
10
|
+
batch: string;
|
|
11
|
+
warehouse: string;
|
|
12
|
+
shelf: string;
|
|
13
|
+
quantity: number;
|
|
14
|
+
}
|
|
15
|
+
export declare class InventoryService {
|
|
16
|
+
private restService;
|
|
17
|
+
apiName: string;
|
|
18
|
+
processBulkOperation: (dto: BulkInventoryOperationDto) => Observable<string>;
|
|
19
|
+
constructor(restService: RestService);
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InventoryService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InventoryService>;
|
|
22
|
+
}
|