@things-factory/operato-wms 4.3.0 → 4.4.0-alpha.0
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/client/pages/constants/index.js +0 -1
- package/client/pages/constants/setting.js +0 -1
- package/client/pages/inbound/unload-product.js +5 -9
- package/client/pages/inventory/inventory-adjustment-approval.js +9 -24
- package/client/pages/inventory/inventory-adjustment.js +13 -79
- package/client/pages/master/product/product-list.js +1 -1
- package/client/pages/order/arrival-notice/arrival-notice-detail.js +2 -0
- package/client/pages/order/arrival-notice/receive-arrival-notice.js +2 -0
- package/client/pages/order/goods-received-note/customer-received-note.js +0 -3
- package/client/pages/order/goods-received-note/received-note-detail.js +0 -3
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +30 -21
- package/client/pages/order/release-order/bulk-print-packing-list.js +0 -4
- package/client/pages/order/release-order/receive-release-order-request.js +2 -0
- package/client/pages/order/release-order/release-order-detail.js +26 -44
- package/client/pages/order/return-order/receive-return-order-requests.js +2 -0
- package/client/pages/order/transfer-order/receive-transfer-order-request.js +1 -1
- package/client/pages/order/transport-order/print-delivery-note.js +1 -0
- package/client/pages/order/transport-order/view-delivery-note.js +1 -1
- package/client/pages/order/vas-order/receive-vas-order.js +2 -0
- package/client/pages/outbound/inventory-assign-popup.js +2 -7
- package/client/pages/outbound/inventory-auto-assign-popup.js +1 -2
- package/client/pages/outbound/loading-product.js +3 -35
- package/client/pages/outbound/packing-product.js +5 -38
- package/client/pages/outbound/packing-worksheet-list.js +0 -15
- package/client/pages/outbound/picking-product.js +10 -142
- package/client/pages/outbound/single-outbound-worksheet.js +22 -10
- package/client/pages/outbound/sorting-product.js +12 -72
- package/client/pages/outbound/worksheet-batch-picking.js +2 -9
- package/client/pages/outbound/worksheet-packing.js +2 -7
- package/client/pages/outbound/worksheet-picking.js +2 -9
- package/client/pages/report/inventory-summary-report.js +0 -8
- package/client/pages/report/outbound-order-details-report.js +0 -18
- package/client/pages/vas/print-product-label.js +6 -15
- package/client/route.js +0 -12
- package/dist-server/entities/index.js +1 -2
- package/dist-server/entities/index.js.map +1 -1
- package/dist-server/graphql/index.js +5 -1
- package/dist-server/graphql/index.js.map +1 -1
- package/dist-server/graphql/resolvers/board-setting/board-settings.js +1 -2
- package/dist-server/graphql/resolvers/board-setting/board-settings.js.map +1 -1
- package/dist-server/graphql/resolvers/index.js +7 -4
- package/dist-server/graphql/resolvers/index.js.map +1 -1
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js +1 -3
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js.map +1 -1
- package/dist-server/graphql/types/index.js +8 -5
- package/dist-server/graphql/types/index.js.map +1 -1
- package/dist-server/graphql/types/reports/outbound-order-details-report.js +0 -2
- package/dist-server/graphql/types/reports/outbound-order-details-report.js.map +1 -1
- package/dist-server/index.js +5 -2
- package/dist-server/index.js.map +1 -1
- package/dist-server/opa-app-setting-constants.js +1 -2
- package/dist-server/opa-app-setting-constants.js.map +1 -1
- package/dist-server/utils/index.js +5 -1
- package/dist-server/utils/index.js.map +1 -1
- package/helps/release-note.ko.md +8 -10
- package/helps/release-note.md +8 -10
- package/helps/release-note.ms.md +8 -10
- package/helps/release-note.zh.md +8 -10
- package/package.json +66 -66
- package/server/entities/index.ts +2 -2
- package/server/graphql/resolvers/board-setting/board-settings.ts +2 -4
- package/server/graphql/resolvers/index.ts +2 -3
- package/server/graphql/resolvers/reports/outbound-order-details-report.ts +2 -6
- package/server/graphql/types/index.ts +4 -4
- package/server/graphql/types/reports/outbound-order-details-report.ts +0 -2
- package/server/index.ts +1 -2
- package/server/opa-app-setting-constants.ts +0 -1
- package/things-factory.config.js +0 -13
- package/translations/en.json +8 -48
- package/translations/ko.json +1 -35
- package/translations/ms.json +1 -35
- package/translations/zh.json +1 -35
- package/client/constants/index.js +0 -1
- package/client/constants/order.js +0 -14
- package/client/pages/constants/tote.js +0 -14
- package/client/pages/master/tote-list.js +0 -740
- package/client/pages/order/draft-release-good/draft-release-good-detail.js +0 -1163
- package/client/pages/order/draft-release-good/draft-release-good-list.js +0 -546
- package/client/pages/outbound/order-remark-popup.js +0 -112
- package/client/pages/outbound/tote-popup.js +0 -461
- package/dist-server/entities/warehouse-bizplace-onhand-inventory.js +0 -168
- package/dist-server/entities/warehouse-bizplace-onhand-inventory.js.map +0 -1
- package/dist-server/graphql/resolvers/warehouse-inventory-adjustment/index.js +0 -6
- package/dist-server/graphql/resolvers/warehouse-inventory-adjustment/index.js.map +0 -1
- package/dist-server/graphql/resolvers/warehouse-inventory-adjustment/warehouse-intentory-adjustment.js +0 -58
- package/dist-server/graphql/resolvers/warehouse-inventory-adjustment/warehouse-intentory-adjustment.js.map +0 -1
- package/dist-server/graphql/types/warehouse-inventory-adjustment/index.js +0 -9
- package/dist-server/graphql/types/warehouse-inventory-adjustment/index.js.map +0 -1
- package/server/entities/warehouse-bizplace-onhand-inventory.ts +0 -141
- package/server/graphql/resolvers/warehouse-inventory-adjustment/index.ts +0 -5
- package/server/graphql/resolvers/warehouse-inventory-adjustment/warehouse-intentory-adjustment.ts +0 -68
- package/server/graphql/types/warehouse-inventory-adjustment/index.ts +0 -5
|
@@ -2,7 +2,6 @@ import '@things-factory/barcode-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
import './show-ro-list-popup'
|
|
4
4
|
import '../components/worksheet-information-popup'
|
|
5
|
-
import './tote-popup'
|
|
6
5
|
|
|
7
6
|
import gql from 'graphql-tag'
|
|
8
7
|
import { css, html } from 'lit-element'
|
|
@@ -26,13 +25,10 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
26
25
|
_selectedTaskStatus: String,
|
|
27
26
|
_worksheetInfo: Object,
|
|
28
27
|
_selectedReleaseGood: Object,
|
|
29
|
-
_enableToteScanning: Boolean,
|
|
30
|
-
bizplaceName: String,
|
|
31
28
|
config: Object,
|
|
32
29
|
data: Object,
|
|
33
30
|
releaseOrders: Array,
|
|
34
|
-
taskNo: String
|
|
35
|
-
toteNo: String
|
|
31
|
+
taskNo: String
|
|
36
32
|
}
|
|
37
33
|
}
|
|
38
34
|
|
|
@@ -77,34 +73,19 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
77
73
|
var actions = []
|
|
78
74
|
|
|
79
75
|
if (this.taskNo) {
|
|
80
|
-
if (this._enableToteScanning) {
|
|
81
|
-
actions.push({
|
|
82
|
-
title: i18next.t('button.tote'),
|
|
83
|
-
action: this._openTotePopup.bind(this),
|
|
84
|
-
...CommonButtonStyles.activate
|
|
85
|
-
})
|
|
86
|
-
}
|
|
87
76
|
actions.push({
|
|
88
77
|
title: i18next.t('button.release_orders'),
|
|
89
78
|
action: this._openSelectReleaseOrderPopup.bind(this),
|
|
90
79
|
...CommonButtonStyles.inspect
|
|
91
80
|
})
|
|
92
81
|
|
|
93
|
-
if (this.completed) {
|
|
82
|
+
if (this.completed && this.releaseGoodNoInput?.value) {
|
|
94
83
|
actions.push({
|
|
95
84
|
title: i18next.t('button.order_sorted'),
|
|
96
85
|
action: this._completeOrderSorting.bind(this),
|
|
97
86
|
...CommonButtonStyles.submit
|
|
98
87
|
})
|
|
99
88
|
}
|
|
100
|
-
|
|
101
|
-
if (this.releaseOrders?.length == 0) {
|
|
102
|
-
actions.push({
|
|
103
|
-
title: i18next.t('button.complete'),
|
|
104
|
-
action: this._completeSortingWorksheet.bind(this),
|
|
105
|
-
...CommonButtonStyles.submit
|
|
106
|
-
})
|
|
107
|
-
}
|
|
108
89
|
}
|
|
109
90
|
|
|
110
91
|
return {
|
|
@@ -395,7 +376,6 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
395
376
|
@ro-selected=${e => {
|
|
396
377
|
this._selectedReleaseGood = e.detail.ro
|
|
397
378
|
this._fetchItemList(this._selectedReleaseGood?.name)
|
|
398
|
-
this.toteNo = ''
|
|
399
379
|
}}
|
|
400
380
|
></show-ro-list-popup>
|
|
401
381
|
`,
|
|
@@ -420,28 +400,6 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
420
400
|
)
|
|
421
401
|
}
|
|
422
402
|
|
|
423
|
-
_openTotePopup() {
|
|
424
|
-
openPopup(
|
|
425
|
-
html`
|
|
426
|
-
<tote-popup
|
|
427
|
-
.orderNo="${this._selectedReleaseGood?.name}"
|
|
428
|
-
.toteNo="${this.toteNo}"
|
|
429
|
-
.bizplace="${this.bizplaceName}"
|
|
430
|
-
@completed="${async e => {
|
|
431
|
-
this.toteNo = e.detail
|
|
432
|
-
}}"
|
|
433
|
-
></tote-popup>
|
|
434
|
-
`,
|
|
435
|
-
{
|
|
436
|
-
closable: false,
|
|
437
|
-
backdrop: false,
|
|
438
|
-
escapable: false,
|
|
439
|
-
size: 'large',
|
|
440
|
-
title: i18next.t('title.tote_scanning')
|
|
441
|
-
}
|
|
442
|
-
)
|
|
443
|
-
}
|
|
444
|
-
|
|
445
403
|
async _fetchItemList(releaseOrderNo) {
|
|
446
404
|
const response = await client.query({
|
|
447
405
|
query: gql`
|
|
@@ -487,26 +445,21 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
487
445
|
if (!response.errors) {
|
|
488
446
|
const { worksheetInfo, worksheetDetailInfos } = response.data.sortingWorksheet
|
|
489
447
|
this._worksheetInfo = worksheetInfo
|
|
490
|
-
this.bizplaceName = worksheetInfo.bizplaceName
|
|
491
448
|
|
|
492
449
|
this.data = { records: this.formatWorksheetDetailInfos(worksheetDetailInfos) }
|
|
493
450
|
if (!this._selectedOrderInventory) {
|
|
494
451
|
this._selectedOrderInventory = worksheetDetailInfos[0]
|
|
495
452
|
this._isRequireSerialNumberScanningOutbound = worksheetDetailInfos[0].isRequireSerialNumberScanningOutbound
|
|
496
453
|
}
|
|
497
|
-
this._enableProductScanning = await fetchSettingRule('enable-product-scanning', worksheetInfo.partnerDomainId)
|
|
498
|
-
this._enableToteScanning = await fetchSettingRule('enable-tote-scanning', worksheetInfo.partnerDomainId)
|
|
499
|
-
|
|
500
454
|
this.updateContext()
|
|
501
455
|
this._completeHandler()
|
|
502
456
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
} else this._focusOnSortingQtyInput()
|
|
457
|
+
this._enableProductScanning = await fetchSettingRule('enable-product-scanning', worksheetInfo.partnerDomainId)
|
|
458
|
+
|
|
459
|
+
if (this._isRequireSerialNumberScanningOutbound) this._focusOnSerialInput()
|
|
460
|
+
else if (this._enableProductScanning && !this._isRequireSerialNumberScanningOutbound)
|
|
461
|
+
this._focusOnProductBarcodeInput()
|
|
462
|
+
else this._focusOnSortingQtyInput()
|
|
510
463
|
}
|
|
511
464
|
}
|
|
512
465
|
|
|
@@ -527,12 +480,6 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
527
480
|
this.serialInput.value = ''
|
|
528
481
|
}
|
|
529
482
|
|
|
530
|
-
if (this._enableProductScanning) {
|
|
531
|
-
this.productBarcodeInput.value = ''
|
|
532
|
-
} else if (!this._enableProductScanning && !this._isRequireSerialNumberScanningOutbound) {
|
|
533
|
-
this.sortingQtyInput.value = ''
|
|
534
|
-
}
|
|
535
|
-
|
|
536
483
|
if (!response.errors) {
|
|
537
484
|
this._fetchItemList(this._selectedReleaseGood?.name)
|
|
538
485
|
}
|
|
@@ -550,7 +497,6 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
550
497
|
$productId: String!
|
|
551
498
|
$sortingQty: Float!
|
|
552
499
|
$serialNumber: String
|
|
553
|
-
$toteNo: String
|
|
554
500
|
) {
|
|
555
501
|
sortingProduct(
|
|
556
502
|
taskNo: $taskNo
|
|
@@ -558,7 +504,6 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
558
504
|
productId: $productId
|
|
559
505
|
sortingQty: $sortingQty
|
|
560
506
|
serialNumber: $serialNumber
|
|
561
|
-
toteNo: $toteNo
|
|
562
507
|
)
|
|
563
508
|
}
|
|
564
509
|
`,
|
|
@@ -567,8 +512,7 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
567
512
|
releaseGoodNo: this._selectedReleaseGood?.name,
|
|
568
513
|
productId: this._selectedOrderInventory?.product.id,
|
|
569
514
|
sortingQty: this._isRequireSerialNumberScanningOutbound ? 1 : parseFloat(this.sortingQtyInput.value),
|
|
570
|
-
serialNumber: this._isRequireSerialNumberScanningOutbound ? this.serialInput.value.trim() : null
|
|
571
|
-
toteNo: this._enableToteScanning && this.toteNo !== '' ? this.toteNo : null
|
|
515
|
+
serialNumber: this._isRequireSerialNumberScanningOutbound ? this.serialInput.value.trim() : null
|
|
572
516
|
}
|
|
573
517
|
})
|
|
574
518
|
}
|
|
@@ -581,14 +525,12 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
581
525
|
$releaseGoodNo: String!
|
|
582
526
|
$productBarcode: String!
|
|
583
527
|
$serialNumber: String
|
|
584
|
-
$toteNo: String
|
|
585
528
|
) {
|
|
586
529
|
scanProductSorting(
|
|
587
530
|
taskNo: $taskNo
|
|
588
531
|
releaseGoodNo: $releaseGoodNo
|
|
589
532
|
productBarcode: $productBarcode
|
|
590
533
|
serialNumber: $serialNumber
|
|
591
|
-
toteNo: $toteNo
|
|
592
534
|
)
|
|
593
535
|
}
|
|
594
536
|
`,
|
|
@@ -596,8 +538,7 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
596
538
|
taskNo: this.taskNo,
|
|
597
539
|
releaseGoodNo: this._selectedReleaseGood?.name,
|
|
598
540
|
productBarcode: this.productBarcodeInput.value.trim(),
|
|
599
|
-
serialNumber: this._isRequireSerialNumberScanningOutbound ? this.serialInput.value.trim() : null
|
|
600
|
-
toteNo: this._enableToteScanning && this.toteNo !== '' ? this.toteNo : null
|
|
541
|
+
serialNumber: this._isRequireSerialNumberScanningOutbound ? this.serialInput.value.trim() : null
|
|
601
542
|
}
|
|
602
543
|
})
|
|
603
544
|
}
|
|
@@ -635,7 +576,6 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
635
576
|
this._showToast({ message: i18next.t('text.current_release_order_sorting_completed') })
|
|
636
577
|
this._selectedOrderInventory = null
|
|
637
578
|
await this._fetchReleaseOrderList(this.taskNo)
|
|
638
|
-
this.updateContext()
|
|
639
579
|
}
|
|
640
580
|
} catch (e) {
|
|
641
581
|
this._showToast
|
|
@@ -658,7 +598,8 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
658
598
|
await CustomAlert({
|
|
659
599
|
title: i18next.t('title.sorting'),
|
|
660
600
|
text: i18next.t('text.sorting_is_completed'),
|
|
661
|
-
confirmButton: { text: i18next.t('button.complete') }
|
|
601
|
+
confirmButton: { text: i18next.t('button.complete') },
|
|
602
|
+
cancelButton: { text: i18next.t('button.cancel') }
|
|
662
603
|
})
|
|
663
604
|
this._clearView()
|
|
664
605
|
}
|
|
@@ -729,7 +670,6 @@ class SortingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
729
670
|
this._selectedOrderInventory = null
|
|
730
671
|
this._selectedTaskStatus = null
|
|
731
672
|
this.serialInput.value = ''
|
|
732
|
-
this.toteNo = ''
|
|
733
673
|
}
|
|
734
674
|
|
|
735
675
|
_showToast({ type, message }) {
|
|
@@ -264,8 +264,7 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
264
264
|
uom: record.uom,
|
|
265
265
|
releaseQty: record.releaseQty,
|
|
266
266
|
releaseUomValue: record.releaseUomValue,
|
|
267
|
-
completed: record.completed
|
|
268
|
-
orderProductId: record.orderProduct.id
|
|
267
|
+
completed: record.completed
|
|
269
268
|
}
|
|
270
269
|
|
|
271
270
|
this.updateContext()
|
|
@@ -297,8 +296,7 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
297
296
|
packingSize: record.packingSize,
|
|
298
297
|
uom: record.uom,
|
|
299
298
|
releaseQty: record.releaseQty,
|
|
300
|
-
releaseUomValue: record.releaseUomValue
|
|
301
|
-
orderProductId: record.orderProduct.id
|
|
299
|
+
releaseUomValue: record.releaseUomValue
|
|
302
300
|
}
|
|
303
301
|
this._showInventoryAssignPopup()
|
|
304
302
|
}
|
|
@@ -504,10 +502,6 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
504
502
|
bizplace {
|
|
505
503
|
id
|
|
506
504
|
}
|
|
507
|
-
orderProduct {
|
|
508
|
-
id
|
|
509
|
-
name
|
|
510
|
-
}
|
|
511
505
|
packingType
|
|
512
506
|
packingSize
|
|
513
507
|
uom
|
|
@@ -997,7 +991,6 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
997
991
|
.uom="${this._selectedProduct.uom}"
|
|
998
992
|
.releaseQty="${this._selectedProduct.releaseQty}"
|
|
999
993
|
.releaseUomValue="${this._selectedProduct.releaseUomValue}"
|
|
1000
|
-
.orderProductId="${this._selectedProduct.orderProductId}"
|
|
1001
994
|
@completed="${async () => {
|
|
1002
995
|
this._spinner(true)
|
|
1003
996
|
|
|
@@ -173,9 +173,6 @@ class WorksheetPacking extends localize(i18next)(PageView) {
|
|
|
173
173
|
<label>${i18next.t('label.tracking_no')}</label>
|
|
174
174
|
<input name="trackingNo" readonly />
|
|
175
175
|
|
|
176
|
-
<label>${i18next.t('label.order_remark')}</label>
|
|
177
|
-
<textarea name="remark" rows="5" readonly></textarea>
|
|
178
|
-
|
|
179
176
|
<label>${i18next.t('label.status')}</label>
|
|
180
177
|
<select name="status" disabled>
|
|
181
178
|
${Object.keys(WORKSHEET_STATUS).map(
|
|
@@ -312,7 +309,6 @@ class WorksheetPacking extends localize(i18next)(PageView) {
|
|
|
312
309
|
refNo3
|
|
313
310
|
ownTransport
|
|
314
311
|
releaseDate
|
|
315
|
-
remark
|
|
316
312
|
}
|
|
317
313
|
marketplaceOrder {
|
|
318
314
|
name
|
|
@@ -412,8 +408,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
|
|
|
412
408
|
ownCollection: worksheet.releaseGood.ownTransport,
|
|
413
409
|
releaseDate: worksheet.releaseGood.releaseDate,
|
|
414
410
|
shippingProvider: worksheet.marketplaceOrder?.shippingProvider || '',
|
|
415
|
-
trackingNo: worksheet.marketplaceOrder?.trackingNo || ''
|
|
416
|
-
remark: worksheet.releaseGood.remark || ''
|
|
411
|
+
trackingNo: worksheet.marketplaceOrder?.trackingNo || ''
|
|
417
412
|
})
|
|
418
413
|
|
|
419
414
|
this.worksheetDetailData = {
|
|
@@ -464,7 +459,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
|
|
|
464
459
|
|
|
465
460
|
_fillupForm(data) {
|
|
466
461
|
for (let key in data) {
|
|
467
|
-
Array.from(this.form.querySelectorAll('input, select
|
|
462
|
+
Array.from(this.form.querySelectorAll('input, select')).forEach(field => {
|
|
468
463
|
if (field.name === key && field.type === 'checkbox') {
|
|
469
464
|
field.checked = data[key]
|
|
470
465
|
} else if (field.name === key) {
|
|
@@ -347,8 +347,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
347
347
|
releaseQty: record.releaseQty,
|
|
348
348
|
releaseUomValue: record.releaseUomValue,
|
|
349
349
|
availableQty: record.availableQty,
|
|
350
|
-
completed: record.completed
|
|
351
|
-
orderProductId: record.orderProduct.id
|
|
350
|
+
completed: record.completed
|
|
352
351
|
}
|
|
353
352
|
|
|
354
353
|
this.updateContext()
|
|
@@ -379,8 +378,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
379
378
|
packingSize: record.packingSize,
|
|
380
379
|
releaseQty: record.releaseQty,
|
|
381
380
|
releaseUomValue: record.releaseUomValue,
|
|
382
|
-
uom: record.uom
|
|
383
|
-
orderProductId: record.orderProduct.id
|
|
381
|
+
uom: record.uom
|
|
384
382
|
}
|
|
385
383
|
this._showInventoryAssignPopup()
|
|
386
384
|
}
|
|
@@ -673,10 +671,6 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
673
671
|
brand
|
|
674
672
|
pickingStrategy
|
|
675
673
|
}
|
|
676
|
-
orderProduct {
|
|
677
|
-
id
|
|
678
|
-
name
|
|
679
|
-
}
|
|
680
674
|
packingType
|
|
681
675
|
packingSize
|
|
682
676
|
uom
|
|
@@ -1208,7 +1202,6 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
1208
1202
|
.uom="${this._selectedProduct.uom}"
|
|
1209
1203
|
.releaseQty="${this._selectedProduct.releaseQty}"
|
|
1210
1204
|
.releaseUomValue="${this._selectedProduct.releaseUomValue}"
|
|
1211
|
-
.orderProductId="${this._selectedProduct.orderProductId}"
|
|
1212
1205
|
@completed="${async () => {
|
|
1213
1206
|
await this.fetchOrderInventories()
|
|
1214
1207
|
await this.fetchWorksheetDetails(
|
|
@@ -271,13 +271,6 @@ class InventorySummaryReport extends connect(store)(localize(i18next)(PageView))
|
|
|
271
271
|
header: i18next.t('field.outbound_qty'),
|
|
272
272
|
width: 140
|
|
273
273
|
},
|
|
274
|
-
{
|
|
275
|
-
type: 'float',
|
|
276
|
-
name: 'missingQty',
|
|
277
|
-
record: { align: 'center' },
|
|
278
|
-
header: i18next.t('field.missing_qty'),
|
|
279
|
-
width: 140
|
|
280
|
-
},
|
|
281
274
|
{
|
|
282
275
|
type: 'float',
|
|
283
276
|
name: 'closingQty',
|
|
@@ -303,7 +296,6 @@ class InventorySummaryReport extends connect(store)(localize(i18next)(PageView))
|
|
|
303
296
|
'openingQty',
|
|
304
297
|
'totalInQty',
|
|
305
298
|
'totalOutQty',
|
|
306
|
-
'missingQty',
|
|
307
299
|
'closingQty'
|
|
308
300
|
]
|
|
309
301
|
},
|
|
@@ -450,18 +450,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
450
450
|
header: i18next.t('field.packed_at'),
|
|
451
451
|
width: 170
|
|
452
452
|
},
|
|
453
|
-
{
|
|
454
|
-
type: 'string',
|
|
455
|
-
name: 'checkedRemarkBy',
|
|
456
|
-
header: i18next.t('field.remark_checked_by'),
|
|
457
|
-
width: 170
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
type: 'datetime',
|
|
461
|
-
name: 'checkedRemarkAt',
|
|
462
|
-
header: i18next.t('field.remark_checked_at'),
|
|
463
|
-
width: 170
|
|
464
|
-
},
|
|
465
453
|
{
|
|
466
454
|
type: 'string',
|
|
467
455
|
name: 'loadedBy',
|
|
@@ -527,8 +515,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
527
515
|
'pickedBy',
|
|
528
516
|
'packedAt',
|
|
529
517
|
'packedBy',
|
|
530
|
-
'checkedRemarkBy',
|
|
531
|
-
'checkedRemarkAt',
|
|
532
518
|
'loadedAt',
|
|
533
519
|
'loadedBy',
|
|
534
520
|
'shippedAt'
|
|
@@ -648,8 +634,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
648
634
|
pickedBy
|
|
649
635
|
packedAt
|
|
650
636
|
packedBy
|
|
651
|
-
checkedRemarkAt
|
|
652
|
-
checkedRemarkBy
|
|
653
637
|
loadedAt
|
|
654
638
|
loadedBy
|
|
655
639
|
shippedAt
|
|
@@ -800,8 +784,6 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
800
784
|
{ header: i18next.t('field.picked_at'), key: 'pickedAt', width: 15, type: 'string' },
|
|
801
785
|
{ header: i18next.t('field.packed_by'), key: 'packedBy', width: 15, type: 'string' },
|
|
802
786
|
{ header: i18next.t('field.packed_at'), key: 'packedAt', width: 15, type: 'string' },
|
|
803
|
-
{ header: i18next.t('field.remark_checked_by'), key: 'checkedRemarkBy', width: 15, type: 'string' },
|
|
804
|
-
{ header: i18next.t('field.remark_checked_at'), key: 'checkedRemarkAt', width: 15, type: 'string' },
|
|
805
787
|
{ header: i18next.t('field.loaded_by'), key: 'loadedBy', width: 15, type: 'string' },
|
|
806
788
|
{ header: i18next.t('field.loaded_at'), key: 'loadedAt', width: 15, type: 'string' },
|
|
807
789
|
{ header: i18next.t('field.shipped_at'), key: 'shippedAt', width: 15, type: 'string' }
|
|
@@ -786,21 +786,12 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
|
|
|
786
786
|
}
|
|
787
787
|
} catch (ex) {
|
|
788
788
|
this._showToast({ level: 'error', message: ex })
|
|
789
|
+
|
|
789
790
|
delete this.printer
|
|
790
791
|
break
|
|
791
792
|
} finally {
|
|
792
793
|
// we only need to update when the counter is more than 0
|
|
793
|
-
if (printCounter > 0)
|
|
794
|
-
try {
|
|
795
|
-
await this._updatePrintedLabelSequence(record.type, printCounter, record.bizplaceId)
|
|
796
|
-
} catch (e) {
|
|
797
|
-
this._showToast({
|
|
798
|
-
level: 'error',
|
|
799
|
-
message: i18next.t('text.unable_to_save_print_history_x', { state: { counter: printCounter } })
|
|
800
|
-
})
|
|
801
|
-
return
|
|
802
|
-
}
|
|
803
|
-
}
|
|
794
|
+
if (printCounter > 0) await this._updatePrintedLabelSequence(record.type, printCounter, record.bizplaceId)
|
|
804
795
|
}
|
|
805
796
|
}
|
|
806
797
|
}
|
|
@@ -810,8 +801,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
|
|
|
810
801
|
try {
|
|
811
802
|
await client.mutate({
|
|
812
803
|
mutation: gql`
|
|
813
|
-
mutation
|
|
814
|
-
|
|
804
|
+
mutation updateInsertSequence($type: String!, $counter: Int, $bizplaceId: String!) {
|
|
805
|
+
updateInsertSequence(type: $type, counter: $counter, bizplaceId: $bizplaceId) {
|
|
815
806
|
pattern
|
|
816
807
|
seq
|
|
817
808
|
}
|
|
@@ -823,8 +814,8 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
|
|
|
823
814
|
bizplaceId
|
|
824
815
|
}
|
|
825
816
|
})
|
|
826
|
-
} catch (
|
|
827
|
-
|
|
817
|
+
} catch (e) {
|
|
818
|
+
this._showToast({ message: e })
|
|
828
819
|
}
|
|
829
820
|
}
|
|
830
821
|
|
package/client/route.js
CHANGED
|
@@ -41,10 +41,6 @@ export default function route(page) {
|
|
|
41
41
|
import('./pages/master/product/product-list')
|
|
42
42
|
return page
|
|
43
43
|
|
|
44
|
-
case 'totes':
|
|
45
|
-
import('./pages/master/tote-list')
|
|
46
|
-
return page
|
|
47
|
-
|
|
48
44
|
/**
|
|
49
45
|
* Order Menus Section
|
|
50
46
|
*/
|
|
@@ -522,13 +518,5 @@ export default function route(page) {
|
|
|
522
518
|
case 'bulk_operation':
|
|
523
519
|
import('./pages/bulk-operation/bulk-operation')
|
|
524
520
|
return page
|
|
525
|
-
|
|
526
|
-
case 'draft_release_goods':
|
|
527
|
-
import('./pages/order/draft-release-good/draft-release-good-list')
|
|
528
|
-
return page
|
|
529
|
-
|
|
530
|
-
case 'draft_release_good_detail':
|
|
531
|
-
import('./pages/order/draft-release-good/draft-release-good-detail')
|
|
532
|
-
return page
|
|
533
521
|
}
|
|
534
522
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.entities = void 0;
|
|
4
|
-
|
|
5
|
-
exports.entities = [warehouse_bizplace_onhand_inventory_1.WarehouseBizplaceOnhandInventory];
|
|
4
|
+
exports.entities = [];
|
|
6
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/entities/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/entities/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,EAAE,CAAA"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AACnC,uDAAwC;AAE3B,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS;CACV,CAAA"}
|
|
@@ -32,8 +32,7 @@ exports.boardSettingsResolver = {
|
|
|
32
32
|
HOME_BOARD,
|
|
33
33
|
opa_app_setting_constants_1.CARTON_LABEL_SETTING_KEY,
|
|
34
34
|
opa_app_setting_constants_1.INTENALIZED_AWB_SETTING_KEY,
|
|
35
|
-
opa_app_setting_constants_1.ROUTE_LABEL_SETTING_KEY
|
|
36
|
-
opa_app_setting_constants_1.TOTE_LABEL_SETTING_KEY
|
|
35
|
+
opa_app_setting_constants_1.ROUTE_LABEL_SETTING_KEY
|
|
37
36
|
];
|
|
38
37
|
var qb = queryBuilder
|
|
39
38
|
// .innerJoin(Board, 'Board', 'Board.id = CAST(Setting.value AS uuid)')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-settings.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/board-setting/board-settings.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAEvC,yDAAgD;AAChD,iEAAqD;AACrD,+DAAsD;AAGtD,
|
|
1
|
+
{"version":3,"file":"board-settings.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/board-setting/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Binding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -29,7 +33,6 @@ const OpaMenu = __importStar(require("./opa-menu"));
|
|
|
29
33
|
const Reports = __importStar(require("./reports"));
|
|
30
34
|
const InventoryComparison = __importStar(require("./inventory-comparison"));
|
|
31
35
|
const ShippingProviders = __importStar(require("./shipping-provider"));
|
|
32
|
-
const WarehouseInventoryAdjustment = __importStar(require("./warehouse-inventory-adjustment"));
|
|
33
36
|
exports.queries = [
|
|
34
37
|
BoardSetting.Query,
|
|
35
38
|
CustomElccl.Query,
|
|
@@ -38,7 +41,7 @@ exports.queries = [
|
|
|
38
41
|
OpaMenu.Query,
|
|
39
42
|
Reports.Query,
|
|
40
43
|
InventoryComparison.Query,
|
|
41
|
-
ShippingProviders.Query
|
|
44
|
+
ShippingProviders.Query
|
|
42
45
|
];
|
|
43
|
-
exports.mutations = [Extra.Mutation
|
|
46
|
+
exports.mutations = [Extra.Mutation];
|
|
44
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/resolvers/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/resolvers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA+C;AAC/C,4DAA6C;AAC7C,8DAA+C;AAC/C,uDAAwC;AACxC,+CAAgC;AAChC,oDAAqC;AACrC,mDAAoC;AACpC,4EAA6D;AAC7D,uEAAwD;AAE3C,QAAA,OAAO,GAAG;IACrB,YAAY,CAAC,KAAK;IAClB,WAAW,CAAC,KAAK;IACjB,YAAY,CAAC,KAAK;IAClB,SAAS,CAAC,KAAK;IACf,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;IACb,mBAAmB,CAAC,KAAK;IACzB,iBAAiB,CAAC,KAAK;CACxB,CAAA;AAEY,QAAA,SAAS,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA"}
|
|
@@ -49,7 +49,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
49
49
|
do2.name AS "delivery_order_no", do2.delivery_date as "delivery_order_date",
|
|
50
50
|
do2."to", do2.contact_point_ref_id,
|
|
51
51
|
rg.name AS "ro_no", rg."type" as "ro_type", rg.ref_no AS "ref_no_1", rg.ref_no_2 AS "ref_no_2", rg.ref_no_3 AS "ref_no_3", rg.status as "ro_status",
|
|
52
|
-
rg.created_at AS "order_created_at", rg.accepted_at, u4.name as accepted_by,
|
|
52
|
+
rg.created_at AS "order_created_at", rg.accepted_at, u4.name as accepted_by,
|
|
53
53
|
p.id as "product_id", p.sku as "product_sku", p.name AS "product_name", p.description AS "product_description", p.type as "product_type",
|
|
54
54
|
i.packing_type as "pack_type", i.packing_size as "pack_size", oi.release_qty AS "release_qty",
|
|
55
55
|
oi.picked_at, oi.picked_by, oi.packed_at, oi.packed_by, oi.loaded_at, oi.loaded_by, oi.shipped_at,
|
|
@@ -170,8 +170,6 @@ exports.outboundOrderDetailsReport = {
|
|
|
170
170
|
pickedBy: itm.picked_by,
|
|
171
171
|
packedAt: itm.packed_at,
|
|
172
172
|
packedBy: itm.packed_by,
|
|
173
|
-
checkedRemarkBy: itm.checked_remark_by,
|
|
174
|
-
checkedRemarkAt: itm.checked_remark_at,
|
|
175
173
|
loadedAt: itm.loaded_at,
|
|
176
174
|
loadedBy: itm.loaded_by,
|
|
177
175
|
shippedAt: itm.shipped_at
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACtE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAClE,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACpE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAChE,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAC5D,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAC5D,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QA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,MAAM,EAAE,CAAC,KAAK,CACZ;;;6BAGqB,QAAQ,CAAC,EAAE,wBAAwB,QAAQ,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"outbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/outbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,0BAA0B,GAAG;IACxC,KAAK,CAAC,0BAA0B,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACtE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAClE,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACpE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAChE,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAC5D,IAAI,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAC5D,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,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B;oBACtC,oBAAoB,EAAE,GAAG,CAAC,uBAAuB;oBACjD,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,OAAO,EAAE,GAAG,CAAC,QAAQ;oBACrB,UAAU,EAAE,GAAG,CAAC,YAAY;oBAC5B,cAAc,EAAE,GAAG,CAAC,eAAe;oBACnC,eAAe,EAAE,GAAG,CAAC,gBAAgB;oBACrC,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,SAAS,EAAE,GAAG,CAAC,UAAU;iBAC1B,CAAA;YACH,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -29,7 +33,6 @@ const OpaMenu = __importStar(require("./opa-menu"));
|
|
|
29
33
|
const Reports = __importStar(require("./reports"));
|
|
30
34
|
const InventoryComparison = __importStar(require("./inventory-comparison"));
|
|
31
35
|
const ShippingProvider = __importStar(require("./shipping-provider"));
|
|
32
|
-
const WarehouseInventory = __importStar(require("./warehouse-inventory-adjustment"));
|
|
33
36
|
exports.queries = [
|
|
34
37
|
BoardSetting.Query,
|
|
35
38
|
CustomElccl.Query,
|
|
@@ -38,9 +41,9 @@ exports.queries = [
|
|
|
38
41
|
OpaMenu.Query,
|
|
39
42
|
Reports.Query,
|
|
40
43
|
InventoryComparison.Query,
|
|
41
|
-
ShippingProvider.Query
|
|
44
|
+
ShippingProvider.Query
|
|
42
45
|
];
|
|
43
|
-
exports.mutations = [Extra.Mutation
|
|
46
|
+
exports.mutations = [Extra.Mutation];
|
|
44
47
|
exports.types = [
|
|
45
48
|
...BoardSetting.Types,
|
|
46
49
|
...CustomElccl.Types,
|
|
@@ -48,6 +51,6 @@ exports.types = [
|
|
|
48
51
|
...OpaMenu.Types,
|
|
49
52
|
...Reports.Types,
|
|
50
53
|
...InventoryComparison.Types,
|
|
51
|
-
...ShippingProvider.Types
|
|
54
|
+
...ShippingProvider.Types
|
|
52
55
|
];
|
|
53
56
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA+C;AAC/C,4DAA6C;AAC7C,8DAA+C;AAC/C,uDAAwC;AACxC,+CAAgC;AAChC,oDAAqC;AACrC,mDAAoC;AACpC,4EAA6D;AAC7D,sEAAuD;AAE1C,QAAA,OAAO,GAAG;IACrB,YAAY,CAAC,KAAK;IAClB,WAAW,CAAC,KAAK;IACjB,YAAY,CAAC,KAAK;IAClB,SAAS,CAAC,KAAK;IACf,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,KAAK;IACb,mBAAmB,CAAC,KAAK;IACzB,gBAAgB,CAAC,KAAK;CACvB,CAAA;AAEY,QAAA,SAAS,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;AAE5B,QAAA,KAAK,GAAG;IACnB,GAAG,YAAY,CAAC,KAAK;IACrB,GAAG,WAAW,CAAC,KAAK;IACpB,GAAG,SAAS,CAAC,KAAK;IAClB,GAAG,OAAO,CAAC,KAAK;IAChB,GAAG,OAAO,CAAC,KAAK;IAChB,GAAG,mBAAmB,CAAC,KAAK;IAC5B,GAAG,gBAAgB,CAAC,KAAK;CAC1B,CAAA"}
|