@hitsoft/uretim-yonetimi 1.0.17 → 1.0.18
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/config/enums/route-names.d.ts +3 -0
- package/config/index.d.ts +5 -0
- package/config/providers/create-barcode-route.provider.d.ts +9 -0
- package/config/providers/issues-for-production-route.provider.d.ts +9 -0
- package/config/providers/production-order-route.provider.d.ts +9 -0
- package/config/providers/receipt-from-production-route.provider.d.ts +9 -0
- package/config/providers/route.provider.d.ts +8 -0
- package/config/uretim-yonetimi-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-uretim-yonetimi-config.mjs +5 -0
- package/esm2020/config/providers/create-barcode-route.provider.mjs +19 -0
- package/esm2020/config/providers/index.mjs +2 -0
- package/esm2020/config/providers/issues-for-production-route.provider.mjs +19 -0
- package/esm2020/config/providers/production-order-route.provider.mjs +19 -0
- package/esm2020/config/providers/receipt-from-production-route.provider.mjs +19 -0
- package/esm2020/config/providers/route.provider.mjs +24 -0
- package/esm2020/config/public-api.mjs +4 -0
- package/esm2020/config/uretim-yonetimi-config.module.mjs +28 -0
- package/esm2020/hitsoft-uretim-yonetimi.mjs +5 -0
- package/esm2020/lib/components/hit-create-barcodes/hit-create-barcodes-routing.module.mjs +26 -0
- package/esm2020/lib/components/hit-create-barcodes/hit-create-barcodes.component.mjs +186 -0
- package/esm2020/lib/components/hit-create-barcodes/hit-create-barcodes.module.mjs +65 -0
- package/esm2020/lib/components/hit-issues-for-productions/hit-issues-for-productions-routing.module.mjs +26 -0
- package/esm2020/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.mjs +252 -0
- package/esm2020/lib/components/hit-issues-for-productions/hit-issues-for-productions.module.mjs +68 -0
- package/esm2020/lib/components/hit-production-orders/hit-production-orders-routing.module.mjs +26 -0
- package/esm2020/lib/components/hit-production-orders/hit-production-orders.component.mjs +153 -0
- package/esm2020/lib/components/hit-production-orders/hit-production-orders.module.mjs +65 -0
- package/esm2020/lib/components/hit-receipt-from-productions/hit-receipt-from-production-routing.module.mjs +26 -0
- package/esm2020/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.component.mjs +217 -0
- package/esm2020/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.module.mjs +62 -0
- package/esm2020/lib/components/uretim-yonetimi.component.mjs +11 -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 +54 -0
- package/esm2020/lib/hit-proxy/hit-create-barcodes/hit-create-barcodes.service.mjs +35 -0
- package/esm2020/lib/hit-proxy/hit-create-barcodes/models.mjs +3 -0
- package/esm2020/lib/hit-proxy/hit-issues-for-productions/hit-issues-for-productions.service.mjs +35 -0
- package/esm2020/lib/hit-proxy/hit-issues-for-productions/models.mjs +24 -0
- package/esm2020/lib/hit-proxy/hit-production-orders/hit-production-orders.service.mjs +44 -0
- package/esm2020/lib/hit-proxy/hit-production-orders/models.mjs +65 -0
- package/esm2020/lib/hit-proxy/hit-receipt-from-productions/hit-receipt-from-productions.service.mjs +30 -0
- package/esm2020/lib/hit-proxy/hit-receipt-from-productions/models.mjs +20 -0
- package/esm2020/lib/hit-proxy/models.mjs +85 -0
- package/esm2020/lib/uretim-yonetimi-routing.module.mjs +33 -0
- package/esm2020/lib/uretim-yonetimi.module.mjs +55 -0
- package/esm2020/public-api.mjs +6 -0
- package/fesm2015/hitsoft-uretim-yonetimi-config.mjs +121 -0
- package/fesm2015/hitsoft-uretim-yonetimi-config.mjs.map +1 -0
- package/fesm2015/hitsoft-uretim-yonetimi.mjs +1548 -0
- package/fesm2015/hitsoft-uretim-yonetimi.mjs.map +1 -0
- package/fesm2020/hitsoft-uretim-yonetimi-config.mjs +121 -0
- package/fesm2020/hitsoft-uretim-yonetimi-config.mjs.map +1 -0
- package/fesm2020/hitsoft-uretim-yonetimi.mjs +1526 -0
- package/fesm2020/hitsoft-uretim-yonetimi.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/hit-create-barcodes/hit-create-barcodes-routing.module.d.ts +7 -0
- package/lib/components/hit-create-barcodes/hit-create-barcodes.component.d.ts +45 -0
- package/lib/components/hit-create-barcodes/hit-create-barcodes.module.d.ts +16 -0
- package/lib/components/hit-issues-for-productions/hit-issues-for-productions-routing.module.d.ts +7 -0
- package/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.d.ts +48 -0
- package/lib/components/hit-issues-for-productions/hit-issues-for-productions.module.d.ts +16 -0
- package/lib/components/hit-production-orders/hit-production-orders-routing.module.d.ts +7 -0
- package/lib/components/hit-production-orders/hit-production-orders.component.d.ts +44 -0
- package/lib/components/hit-production-orders/hit-production-orders.module.d.ts +16 -0
- package/lib/components/hit-receipt-from-productions/hit-receipt-from-production-routing.module.d.ts +7 -0
- package/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.component.d.ts +57 -0
- package/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.module.d.ts +16 -0
- package/lib/components/uretim-yonetimi.component.d.ts +5 -0
- package/lib/hit-proxy/devexpress-query-builder/devexpress-load-options.model.d.ts +17 -0
- package/lib/hit-proxy/devexpress-query-builder/devexpress-query-builder.d.ts +18 -0
- package/lib/hit-proxy/hit-create-barcodes/hit-create-barcodes.service.d.ts +23 -0
- package/lib/hit-proxy/hit-create-barcodes/models.d.ts +6 -0
- package/lib/hit-proxy/hit-issues-for-productions/hit-issues-for-productions.service.d.ts +17 -0
- package/lib/hit-proxy/hit-issues-for-productions/models.d.ts +30 -0
- package/lib/hit-proxy/hit-production-orders/hit-production-orders.service.d.ts +19 -0
- package/lib/hit-proxy/hit-production-orders/models.d.ts +85 -0
- package/lib/hit-proxy/hit-receipt-from-productions/hit-receipt-from-productions.service.d.ts +16 -0
- package/lib/hit-proxy/hit-receipt-from-productions/models.d.ts +40 -0
- package/lib/hit-proxy/models.d.ts +21 -0
- package/lib/uretim-yonetimi-routing.module.d.ts +7 -0
- package/lib/uretim-yonetimi.module.d.ts +17 -0
- package/package.json +42 -14
- package/{src/public-api.ts → public-api.d.ts} +0 -4
- package/.eslintrc.json +0 -44
- package/config/ng-package.json +0 -7
- package/config/src/enums/route-names.ts +0 -3
- package/config/src/providers/create-barcode-route.provider.ts +0 -21
- package/config/src/providers/issues-for-production-route.provider.ts +0 -21
- package/config/src/providers/production-order-route.provider.ts +0 -21
- package/config/src/providers/receipt-from-production-route.provider.ts +0 -21
- package/config/src/providers/route.provider.ts +0 -26
- package/config/src/uretim-yonetimi-config.module.ts +0 -22
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -7
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes-component.css +0 -10
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes-routing.module.ts +0 -19
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes.component.html +0 -80
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes.component.ts +0 -219
- package/src/lib/components/hit-create-barcodes/hit-create-barcodes.module.ts +0 -39
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions-routing.module.ts +0 -19
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions.componenet.css +0 -7
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.html +0 -100
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.ts +0 -276
- package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions.module.ts +0 -46
- package/src/lib/components/hit-production-orders/hit-production-orders-routing.module.ts +0 -19
- package/src/lib/components/hit-production-orders/hit-production-orders.component.html +0 -79
- package/src/lib/components/hit-production-orders/hit-production-orders.component.ts +0 -213
- package/src/lib/components/hit-production-orders/hit-production-orders.module.ts +0 -39
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-production-component.css +0 -10
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-production-routing.module.ts +0 -19
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.component.html +0 -106
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.component.ts +0 -259
- package/src/lib/components/hit-receipt-from-productions/hit-receipt-from-productions.module.ts +0 -38
- package/src/lib/components/uretim-yonetimi.component.ts +0 -9
- package/src/lib/hit-proxy/devexpress-query-builder/devexpress-load-options.model.ts +0 -20
- package/src/lib/hit-proxy/devexpress-query-builder/devexpress-query-builder.ts +0 -51
- package/src/lib/hit-proxy/hit-create-barcodes/hit-create-barcodes.service.ts +0 -41
- package/src/lib/hit-proxy/hit-create-barcodes/models.ts +0 -6
- package/src/lib/hit-proxy/hit-issues-for-productions/hit-issues-for-productions.service.ts +0 -39
- package/src/lib/hit-proxy/hit-issues-for-productions/models.ts +0 -42
- package/src/lib/hit-proxy/hit-production-orders/hit-production-orders.service.ts +0 -60
- package/src/lib/hit-proxy/hit-production-orders/models.ts +0 -137
- package/src/lib/hit-proxy/hit-receipt-from-productions/hit-receipt-from-productions.service.ts +0 -32
- package/src/lib/hit-proxy/hit-receipt-from-productions/models.ts +0 -44
- package/src/lib/hit-proxy/models.ts +0 -116
- package/src/lib/uretim-yonetimi-routing.module.ts +0 -30
- package/src/lib/uretim-yonetimi.component.spec.ts +0 -24
- package/src/lib/uretim-yonetimi.module.ts +0 -52
- package/src/lib/uretim-yonetimi.service.spec.ts +0 -15
- package/src/test.ts +0 -29
- package/tsconfig.lib.json +0 -20
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- /package/config/{src/enums/index.ts → enums/index.d.ts} +0 -0
- /package/config/{src/providers/index.ts → providers/index.d.ts} +0 -0
- /package/config/{src/public-api.ts → public-api.d.ts} +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { eLayoutType, RoutesService } from '@abp/ng.core';
|
|
2
|
-
import { APP_INITIALIZER } from '@angular/core';
|
|
3
|
-
import { eUretimYonetimiRouteNames } from '../enums/route-names';
|
|
4
|
-
|
|
5
|
-
export const PRODUCTION_ORDERS_PRODUCTION_ORDER_ROUTE_PROVIDER = [
|
|
6
|
-
{ provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
|
|
7
|
-
];
|
|
8
|
-
|
|
9
|
-
function configureRoutes(routes: RoutesService) {
|
|
10
|
-
return () => {
|
|
11
|
-
routes.add([
|
|
12
|
-
{
|
|
13
|
-
path: '/uretim-yonetimi/production-orders',
|
|
14
|
-
parentName: eUretimYonetimiRouteNames.UretimYonetimi,
|
|
15
|
-
name: 'UretimYonetimi::Menu:ProductionOrders',
|
|
16
|
-
layout: eLayoutType.application,
|
|
17
|
-
requiredPolicy: 'UretimYonetimi.ProductionOrders',
|
|
18
|
-
},
|
|
19
|
-
]);
|
|
20
|
-
};
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { eLayoutType, RoutesService } from '@abp/ng.core';
|
|
2
|
-
import { APP_INITIALIZER } from '@angular/core';
|
|
3
|
-
import { eUretimYonetimiRouteNames } from '../enums/route-names';
|
|
4
|
-
|
|
5
|
-
export const RECEIPT_FROM_PRODUCTIONS_RECEIPT_FROM_PRODUCTION_ROUTE_PROVIDER = [
|
|
6
|
-
{ provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
|
|
7
|
-
];
|
|
8
|
-
|
|
9
|
-
function configureRoutes(routes: RoutesService) {
|
|
10
|
-
return () => {
|
|
11
|
-
routes.add([
|
|
12
|
-
{
|
|
13
|
-
path: '/uretim-yonetimi/receipt-from-productions',
|
|
14
|
-
parentName: eUretimYonetimiRouteNames.UretimYonetimi,
|
|
15
|
-
name: 'UretimYonetimi::Menu:ReceiptFromProductions',
|
|
16
|
-
layout: eLayoutType.application,
|
|
17
|
-
requiredPolicy: 'UretimYonetimi.ReceiptFromProductions',
|
|
18
|
-
},
|
|
19
|
-
]);
|
|
20
|
-
};
|
|
21
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { eLayoutType, RoutesService } from '@abp/ng.core';
|
|
2
|
-
import { APP_INITIALIZER } from '@angular/core';
|
|
3
|
-
import { eUretimYonetimiRouteNames } from '../enums';
|
|
4
|
-
|
|
5
|
-
export const URETIM_YONETIMI_ROUTE_PROVIDERS = [
|
|
6
|
-
{
|
|
7
|
-
provide: APP_INITIALIZER,
|
|
8
|
-
useFactory: configureRoutes,
|
|
9
|
-
deps: [RoutesService],
|
|
10
|
-
multi: true,
|
|
11
|
-
},
|
|
12
|
-
];
|
|
13
|
-
|
|
14
|
-
export function configureRoutes(routes: RoutesService) {
|
|
15
|
-
return () => {
|
|
16
|
-
routes.add([
|
|
17
|
-
{
|
|
18
|
-
path: '/uretim-yonetimi',
|
|
19
|
-
name: eUretimYonetimiRouteNames.UretimYonetimi,
|
|
20
|
-
iconClass: 'fas fa-book',
|
|
21
|
-
layout: eLayoutType.application,
|
|
22
|
-
order: 3,
|
|
23
|
-
},
|
|
24
|
-
]);
|
|
25
|
-
};
|
|
26
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders, NgModule } from '@angular/core';
|
|
2
|
-
import { URETIM_YONETIMI_ROUTE_PROVIDERS } from './providers';
|
|
3
|
-
import { PRODUCTION_ORDERS_PRODUCTION_ORDER_ROUTE_PROVIDER } from './providers/production-order-route.provider';
|
|
4
|
-
import { ISSUES_FOR_PRODUCTIONS_ISSUES_FOR_PRODUCTION_ROUTE_PROVIDER } from './providers/issues-for-production-route.provider';
|
|
5
|
-
import { RECEIPT_FROM_PRODUCTIONS_RECEIPT_FROM_PRODUCTION_ROUTE_PROVIDER } from './providers/receipt-from-production-route.provider';
|
|
6
|
-
import { CREATE_BARCODES_CREATE_BARCODE_ROUTE_PROVIDER } from './providers/create-barcode-route.provider';
|
|
7
|
-
|
|
8
|
-
@NgModule()
|
|
9
|
-
export class UretimYonetimiConfigModule {
|
|
10
|
-
static forRoot(): ModuleWithProviders<UretimYonetimiConfigModule> {
|
|
11
|
-
return {
|
|
12
|
-
ngModule: UretimYonetimiConfigModule,
|
|
13
|
-
providers: [
|
|
14
|
-
URETIM_YONETIMI_ROUTE_PROVIDERS,
|
|
15
|
-
PRODUCTION_ORDERS_PRODUCTION_ORDER_ROUTE_PROVIDER,
|
|
16
|
-
ISSUES_FOR_PRODUCTIONS_ISSUES_FOR_PRODUCTION_ROUTE_PROVIDER,
|
|
17
|
-
RECEIPT_FROM_PRODUCTIONS_RECEIPT_FROM_PRODUCTION_ROUTE_PROVIDER,
|
|
18
|
-
CREATE_BARCODES_CREATE_BARCODE_ROUTE_PROVIDER,
|
|
19
|
-
],
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
}
|
package/karma.conf.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// Karma configuration file, see link for more information
|
|
2
|
-
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
-
|
|
4
|
-
module.exports = function (config) {
|
|
5
|
-
config.set({
|
|
6
|
-
basePath: '',
|
|
7
|
-
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
-
plugins: [
|
|
9
|
-
require('karma-jasmine'),
|
|
10
|
-
require('karma-chrome-launcher'),
|
|
11
|
-
require('karma-jasmine-html-reporter'),
|
|
12
|
-
require('karma-coverage'),
|
|
13
|
-
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
-
],
|
|
15
|
-
client: {
|
|
16
|
-
jasmine: {
|
|
17
|
-
// you can add configuration options for Jasmine here
|
|
18
|
-
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
19
|
-
// for example, you can disable the random execution with `random: false`
|
|
20
|
-
// or set a specific seed with `seed: 4321`
|
|
21
|
-
},
|
|
22
|
-
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
23
|
-
},
|
|
24
|
-
jasmineHtmlReporter: {
|
|
25
|
-
suppressAll: true // removes the duplicated traces
|
|
26
|
-
},
|
|
27
|
-
coverageReporter: {
|
|
28
|
-
dir: require('path').join(__dirname, '../../coverage/uretim-yonetimi'),
|
|
29
|
-
subdir: '.',
|
|
30
|
-
reporters: [
|
|
31
|
-
{ type: 'html' },
|
|
32
|
-
{ type: 'text-summary' }
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
reporters: ['progress', 'kjhtml'],
|
|
36
|
-
port: 9876,
|
|
37
|
-
colors: true,
|
|
38
|
-
logLevel: config.LOG_INFO,
|
|
39
|
-
autoWatch: true,
|
|
40
|
-
browsers: ['Chrome'],
|
|
41
|
-
singleRun: false,
|
|
42
|
-
restartOnFileChange: true
|
|
43
|
-
});
|
|
44
|
-
};
|
package/ng-package.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {AuthGuard, PermissionGuard} from '@abp/ng.core';
|
|
2
|
-
import {NgModule} from '@angular/core';
|
|
3
|
-
import {RouterModule, Routes} from '@angular/router';
|
|
4
|
-
import {HitCreateBarcodesComponent} from "./hit-create-barcodes.component";
|
|
5
|
-
|
|
6
|
-
const routes: Routes = [
|
|
7
|
-
{
|
|
8
|
-
path: '',
|
|
9
|
-
component: HitCreateBarcodesComponent,
|
|
10
|
-
canActivate: [AuthGuard, PermissionGuard],
|
|
11
|
-
},
|
|
12
|
-
];
|
|
13
|
-
|
|
14
|
-
@NgModule({
|
|
15
|
-
imports: [RouterModule.forChild(routes)],
|
|
16
|
-
exports: [RouterModule],
|
|
17
|
-
})
|
|
18
|
-
export class HitCreateBarcodesRoutingModule {
|
|
19
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
<abp-page [breadcrumb]="false">
|
|
2
|
-
<abp-page-toolbar-container class="col">
|
|
3
|
-
<div class="row">
|
|
4
|
-
<h3 class="page-title">
|
|
5
|
-
{{ 'UretimYonetimi::CreateBarcodes.Title' | abpLocalization }}
|
|
6
|
-
</h3>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="row text-lg-end pt-2">
|
|
9
|
-
<div class="col-8">
|
|
10
|
-
<button class="btn btn-success btn-sm" type="button" [disabled]="!this.selectedReceiptFromProductions"
|
|
11
|
-
(click)="showModal=true">
|
|
12
|
-
<i class="fa fa-plus me-1"></i>
|
|
13
|
-
{{ 'UretimYonetimi::CreateBarcodes.Print' | abpLocalization }}
|
|
14
|
-
</button>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-4">
|
|
17
|
-
<button class="btn btn-warning btn-sm" type="button" (click)="clearAll()">
|
|
18
|
-
<i class="fa fa-broom me-1"></i>
|
|
19
|
-
{{ 'UretimYonetimi::CreateBarcodes.Clean' | abpLocalization }}
|
|
20
|
-
</button>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</abp-page-toolbar-container>
|
|
24
|
-
<div class="card mt-2">
|
|
25
|
-
<div class="card-body" style="height: calc(100vh - 241px); overflow: auto;">
|
|
26
|
-
<div style="display: flex; align-items: center;">
|
|
27
|
-
<dx-number-box #barkodNumarasiRef class="me-1" style="width:100%;"
|
|
28
|
-
[label]="'UretimYonetimi::CreateBarcodes.WorkOrderNo' | abpLocalization"
|
|
29
|
-
[(value)]="isEmriBarkodu"
|
|
30
|
-
(onChange)="getProductionOrder()" (onEnterKey)="getProductionOrder()"
|
|
31
|
-
[disabled]="searchBasildiMi || isEmriBarkoduGecerliMi">
|
|
32
|
-
</dx-number-box>
|
|
33
|
-
<dx-button style="margin-top: 7.5px;" icon="search" type="default" (onClick)="getProductionOrder()"
|
|
34
|
-
[disabled]="searchBasildiMi || isEmriBarkoduGecerliMi">
|
|
35
|
-
</dx-button>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<div class="mt-3" *ngIf="isEmriBarkoduGecerliMi">
|
|
39
|
-
<dx-text-box style="width:100%;" [label]="'UretimYonetimi::CreateBarcodes.ItemCode' | abpLocalization"
|
|
40
|
-
[(value)]="productionOrder.itemNo" [disabled]="true">
|
|
41
|
-
</dx-text-box>
|
|
42
|
-
<dx-text-box style="width:100%;" [label]="'UretimYonetimi::CreateBarcodes.ItemName' | abpLocalization"
|
|
43
|
-
[(value)]="productionOrder.productDescription" [disabled]="true">
|
|
44
|
-
</dx-text-box>
|
|
45
|
-
<dx-text-box style="width:100%;" [label]="'UretimYonetimi::CreateBarcodes.BatchNumber' | abpLocalization"
|
|
46
|
-
[(value)]="productionOrder.u_trkBatch" [disabled]="true">
|
|
47
|
-
</dx-text-box>
|
|
48
|
-
<dx-number-box style="width:100%;" [label]="'UretimYonetimi::CreateBarcodes.PrintingQuantity' | abpLocalization"
|
|
49
|
-
[(value)]="printingQuantity">
|
|
50
|
-
</dx-number-box>
|
|
51
|
-
<dx-data-grid #gridRFP class="mt-3" [dataSource]="receiptFromProductions" [columnAutoWidth]="true"
|
|
52
|
-
(onSelectionChanged)="selectReceiptFromProductions($event)">
|
|
53
|
-
<dxi-column dataField="quantity"
|
|
54
|
-
[caption]="'UretimYonetimi::CreateBarcodes.Quantity' | abpLocalization"></dxi-column>
|
|
55
|
-
<dxi-column dataField="docDateString"
|
|
56
|
-
[caption]="'UretimYonetimi::CreateBarcodes.Date' | abpLocalization"></dxi-column>
|
|
57
|
-
<dxo-selection mode="single"></dxo-selection>
|
|
58
|
-
</dx-data-grid>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</abp-page>
|
|
63
|
-
|
|
64
|
-
<abp-modal [(visible)]="showModal" (appear)="generateReport()">
|
|
65
|
-
<ng-template #abpHeader>
|
|
66
|
-
<h3>{{ 'UretimYonetimi::CreateBarcodes.BarcodePreview' | abpLocalization }}</h3>
|
|
67
|
-
</ng-template>
|
|
68
|
-
<ng-template #abpBody>
|
|
69
|
-
<iframe *ngIf="pdfSrc" [src]="pdfSrc" width="100%" height="300"
|
|
70
|
-
webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
|
71
|
-
</ng-template>
|
|
72
|
-
<ng-template #abpFooter>
|
|
73
|
-
<button (click)="downloadPdf(blobUrl)" type="button"
|
|
74
|
-
class="btn btn-secondary mobilde-gorunur" abpClose> İndir
|
|
75
|
-
</button>
|
|
76
|
-
<button type="button"
|
|
77
|
-
class="btn btn-secondary" abpClose> {{ 'UretimYonetimi::CreateBarcodes.Close' | abpLocalization }}
|
|
78
|
-
</button>
|
|
79
|
-
</ng-template>
|
|
80
|
-
</abp-modal>
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import {ListService, TrackByService} from '@abp/ng.core';
|
|
2
|
-
import {
|
|
3
|
-
Confirmation,
|
|
4
|
-
ConfirmationService,
|
|
5
|
-
} from '@abp/ng.theme.shared';
|
|
6
|
-
import {DateAdapter} from '@abp/ng.theme.shared/extensions';
|
|
7
|
-
import {ChangeDetectionStrategy, Component, ViewChild, NgZone} from '@angular/core';
|
|
8
|
-
import {NgbDateAdapter} from '@ng-bootstrap/ng-bootstrap';
|
|
9
|
-
import {HitCreateBarcodesService} from '../../hit-proxy/hit-create-barcodes/hit-create-barcodes.service';
|
|
10
|
-
import {HitProductionOrdersService} from '../../hit-proxy/hit-production-orders/hit-production-orders.service';
|
|
11
|
-
import {DxDataGridComponent, DxTextBoxComponent} from 'devextreme-angular';
|
|
12
|
-
import {GetProductionOrderDto} from '../../hit-proxy/hit-receipt-from-productions/models';
|
|
13
|
-
import {ReceiptFromProductions} from '../../hit-proxy/hit-create-barcodes/models';
|
|
14
|
-
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
|
15
|
-
|
|
16
|
-
@Component({
|
|
17
|
-
selector: 'lib-hit-create-barcodes',
|
|
18
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
|
19
|
-
providers: [ListService, { provide: NgbDateAdapter, useClass: DateAdapter }],
|
|
20
|
-
templateUrl: './hit-create-barcodes.component.html',
|
|
21
|
-
styles: [],
|
|
22
|
-
styleUrls: ['./hit-create-barcodes-component.css'],
|
|
23
|
-
})
|
|
24
|
-
export class HitCreateBarcodesComponent {
|
|
25
|
-
@ViewChild('barkodNumarasiRef', {static: false}) nmbBoxBarkodNumarasi: DxTextBoxComponent;
|
|
26
|
-
@ViewChild('gridRFP', {static: false}) dataGrid: DxDataGridComponent;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
constructor(
|
|
30
|
-
private ngZone: NgZone,
|
|
31
|
-
public readonly list: ListService,
|
|
32
|
-
public readonly track: TrackByService,
|
|
33
|
-
public readonly service: HitCreateBarcodesService,
|
|
34
|
-
private confirmation: ConfirmationService,
|
|
35
|
-
private productionOrdersService: HitProductionOrdersService,
|
|
36
|
-
private sanitizer: DomSanitizer
|
|
37
|
-
) {}
|
|
38
|
-
|
|
39
|
-
isLoading: boolean = false;
|
|
40
|
-
isEmriBarkoduGecerliMi: boolean = false;
|
|
41
|
-
searchBasildiMi: boolean = false;
|
|
42
|
-
isEmriBarkodu: number;
|
|
43
|
-
productionOrder: GetProductionOrderDto;
|
|
44
|
-
printingQuantity: number = 1;
|
|
45
|
-
showModal: boolean = false;
|
|
46
|
-
pdfSrc: SafeResourceUrl | null = null;
|
|
47
|
-
blobUrl: string;
|
|
48
|
-
|
|
49
|
-
async getProductionOrder() {
|
|
50
|
-
if (!this.isEmriBarkodu) {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
this.isLoading = true;
|
|
55
|
-
this.isEmriBarkoduGecerliMi = false;
|
|
56
|
-
this.searchBasildiMi = true;
|
|
57
|
-
|
|
58
|
-
this.productionOrdersService.get(this.isEmriBarkodu).subscribe({
|
|
59
|
-
next: response => {
|
|
60
|
-
if (response?.isSuccessful) {
|
|
61
|
-
this.productionOrder = response.items;
|
|
62
|
-
this.isEmriBarkoduGecerliMi = true;
|
|
63
|
-
this.getReceiptFromProductions();
|
|
64
|
-
} else {
|
|
65
|
-
this.isEmriBarkoduGecerliMi = false;
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
error: e => {
|
|
69
|
-
this.isEmriBarkoduGecerliMi = false;
|
|
70
|
-
this.searchBasildiMi = true;
|
|
71
|
-
this.confirmation.status$.subscribe({
|
|
72
|
-
next: () => {
|
|
73
|
-
this.clearAll();
|
|
74
|
-
},
|
|
75
|
-
});
|
|
76
|
-
},
|
|
77
|
-
});
|
|
78
|
-
this.isLoading = false;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
ngAfterViewInit() {
|
|
82
|
-
this.focusOnBarkodNumarasi();
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
clearAll() {
|
|
86
|
-
this.isEmriBarkoduGecerliMi = false;
|
|
87
|
-
this.searchBasildiMi = false;
|
|
88
|
-
this.isEmriBarkodu = null;
|
|
89
|
-
this.productionOrder = null;
|
|
90
|
-
this.receiptFromProductions = null;
|
|
91
|
-
this.focusOnBarkodNumarasi();
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
generateReport() {
|
|
95
|
-
this.service
|
|
96
|
-
.getBarcodeInfo(
|
|
97
|
-
this.isEmriBarkodu,
|
|
98
|
-
this.selectedReceiptFromProductions.docEntry,
|
|
99
|
-
this.printingQuantity
|
|
100
|
-
)
|
|
101
|
-
.subscribe({
|
|
102
|
-
next: response => {
|
|
103
|
-
const base64Data = response.base64; // base64 string (sadece veri kısmı, "data:application/pdf;base64,..." değilse)
|
|
104
|
-
|
|
105
|
-
// Base64'ü decode edip binary veriye çeviriyoruz
|
|
106
|
-
const byteCharacters = atob(base64Data);
|
|
107
|
-
const byteNumbers = new Array(byteCharacters.length);
|
|
108
|
-
for (let i = 0; i < byteCharacters.length; i++) {
|
|
109
|
-
byteNumbers[i] = byteCharacters.charCodeAt(i);
|
|
110
|
-
}
|
|
111
|
-
const byteArray = new Uint8Array(byteNumbers);
|
|
112
|
-
|
|
113
|
-
// Blob oluşturuyoruz
|
|
114
|
-
const blob = new Blob([byteArray], { type: 'application/pdf' });
|
|
115
|
-
|
|
116
|
-
// Blob'tan URL oluşturup yeni sekmede açıyoruz (veya download edebilirsin)
|
|
117
|
-
this.blobUrl = URL.createObjectURL(blob);
|
|
118
|
-
this.pdfSrc = this.bypassAndSanitize(this.blobUrl);
|
|
119
|
-
},
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
bypassAndSanitize(url): SafeResourceUrl {
|
|
124
|
-
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
downloadPdf(blobUrl) {
|
|
128
|
-
const a = document.createElement('a');
|
|
129
|
-
a.href = blobUrl;
|
|
130
|
-
const parts = blobUrl.split('/');
|
|
131
|
-
const lastPart = parts.pop(); // "myfile.pdf"
|
|
132
|
-
a.download = lastPart + '.pdf'; // Kaydedilecek dosya adı
|
|
133
|
-
a.style.display = 'none';
|
|
134
|
-
|
|
135
|
-
// iOS'ta desteklenmesi için target=_blank eklenebilir
|
|
136
|
-
a.target = '_blank';
|
|
137
|
-
|
|
138
|
-
// DOM'a ekleyip tıklat
|
|
139
|
-
document.body.appendChild(a);
|
|
140
|
-
a.click();
|
|
141
|
-
document.body.removeChild(a);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
receiptFromProductions: ReceiptFromProductions[];
|
|
145
|
-
|
|
146
|
-
async getReceiptFromProductions() {
|
|
147
|
-
if (!this.isEmriBarkodu) {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
this.isLoading = true;
|
|
152
|
-
|
|
153
|
-
this.service.getReceiptFromProductions(this.isEmriBarkodu + '').subscribe({
|
|
154
|
-
next: response => {
|
|
155
|
-
if (response?.isSuccessful) {
|
|
156
|
-
this.receiptFromProductions = response.items;
|
|
157
|
-
this.receiptFromProductions.forEach((item: ReceiptFromProductions) => {
|
|
158
|
-
item.docDateString = this.formatDate(item.docDate);
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
setTimeout(() => {
|
|
162
|
-
if (this.receiptFromProductions?.length === 1) {
|
|
163
|
-
const key = this.receiptFromProductions[0];
|
|
164
|
-
this.dataGrid.instance.selectRows([key], false);
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
} else {
|
|
168
|
-
this.confirmation.status$.subscribe({
|
|
169
|
-
next: () => {
|
|
170
|
-
this.clearAll();
|
|
171
|
-
},
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
error: e => {
|
|
176
|
-
this.confirmation.status$.subscribe({
|
|
177
|
-
next: () => {
|
|
178
|
-
this.clearAll();
|
|
179
|
-
},
|
|
180
|
-
});
|
|
181
|
-
},
|
|
182
|
-
});
|
|
183
|
-
|
|
184
|
-
this.isLoading = false;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
selectedReceiptFromProductions: ReceiptFromProductions;
|
|
188
|
-
|
|
189
|
-
selectReceiptFromProductions(e) {
|
|
190
|
-
e.component.byKey(e.currentSelectedRowKeys[0]).done(receiptFromProductions => {
|
|
191
|
-
if (receiptFromProductions) {
|
|
192
|
-
this.selectedReceiptFromProductions = receiptFromProductions;
|
|
193
|
-
}
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
formatDate(date: Date): string {
|
|
198
|
-
if (!date) return '';
|
|
199
|
-
|
|
200
|
-
const pad = (n: number) => n.toString().padStart(2, '0');
|
|
201
|
-
const d = new Date(date);
|
|
202
|
-
|
|
203
|
-
const day = pad(d.getDate());
|
|
204
|
-
const month = pad(d.getMonth() + 1); // Aylar 0-indexli
|
|
205
|
-
const year = d.getFullYear();
|
|
206
|
-
const hour = pad(d.getHours());
|
|
207
|
-
const minute = pad(d.getMinutes());
|
|
208
|
-
|
|
209
|
-
return `${day}/${month}/${year} ${hour}:${minute}`;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
focusOnBarkodNumarasi() {
|
|
213
|
-
this.ngZone.run(() => {
|
|
214
|
-
setTimeout(() => {
|
|
215
|
-
this.nmbBoxBarkodNumarasi.instance.focus();
|
|
216
|
-
}, 0);
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import {CoreModule} from '@abp/ng.core';
|
|
2
|
-
import {ThemeSharedModule} from '@abp/ng.theme.shared';
|
|
3
|
-
import {NgModule} from '@angular/core';
|
|
4
|
-
import {
|
|
5
|
-
NgbCollapseModule,
|
|
6
|
-
NgbDatepickerModule,
|
|
7
|
-
NgbDropdownModule,
|
|
8
|
-
} from '@ng-bootstrap/ng-bootstrap';
|
|
9
|
-
import {NgxValidateCoreModule} from '@ngx-validate/core';
|
|
10
|
-
import {CommercialUiModule} from '@volo/abp.commercial.ng.ui';
|
|
11
|
-
import {PageModule} from '@abp/ng.components/page';
|
|
12
|
-
import {HitCreateBarcodesComponent} from "./hit-create-barcodes.component";
|
|
13
|
-
import {HitCreateBarcodesRoutingModule} from "./hit-create-barcodes-routing.module";
|
|
14
|
-
import {DxButtonModule, DxDataGridModule, DxNumberBoxModule, DxTextBoxModule} from "devextreme-angular";
|
|
15
|
-
|
|
16
|
-
@NgModule({
|
|
17
|
-
declarations: [HitCreateBarcodesComponent],
|
|
18
|
-
imports: [
|
|
19
|
-
HitCreateBarcodesRoutingModule,
|
|
20
|
-
CoreModule,
|
|
21
|
-
ThemeSharedModule,
|
|
22
|
-
CommercialUiModule,
|
|
23
|
-
NgxValidateCoreModule,
|
|
24
|
-
NgbCollapseModule,
|
|
25
|
-
NgbDatepickerModule,
|
|
26
|
-
NgbDropdownModule,
|
|
27
|
-
PageModule,
|
|
28
|
-
DxButtonModule,
|
|
29
|
-
DxNumberBoxModule,
|
|
30
|
-
DxTextBoxModule,
|
|
31
|
-
DxDataGridModule,
|
|
32
|
-
],
|
|
33
|
-
})
|
|
34
|
-
export class HitCreateBarcodesModule {
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export function loadHitCreateBarcodesAsChild() {
|
|
38
|
-
return Promise.resolve(HitCreateBarcodesModule);
|
|
39
|
-
}
|
package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions-routing.module.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {AuthGuard, PermissionGuard} from '@abp/ng.core';
|
|
2
|
-
import {NgModule} from '@angular/core';
|
|
3
|
-
import {RouterModule, Routes} from '@angular/router';
|
|
4
|
-
import {HitIssuesForProductionsComponent} from "./hit-issues-for-productions.component";
|
|
5
|
-
|
|
6
|
-
const routes: Routes = [
|
|
7
|
-
{
|
|
8
|
-
path: '',
|
|
9
|
-
component: HitIssuesForProductionsComponent,
|
|
10
|
-
canActivate: [AuthGuard, PermissionGuard],
|
|
11
|
-
},
|
|
12
|
-
];
|
|
13
|
-
|
|
14
|
-
@NgModule({
|
|
15
|
-
imports: [RouterModule.forChild(routes)],
|
|
16
|
-
exports: [RouterModule],
|
|
17
|
-
})
|
|
18
|
-
export class HitIssuesForProductionsRoutingModule {
|
|
19
|
-
}
|
package/src/lib/components/hit-issues-for-productions/hit-issues-for-productions.component.html
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
<abp-page [breadcrumb]="false">
|
|
2
|
-
<abp-page-toolbar-container class="col">
|
|
3
|
-
<div class="row">
|
|
4
|
-
<h3 class="page-title">
|
|
5
|
-
{{ 'UretimYonetimi::IssuesForProductions.Title' | abpLocalization }}
|
|
6
|
-
</h3>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="row text-lg-end pt-2">
|
|
9
|
-
<div class="col-8">
|
|
10
|
-
<button class="btn btn-success btn-sm" type="button" (click)="postIssuesForProduction()"
|
|
11
|
-
[disabled]="!isEmriBarkoduGecerliMi">
|
|
12
|
-
<i class="fa fa-plus me-1"></i>
|
|
13
|
-
{{ 'UretimYonetimi::IssuesForProductions.Create' | abpLocalization }}
|
|
14
|
-
</button>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-4">
|
|
17
|
-
<button class="btn btn-warning btn-sm" type="button" (click)="clearAll()">
|
|
18
|
-
<i class="fa fa-broom me-1"></i>
|
|
19
|
-
{{ 'UretimYonetimi::IssuesForProductions.Clean' | abpLocalization }}
|
|
20
|
-
</button>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</abp-page-toolbar-container>
|
|
24
|
-
<div class="card mt-2">
|
|
25
|
-
<div class="card-body">
|
|
26
|
-
<div style="display: flex; align-items: center;">
|
|
27
|
-
<dx-number-box #barkodNumarasiRef class="me-1" style="width:100%;"
|
|
28
|
-
[label]="'UretimYonetimi::IssuesForProductions.WorkOrderNo' | abpLocalization" [(value)]="isEmriBarkodu"
|
|
29
|
-
(onChange)="getProductionOrder()" (onEnterKey)="getProductionOrder()" [disabled]="searcheBasildiMi || isEmriBarkoduGecerliMi">
|
|
30
|
-
</dx-number-box>
|
|
31
|
-
<dx-button style="margin-top: 7.5px;" icon="search" type="default" (onClick)="getProductionOrder()"
|
|
32
|
-
[disabled]="searcheBasildiMi || isEmriBarkoduGecerliMi">
|
|
33
|
-
</dx-button>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="mt-3" *ngIf="isEmriBarkoduGecerliMi">
|
|
36
|
-
<dx-text-box style="width:100%;"
|
|
37
|
-
[label]="'UretimYonetimi::IssuesForProductions.WorkOrderName' | abpLocalization"
|
|
38
|
-
[(value)]="productionOrder.productDescription" [disabled]="true">
|
|
39
|
-
</dx-text-box>
|
|
40
|
-
<dx-text-box style="width:100%;"
|
|
41
|
-
[label]="'UretimYonetimi::IssuesForProductions.Boiler' | abpLocalization"
|
|
42
|
-
[(value)]="productionOrder.u_Kazan" [disabled]="true">
|
|
43
|
-
</dx-text-box>
|
|
44
|
-
<dx-number-box style="width:100%;" [label]="'UretimYonetimi::IssuesForProductions.PlannedQty' | abpLocalization"
|
|
45
|
-
[(value)]="productionOrder.plannedQuantity" [disabled]="true"
|
|
46
|
-
[format]="HitHelper.getMeasurementFormatted(unitOfMeasure)">
|
|
47
|
-
</dx-number-box>
|
|
48
|
-
|
|
49
|
-
<div style="display: flex; align-items: center;">
|
|
50
|
-
<dx-text-box #hammaddeQRRef style="width:100%;" class="me-1"
|
|
51
|
-
[label]="'UretimYonetimi::IssuesForProductions.IssueQRCode' | abpLocalization" [maxLength]="256"
|
|
52
|
-
[(value)]="hammaddeQR" (onEnterKey)="parseAndAddQR()"
|
|
53
|
-
[placeholder]="'UretimYonetimi::IssuesForProductions.IssueQRCode.Placeholder' | abpLocalization">
|
|
54
|
-
</dx-text-box>
|
|
55
|
-
<dx-button style="margin-top: 7.5px;" icon="plus" type="default" (onClick)="parseAndAddQR()">
|
|
56
|
-
</dx-button>
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
<div *ngIf="productionOrder.getProductionOrderLine?.length" class="mt-3">
|
|
60
|
-
<dx-data-grid #getProductionOrderLineGrid [dataSource]="productionOrder.getProductionOrderLine"
|
|
61
|
-
[showBorders]="true" [columnAutoWidth]="true" [sorting]="{ mode: 'none' }"
|
|
62
|
-
(onRowPrepared)="onRowPrepared($event)">
|
|
63
|
-
<dxi-column dataField="itemName"
|
|
64
|
-
caption="{{'UretimYonetimi::IssuesForProductions.ItemName' | abpLocalization}}"></dxi-column>
|
|
65
|
-
<dxi-column cellTemplate="templateQty"
|
|
66
|
-
caption="{{ 'UretimYonetimi::IssuesForProductions.Quantity' | abpLocalization }}"
|
|
67
|
-
dataType="number"></dxi-column>
|
|
68
|
-
<dxi-column cellTemplate="templatePlannedQty"
|
|
69
|
-
caption="{{'UretimYonetimi::IssuesForProductions.PlannedQty' | abpLocalization}}"
|
|
70
|
-
dataType="number"></dxi-column>
|
|
71
|
-
<dxi-column cellTemplate="templateIssuedQty"
|
|
72
|
-
caption="{{'UretimYonetimi::IssuesForProductions.CompletedQty' | abpLocalization}}"
|
|
73
|
-
dataType="number"></dxi-column>
|
|
74
|
-
<dxi-column dataField="itemCode"
|
|
75
|
-
caption="{{'UretimYonetimi::IssuesForProductions.ItemCode' | abpLocalization}}"
|
|
76
|
-
[width]="150"></dxi-column>
|
|
77
|
-
<dxi-column dataField="batchNumber"
|
|
78
|
-
caption="{{'UretimYonetimi::IssuesForProductions.BatchNumber' | abpLocalization}}"
|
|
79
|
-
[width]="120"></dxi-column>
|
|
80
|
-
<dxi-column dataField="warehouse"
|
|
81
|
-
caption="{{'UretimYonetimi::IssuesForProductions.Warehouse' | abpLocalization}}" [width]="120">
|
|
82
|
-
|
|
83
|
-
<dxo-lookup [dataSource]="warehouses" displayExpr="whsName" valueExpr="whsCode">
|
|
84
|
-
</dxo-lookup>
|
|
85
|
-
</dxi-column>
|
|
86
|
-
<div *dxTemplate="let data of 'templateQty'">
|
|
87
|
-
{{ HitHelper.getMeasurementFormattedWithLocalization(data.key.quantity, data.key.unitOfMeasurement) }}
|
|
88
|
-
</div>
|
|
89
|
-
<div *dxTemplate="let data of 'templatePlannedQty'">
|
|
90
|
-
{{ HitHelper.getMeasurementFormattedWithLocalization(data.key.plannedQty, data.key.unitOfMeasurement) }}
|
|
91
|
-
</div>
|
|
92
|
-
<div *dxTemplate="let data of 'templateIssuedQty'">
|
|
93
|
-
{{ HitHelper.getMeasurementFormattedWithLocalization(data.key.issuedQty, data.key.unitOfMeasurement) }}
|
|
94
|
-
</div>
|
|
95
|
-
</dx-data-grid>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
</abp-page>
|