@things-factory/operato-wms 4.1.24 → 4.1.27
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/adjustment/transfer-inventory.js +8 -4
- package/client/pages/bulk-operation/bulk-operation.js +12 -5
- package/client/pages/bulk-operation/validate-gan-popup.js +6 -6
- package/client/pages/inventory/inventory-adjustment-approval.js +21 -7
- package/client/pages/inventory/inventory-adjustment.js +99 -54
- package/client/pages/order/arrival-notice/arrival-notice-detail.js +16 -11
- package/client/pages/order/arrival-notice/create-arrival-notice.js +25 -24
- package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +31 -30
- package/client/pages/order/arrival-notice/edit-product-popup.js +20 -32
- package/client/pages/order/arrival-notice/proceed-edit-product-popup.js +4 -4
- package/client/pages/order/arrival-notice/view-product-changes-popup.js +4 -4
- package/client/pages/report/inbound-order-details-report.js +9 -8
- package/client/pages/report/outbound-order-details-report.js +9 -8
- package/dist-server/graphql/resolvers/reports/inbound-order-details-report.js +2 -2
- package/dist-server/graphql/resolvers/reports/outbound-order-details-report.js +2 -2
- package/dist-server/graphql/types/reports/inbound-order-details-report.js +1 -1
- package/dist-server/graphql/types/reports/outbound-order-details-report.js +1 -1
- package/package.json +38 -38
- package/server/graphql/resolvers/reports/inbound-order-details-report.ts +2 -2
- package/server/graphql/resolvers/reports/outbound-order-details-report.ts +2 -2
- package/server/graphql/types/reports/inbound-order-details-report.ts +1 -1
- package/server/graphql/types/reports/outbound-order-details-report.ts +1 -1
- package/translations/en.json +5 -2
- package/translations/ko.json +5 -1
- package/translations/ms.json +5 -1
- package/translations/zh.json +5 -1
|
@@ -357,7 +357,7 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
357
357
|
<div class="button-div">
|
|
358
358
|
<mwc-button
|
|
359
359
|
id="button-add-products"
|
|
360
|
-
label=${i18next.t('button.
|
|
360
|
+
label=${i18next.t('button.bulk_select_products')}
|
|
361
361
|
raised
|
|
362
362
|
@click=${e => this._openBulkProductSelection(0)}
|
|
363
363
|
?disabled=${!this._showAddProducts}
|
|
@@ -710,11 +710,11 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
710
710
|
width: 80
|
|
711
711
|
},
|
|
712
712
|
{
|
|
713
|
-
type: '
|
|
714
|
-
name: '
|
|
715
|
-
header: i18next.t('field.
|
|
716
|
-
record: { editable: editable
|
|
717
|
-
width:
|
|
713
|
+
type: 'date',
|
|
714
|
+
name: 'manufactureDate',
|
|
715
|
+
header: i18next.t('field.manufacture_date'),
|
|
716
|
+
record: { editable: editable },
|
|
717
|
+
width: 120
|
|
718
718
|
},
|
|
719
719
|
{
|
|
720
720
|
type: 'string',
|
|
@@ -859,19 +859,6 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
859
859
|
}
|
|
860
860
|
}
|
|
861
861
|
|
|
862
|
-
if (changedColumn === 'manufactureYear') {
|
|
863
|
-
let manufactureYear = changeRecord.manufactureYear
|
|
864
|
-
const regExp = /^(181[2-9]|18[2-9]\d|19\d\d|2\d{3}|30[0-3]\d|304[0-8])$/
|
|
865
|
-
|
|
866
|
-
if (typeof manufactureYear === undefined || !regExp.test(manufactureYear)) {
|
|
867
|
-
if (manufactureYear === 0) {
|
|
868
|
-
delete event.detail.after[event.detail.column.name]
|
|
869
|
-
} else {
|
|
870
|
-
throw new Error(i18next.t('text.invalid_x', { state: { x: i18next.t('label.manufacture_year') } }))
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
|
|
875
862
|
if (changedColumn === 'unitPrice') {
|
|
876
863
|
let unitPrice = changeRecord.unitPrice
|
|
877
864
|
if (typeof unitPrice === undefined || unitPrice < 0) {
|
|
@@ -879,6 +866,16 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
879
866
|
}
|
|
880
867
|
}
|
|
881
868
|
|
|
869
|
+
if (changedColumn === 'manufactureDate') {
|
|
870
|
+
let manufactureDate = new Date(changeRecord.manufactureDate)
|
|
871
|
+
let today = new Date()
|
|
872
|
+
|
|
873
|
+
if (manufactureDate > today) {
|
|
874
|
+
delete event.detail.after[event.detail.column.name]
|
|
875
|
+
throw Error(i18next.t('text.manufacture-date-cannot-be-later-than-today'))
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
|
|
882
879
|
this._updateVasTargets(true)
|
|
883
880
|
} catch (e) {
|
|
884
881
|
const beforeValue = event.detail.before && event.detail.before[event.detail.column.name]
|
|
@@ -1074,7 +1071,7 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1074
1071
|
adjustedTotalUomValue
|
|
1075
1072
|
palletQty
|
|
1076
1073
|
adjustedPalletQty
|
|
1077
|
-
|
|
1074
|
+
manufactureDate
|
|
1078
1075
|
releaseQty
|
|
1079
1076
|
releaseUomValue
|
|
1080
1077
|
}
|
|
@@ -1437,7 +1434,7 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1437
1434
|
totalUomValue: record?.totalUomValue ? record?.totalUomValue : 0,
|
|
1438
1435
|
unitPrice: record?.unitPrice ? record.unitPrice : 0,
|
|
1439
1436
|
remark: record?.remark ? record.remark : null,
|
|
1440
|
-
|
|
1437
|
+
manufactureDate: record?.manufactureDate ? record.manufactureDate : null
|
|
1441
1438
|
}
|
|
1442
1439
|
|
|
1443
1440
|
if (record.palletQty) orderProduct.palletQty = record.palletQty
|
|
@@ -1677,11 +1674,11 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1677
1674
|
width: 100
|
|
1678
1675
|
},
|
|
1679
1676
|
{
|
|
1680
|
-
type: '
|
|
1681
|
-
name: '
|
|
1682
|
-
header: i18next.t('field.
|
|
1683
|
-
imex: { header: i18next.t('field.
|
|
1684
|
-
width:
|
|
1677
|
+
type: 'date',
|
|
1678
|
+
name: 'manufactureDate',
|
|
1679
|
+
header: i18next.t('field.manufacture_date'),
|
|
1680
|
+
imex: { header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 25, type: 'string' },
|
|
1681
|
+
width: 120
|
|
1685
1682
|
},
|
|
1686
1683
|
{
|
|
1687
1684
|
type: 'string',
|
|
@@ -1738,7 +1735,7 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1738
1735
|
totalUomValue
|
|
1739
1736
|
packQty
|
|
1740
1737
|
palletQty
|
|
1741
|
-
|
|
1738
|
+
manufactureDate
|
|
1742
1739
|
batchId
|
|
1743
1740
|
batchIdRef
|
|
1744
1741
|
unitPrice
|
|
@@ -1767,7 +1764,6 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1767
1764
|
...item,
|
|
1768
1765
|
productName: item?.productName,
|
|
1769
1766
|
unitPrice: parseFloat(item.unitPrice) || '',
|
|
1770
|
-
manufactureYear: parseFloat(item.manufactureYear) || '',
|
|
1771
1767
|
packQty: parseFloat(item.packQty) || '',
|
|
1772
1768
|
palletQty: parseFloat(item.palletQty) || ''
|
|
1773
1769
|
}
|
|
@@ -1791,7 +1787,13 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1791
1787
|
async importHandler(patches) {
|
|
1792
1788
|
patches.map(itm => {
|
|
1793
1789
|
itm.unitPrice = parseFloat(itm.unitPrice) || ''
|
|
1794
|
-
|
|
1790
|
+
if (itm.manufactureDate) {
|
|
1791
|
+
let mdt = new Date(itm.manufactureDate)
|
|
1792
|
+
itm.manufactureDate =
|
|
1793
|
+
mdt < new Date() ? `${mdt.getFullYear()}-${mdt.getMonth() + 1}-${mdt.getDate()}` || '' : ''
|
|
1794
|
+
} else {
|
|
1795
|
+
delete itm.manufactureDate
|
|
1796
|
+
}
|
|
1795
1797
|
itm.packQty = parseFloat(itm.packQty) || ''
|
|
1796
1798
|
itm.palletQty = parseFloat(itm.palletQty) || ''
|
|
1797
1799
|
})
|
|
@@ -1805,7 +1807,6 @@ class DuplicateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1805
1807
|
return {
|
|
1806
1808
|
...patch,
|
|
1807
1809
|
unitPrice: parseFloat(patch.unitPrice) || 0,
|
|
1808
|
-
manufactureYear: parseFloat(patch.manufactureYear) || 0,
|
|
1809
1810
|
packQty: parseFloat(patch.packQty) || 0,
|
|
1810
1811
|
palletQty: parseFloat(patch.palletQty) || 0
|
|
1811
1812
|
}
|
|
@@ -74,7 +74,8 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
74
74
|
editProductConfig: Object,
|
|
75
75
|
addProductConfig: Object,
|
|
76
76
|
productData: Object,
|
|
77
|
-
newProductData: Object
|
|
77
|
+
newProductData: Object,
|
|
78
|
+
strictEditable: Boolean
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
|
|
@@ -143,7 +144,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
143
144
|
'packQty',
|
|
144
145
|
'totalUomValue',
|
|
145
146
|
'palletQty',
|
|
146
|
-
'
|
|
147
|
+
'manufactureDate',
|
|
147
148
|
'batchIdRef',
|
|
148
149
|
'unitPrice',
|
|
149
150
|
'remark',
|
|
@@ -180,21 +181,21 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
180
181
|
type: 'code',
|
|
181
182
|
name: 'packingType',
|
|
182
183
|
header: i18next.t('field.packing_type'),
|
|
183
|
-
record: { editable:
|
|
184
|
+
record: { editable: !this.strictEditable, codeName: 'PACKING_TYPES' },
|
|
184
185
|
width: 150
|
|
185
186
|
},
|
|
186
187
|
{
|
|
187
188
|
type: 'float',
|
|
188
189
|
name: 'uomValue',
|
|
189
190
|
header: i18next.t('field.uom_value'),
|
|
190
|
-
record: { options: { min: 0 } },
|
|
191
|
+
record: { editable: !this.strictEditable, options: { min: 0 } },
|
|
191
192
|
width: 80
|
|
192
193
|
},
|
|
193
194
|
{
|
|
194
195
|
type: 'code',
|
|
195
196
|
name: 'uom',
|
|
196
197
|
header: i18next.t('field.uom'),
|
|
197
|
-
record: { codeName: 'WEIGHT_UNITS' },
|
|
198
|
+
record: { editable: !this.strictEditable, codeName: 'WEIGHT_UNITS' },
|
|
198
199
|
width: 80
|
|
199
200
|
},
|
|
200
201
|
{
|
|
@@ -218,11 +219,11 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
218
219
|
width: 80
|
|
219
220
|
},
|
|
220
221
|
{
|
|
221
|
-
type: '
|
|
222
|
-
name: '
|
|
223
|
-
header: i18next.t('field.
|
|
222
|
+
type: 'date',
|
|
223
|
+
name: 'manufactureDate',
|
|
224
|
+
header: i18next.t('field.manufacture_date'),
|
|
224
225
|
record: { editable: true },
|
|
225
|
-
width:
|
|
226
|
+
width: 120
|
|
226
227
|
},
|
|
227
228
|
{
|
|
228
229
|
type: 'string',
|
|
@@ -267,7 +268,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
267
268
|
'packQty',
|
|
268
269
|
'totalUomValue',
|
|
269
270
|
'palletQty',
|
|
270
|
-
'
|
|
271
|
+
'manufactureDate',
|
|
271
272
|
'batchIdRef',
|
|
272
273
|
'unitPrice',
|
|
273
274
|
'remark'
|
|
@@ -315,21 +316,21 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
315
316
|
type: 'code',
|
|
316
317
|
name: 'packingType',
|
|
317
318
|
header: i18next.t('field.packing_type'),
|
|
318
|
-
record: { codeName: 'PACKING_TYPES' },
|
|
319
|
+
record: { editable: !this.strictEditable, codeName: 'PACKING_TYPES' },
|
|
319
320
|
width: 150
|
|
320
321
|
},
|
|
321
322
|
{
|
|
322
323
|
type: 'float',
|
|
323
324
|
name: 'uomValue',
|
|
324
325
|
header: i18next.t('field.uom_value'),
|
|
325
|
-
record: { editable:
|
|
326
|
+
record: { editable: !this.strictEditable, options: { min: 0 } },
|
|
326
327
|
width: 80
|
|
327
328
|
},
|
|
328
329
|
{
|
|
329
330
|
type: 'code',
|
|
330
331
|
name: 'uom',
|
|
331
332
|
header: i18next.t('field.uom'),
|
|
332
|
-
record: { editable:
|
|
333
|
+
record: { editable: !this.strictEditable, codeName: 'WEIGHT_UNITS' },
|
|
333
334
|
width: 80
|
|
334
335
|
},
|
|
335
336
|
{
|
|
@@ -353,11 +354,11 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
353
354
|
width: 80
|
|
354
355
|
},
|
|
355
356
|
{
|
|
356
|
-
type: '
|
|
357
|
-
name: '
|
|
358
|
-
header: i18next.t('field.
|
|
357
|
+
type: 'date',
|
|
358
|
+
name: 'manufactureDate',
|
|
359
|
+
header: i18next.t('field.manufacture_date'),
|
|
359
360
|
record: { editable: true },
|
|
360
|
-
width:
|
|
361
|
+
width: 120
|
|
361
362
|
},
|
|
362
363
|
{
|
|
363
364
|
type: 'string',
|
|
@@ -415,19 +416,6 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
415
416
|
}
|
|
416
417
|
}
|
|
417
418
|
|
|
418
|
-
if (changedColumn === 'manufactureYear') {
|
|
419
|
-
let manufactureYear = changeRecord.manufactureYear
|
|
420
|
-
const regExp = /^(181[2-9]|18[2-9]\d|19\d\d|2\d{3}|30[0-3]\d|304[0-8])$/
|
|
421
|
-
|
|
422
|
-
if (typeof manufactureYear === undefined || !regExp.test(manufactureYear)) {
|
|
423
|
-
if (manufactureYear === 0) {
|
|
424
|
-
delete event.detail.after[event.detail.column.name]
|
|
425
|
-
} else {
|
|
426
|
-
throw new Error(i18next.t('text.invalid_x', { state: { x: i18next.t('label.manufacture_year') } }))
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
|
|
431
419
|
if (changedColumn === 'unitPrice') {
|
|
432
420
|
let unitPrice = changeRecord.unitPrice
|
|
433
421
|
if (typeof unitPrice === undefined || unitPrice < 0) {
|
|
@@ -660,7 +648,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
660
648
|
adjustedPackQty: record.packQty,
|
|
661
649
|
totalUomValue: 'N/A',
|
|
662
650
|
adjustedTotalUomValue: record?.totalUomValue ? record.totalUomValue : 'N/A',
|
|
663
|
-
|
|
651
|
+
manufactureDate: record?.manufactureDate ? record.manufactureDate : null,
|
|
664
652
|
batchIdRef: 'N/A',
|
|
665
653
|
adjustedBatchIdRef: record?.batchIdRef ? record.batchIdRef : null,
|
|
666
654
|
unitPrice: 0,
|
|
@@ -686,7 +674,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
686
674
|
adjustedUom: record.uom === record.__origin__.uom ? null : record.uom,
|
|
687
675
|
adjustedPackQty: record.packQty == record.__origin__.packQty ? null : record.packQty,
|
|
688
676
|
adjustedTotalUomValue: record.totalUomValue == record.__origin__.totalUomValue ? null : record.totalUomValue,
|
|
689
|
-
|
|
677
|
+
manufactureDate: record?.manufactureDate ? record.manufactureDate : null,
|
|
690
678
|
adjustedUnitPrice: record?.unitPrice ? record.__origin__.unitPrice : null,
|
|
691
679
|
remark: record?.remark ? record.remark : null
|
|
692
680
|
})
|
|
@@ -268,10 +268,10 @@ export class ProceedEditProductPopup extends localize(i18next)(LitElement) {
|
|
|
268
268
|
width: 80
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
|
-
type: '
|
|
272
|
-
name: '
|
|
273
|
-
header: i18next.t('field.
|
|
274
|
-
width:
|
|
271
|
+
type: 'date',
|
|
272
|
+
name: 'manufactureDate',
|
|
273
|
+
header: i18next.t('field.manufacture_date'),
|
|
274
|
+
width: 120
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
type: 'string',
|
|
@@ -244,10 +244,10 @@ export class ViewProductChangesPopup extends localize(i18next)(LitElement) {
|
|
|
244
244
|
width: 80
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
|
-
type: '
|
|
248
|
-
name: '
|
|
249
|
-
header: i18next.t('field.
|
|
250
|
-
width:
|
|
247
|
+
type: 'date',
|
|
248
|
+
name: 'manufactureDate',
|
|
249
|
+
header: i18next.t('field.manufacture_date'),
|
|
250
|
+
width: 120
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
type: 'float',
|
|
@@ -435,10 +435,10 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
435
435
|
width: 170
|
|
436
436
|
},
|
|
437
437
|
{
|
|
438
|
-
type: '
|
|
439
|
-
name: '
|
|
440
|
-
header: i18next.t('field.
|
|
441
|
-
width:
|
|
438
|
+
type: 'date',
|
|
439
|
+
name: 'manufactureDate',
|
|
440
|
+
header: i18next.t('field.manufacture_date'),
|
|
441
|
+
width: 120
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
444
|
type: 'string',
|
|
@@ -509,7 +509,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
509
509
|
'batchId',
|
|
510
510
|
'batchIdRef',
|
|
511
511
|
'expirationDate',
|
|
512
|
-
'
|
|
512
|
+
'manufactureDate',
|
|
513
513
|
'unloadedBy',
|
|
514
514
|
'unloadedAt',
|
|
515
515
|
'putawayBy',
|
|
@@ -625,7 +625,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
625
625
|
batchId
|
|
626
626
|
batchIdRef
|
|
627
627
|
expirationDate
|
|
628
|
-
|
|
628
|
+
manufactureDate
|
|
629
629
|
unloadedAt
|
|
630
630
|
unloadedBy
|
|
631
631
|
putawayAt
|
|
@@ -771,7 +771,7 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
771
771
|
{ header: i18next.t('field.batch_id_ref'), key: 'batchIdRef', width: 25, type: 'string' },
|
|
772
772
|
{ header: i18next.t('field.unloaded_at'), key: 'unloadedAt', width: 15, type: 'string' },
|
|
773
773
|
{ header: i18next.t('field.exp_date'), key: 'expirationDate', width: 15, type: 'string' },
|
|
774
|
-
{ header: i18next.t('field.
|
|
774
|
+
{ header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 15, type: 'string' },
|
|
775
775
|
{ header: i18next.t('field.putaway_by'), key: 'putawayBy', width: 15, type: 'string' },
|
|
776
776
|
{ header: i18next.t('field.putaway_at'), key: 'putawayAt', width: 15, type: 'string' }
|
|
777
777
|
]
|
|
@@ -789,7 +789,8 @@ class InboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVie
|
|
|
789
789
|
acceptedAt: itm.acceptedAt ? new Date(parseInt(itm.acceptedAt)).toLocaleString() : '',
|
|
790
790
|
unloadedAt: itm.unloadedAt ? new Date(parseInt(itm.unloadedAt)).toLocaleString() : '',
|
|
791
791
|
putawayAt: itm.putawayAt ? new Date(parseInt(itm.putawayAt)).toLocaleString() : '',
|
|
792
|
-
expirationDate: itm.expirationDate ? new Date(parseInt(itm.expirationDate)).toLocaleString() : ''
|
|
792
|
+
expirationDate: itm.expirationDate ? new Date(parseInt(itm.expirationDate)).toLocaleString() : '',
|
|
793
|
+
manufactureDate: itm.manufactureDate ? new Date(parseInt(itm.manufactureDate)).toLocaleString() : ''
|
|
793
794
|
}
|
|
794
795
|
})
|
|
795
796
|
}
|
|
@@ -378,10 +378,10 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
378
378
|
width: 170
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
|
-
type: '
|
|
382
|
-
name: '
|
|
383
|
-
header: i18next.t('field.
|
|
384
|
-
width:
|
|
381
|
+
type: 'date',
|
|
382
|
+
name: 'manufactureDate',
|
|
383
|
+
header: i18next.t('field.manufacture_date'),
|
|
384
|
+
width: 120
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
387
|
type: 'string',
|
|
@@ -463,7 +463,7 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
463
463
|
'batchId',
|
|
464
464
|
'batchIdRef',
|
|
465
465
|
'expirationDate',
|
|
466
|
-
'
|
|
466
|
+
'manufactureDate',
|
|
467
467
|
'pickedAt',
|
|
468
468
|
'pickedBy',
|
|
469
469
|
'packedAt',
|
|
@@ -571,7 +571,7 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
571
571
|
batchId
|
|
572
572
|
batchIdRef
|
|
573
573
|
expirationDate
|
|
574
|
-
|
|
574
|
+
manufactureDate
|
|
575
575
|
pickedAt
|
|
576
576
|
pickedBy
|
|
577
577
|
packedAt
|
|
@@ -712,7 +712,7 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
712
712
|
{ header: i18next.t('field.batch_id'), key: 'batchId', width: 25, type: 'string' },
|
|
713
713
|
{ header: i18next.t('field.batch_id_ref'), key: 'batchIdRef', width: 25, type: 'string' },
|
|
714
714
|
{ header: i18next.t('field.exp_date'), key: 'expirationDate', width: 15, type: 'string' },
|
|
715
|
-
{ header: i18next.t('field.
|
|
715
|
+
{ header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 15, type: 'string' },
|
|
716
716
|
{ header: i18next.t('field.picked_by'), key: 'pickedBy', width: 15, type: 'string' },
|
|
717
717
|
{ header: i18next.t('field.picked_at'), key: 'pickedAt', width: 15, type: 'string' },
|
|
718
718
|
{ header: i18next.t('field.packed_by'), key: 'packedBy', width: 15, type: 'string' },
|
|
@@ -735,7 +735,8 @@ class OutboundOrderDetailsReport extends connect(store)(localize(i18next)(PageVi
|
|
|
735
735
|
packedAt: itm.packedAt ? new Date(parseInt(itm.packedAt)).toLocaleString() : '',
|
|
736
736
|
loadedAt: itm.loadedAt ? new Date(parseInt(itm.loadedAt)).toLocaleString() : '',
|
|
737
737
|
shippedAt: itm.shippedAt ? new Date(parseInt(itm.shippedAt)).toLocaleString() : '',
|
|
738
|
-
expirationDate: itm.expirationDate ? new Date(parseInt(itm.expirationDate)).toLocaleString() : ''
|
|
738
|
+
expirationDate: itm.expirationDate ? new Date(parseInt(itm.expirationDate)).toLocaleString() : '',
|
|
739
|
+
manufactureDate: itm.manufactureDate ? new Date(parseInt(itm.manufactureDate)).toLocaleString() : ''
|
|
739
740
|
}
|
|
740
741
|
})
|
|
741
742
|
}
|
|
@@ -68,7 +68,7 @@ exports.inboundOrderDetailsReport = {
|
|
|
68
68
|
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",
|
|
69
69
|
ih.packing_type as "pack_type", op.packing_size as "pack_size",
|
|
70
70
|
ih.qty, ih.uom_value, ih.uom, ih.pallet_id, ih.carton_id, ih.batch_id, ih.batch_id_ref,
|
|
71
|
-
i.expiration_date, i.
|
|
71
|
+
i.expiration_date, i.manufacture_date,
|
|
72
72
|
ih.created_at as "unloaded_at",u2.name as "unloaded_by",
|
|
73
73
|
ih2.created_at as "putaway_at", u3.name as "putaway_by",
|
|
74
74
|
coalesce((select volume from product_details pd where pd.product_id = i.product_id and pd.packing_type = i.packing_type and pd.packing_size = i.packing_size
|
|
@@ -171,7 +171,7 @@ exports.inboundOrderDetailsReport = {
|
|
|
171
171
|
batchId: itm.batch_id,
|
|
172
172
|
batchIdRef: itm.batch_id_ref,
|
|
173
173
|
expirationDate: itm.expiration_date,
|
|
174
|
-
|
|
174
|
+
manufactureDate: itm.manufacture_date,
|
|
175
175
|
unloadedAt: itm.unloaded_at,
|
|
176
176
|
unloadedBy: itm.unloaded_by,
|
|
177
177
|
putawayAt: itm.putaway_at,
|
|
@@ -51,7 +51,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
51
51
|
oi.packing_type as "pack_type", oi.packing_size as "pack_size", oi.release_qty AS "release_qty",
|
|
52
52
|
w.started_at as "picking_start", w.ended_at as "picking_complete",
|
|
53
53
|
ih.qty as "qty", ih.uom_value as "uom_value", ih.uom, ih.pallet_id, ih.carton_id, ih.batch_id, ih.batch_id_ref,
|
|
54
|
-
i.expiration_date, i.
|
|
54
|
+
i.expiration_date, i.manufacture_date,
|
|
55
55
|
ih.created_at as "picked_at", u.name as "picked_by",
|
|
56
56
|
ih2.created_at as "packed_at", u2.name as "packed_by",
|
|
57
57
|
ih3.created_at as "loaded_at", u3.name as "loaded_by",
|
|
@@ -153,7 +153,7 @@ exports.outboundOrderDetailsReport = {
|
|
|
153
153
|
batchId: itm.batch_id,
|
|
154
154
|
batchIdRef: itm.batch_id_ref,
|
|
155
155
|
expirationDate: itm.expiration_date,
|
|
156
|
-
|
|
156
|
+
manufactureDate: itm.manufacture_date,
|
|
157
157
|
pickedAt: itm.picked_at,
|
|
158
158
|
pickedBy: itm.picked_by,
|
|
159
159
|
packedAt: itm.packed_at,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.27",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -57,56 +57,56 @@
|
|
|
57
57
|
"@operato/scene-tab": "^0.1.5",
|
|
58
58
|
"@operato/scene-table": "^0.1.5",
|
|
59
59
|
"@operato/scene-wheel-sorter": "^0.1.5",
|
|
60
|
-
"@things-factory/apptool-ui": "^4.1.
|
|
61
|
-
"@things-factory/attachment-ui": "^4.1.
|
|
62
|
-
"@things-factory/auth-ui": "^4.1.
|
|
63
|
-
"@things-factory/barcode-ui": "^4.1.
|
|
64
|
-
"@things-factory/biz-ui": "^4.1.
|
|
65
|
-
"@things-factory/board-service": "^4.1.
|
|
66
|
-
"@things-factory/board-ui": "^4.1.
|
|
67
|
-
"@things-factory/code-ui": "^4.1.
|
|
68
|
-
"@things-factory/context-ui": "^4.1.
|
|
69
|
-
"@things-factory/export-ui": "^4.1.
|
|
70
|
-
"@things-factory/export-ui-csv": "^4.1.
|
|
71
|
-
"@things-factory/export-ui-excel": "^4.1.
|
|
72
|
-
"@things-factory/fav-base": "^4.1.
|
|
73
|
-
"@things-factory/form-ui": "^4.1.
|
|
74
|
-
"@things-factory/grist-ui": "^4.1.
|
|
75
|
-
"@things-factory/help": "^4.1.
|
|
76
|
-
"@things-factory/i18n-base": "^4.1.
|
|
77
|
-
"@things-factory/id-rule-base": "^4.1.
|
|
78
|
-
"@things-factory/import-ui": "^4.1.
|
|
79
|
-
"@things-factory/import-ui-excel": "^4.1.
|
|
80
|
-
"@things-factory/menu-ui": "^4.1.
|
|
81
|
-
"@things-factory/more-ui": "^4.1.
|
|
82
|
-
"@things-factory/notification": "^4.1.
|
|
60
|
+
"@things-factory/apptool-ui": "^4.1.27",
|
|
61
|
+
"@things-factory/attachment-ui": "^4.1.27",
|
|
62
|
+
"@things-factory/auth-ui": "^4.1.27",
|
|
63
|
+
"@things-factory/barcode-ui": "^4.1.27",
|
|
64
|
+
"@things-factory/biz-ui": "^4.1.27",
|
|
65
|
+
"@things-factory/board-service": "^4.1.27",
|
|
66
|
+
"@things-factory/board-ui": "^4.1.27",
|
|
67
|
+
"@things-factory/code-ui": "^4.1.27",
|
|
68
|
+
"@things-factory/context-ui": "^4.1.27",
|
|
69
|
+
"@things-factory/export-ui": "^4.1.27",
|
|
70
|
+
"@things-factory/export-ui-csv": "^4.1.27",
|
|
71
|
+
"@things-factory/export-ui-excel": "^4.1.27",
|
|
72
|
+
"@things-factory/fav-base": "^4.1.27",
|
|
73
|
+
"@things-factory/form-ui": "^4.1.27",
|
|
74
|
+
"@things-factory/grist-ui": "^4.1.27",
|
|
75
|
+
"@things-factory/help": "^4.1.27",
|
|
76
|
+
"@things-factory/i18n-base": "^4.1.27",
|
|
77
|
+
"@things-factory/id-rule-base": "^4.1.27",
|
|
78
|
+
"@things-factory/import-ui": "^4.1.27",
|
|
79
|
+
"@things-factory/import-ui-excel": "^4.1.27",
|
|
80
|
+
"@things-factory/menu-ui": "^4.1.27",
|
|
81
|
+
"@things-factory/more-ui": "^4.1.27",
|
|
82
|
+
"@things-factory/notification": "^4.1.27",
|
|
83
83
|
"@things-factory/pdf": "^4.1.19",
|
|
84
|
-
"@things-factory/print-proxy-service": "^4.1.
|
|
85
|
-
"@things-factory/print-service": "^4.1.
|
|
86
|
-
"@things-factory/print-ui": "^4.1.
|
|
87
|
-
"@things-factory/product-base": "^4.1.
|
|
88
|
-
"@things-factory/resource-ui": "^4.1.
|
|
89
|
-
"@things-factory/sales-ui": "^4.1.
|
|
84
|
+
"@things-factory/print-proxy-service": "^4.1.27",
|
|
85
|
+
"@things-factory/print-service": "^4.1.27",
|
|
86
|
+
"@things-factory/print-ui": "^4.1.27",
|
|
87
|
+
"@things-factory/product-base": "^4.1.27",
|
|
88
|
+
"@things-factory/resource-ui": "^4.1.27",
|
|
89
|
+
"@things-factory/sales-ui": "^4.1.27",
|
|
90
90
|
"@things-factory/scene-data-transform": "^4.1.19",
|
|
91
91
|
"@things-factory/scene-excel": "^4.1.19",
|
|
92
92
|
"@things-factory/scene-firebase": "^4.1.19",
|
|
93
93
|
"@things-factory/scene-form": "^4.1.19",
|
|
94
94
|
"@things-factory/scene-google-map": "^4.1.19",
|
|
95
95
|
"@things-factory/scene-graphql": "^4.1.19",
|
|
96
|
-
"@things-factory/scene-label": "^4.1.
|
|
96
|
+
"@things-factory/scene-label": "^4.1.27",
|
|
97
97
|
"@things-factory/scene-marker": "^4.1.19",
|
|
98
98
|
"@things-factory/scene-mqtt": "^4.1.19",
|
|
99
99
|
"@things-factory/scene-restful": "^4.1.19",
|
|
100
100
|
"@things-factory/scene-visualizer": "^4.1.19",
|
|
101
|
-
"@things-factory/setting-ui": "^4.1.
|
|
102
|
-
"@things-factory/system-ui": "^4.1.
|
|
103
|
-
"@things-factory/transport-base": "^4.1.
|
|
104
|
-
"@things-factory/tutorial-ui": "^4.1.
|
|
105
|
-
"@things-factory/warehouse-base": "^4.1.
|
|
106
|
-
"@things-factory/worksheet-base": "^4.1.
|
|
101
|
+
"@things-factory/setting-ui": "^4.1.27",
|
|
102
|
+
"@things-factory/system-ui": "^4.1.27",
|
|
103
|
+
"@things-factory/transport-base": "^4.1.27",
|
|
104
|
+
"@things-factory/tutorial-ui": "^4.1.27",
|
|
105
|
+
"@things-factory/warehouse-base": "^4.1.27",
|
|
106
|
+
"@things-factory/worksheet-base": "^4.1.27"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@things-factory/builder": "^4.1.19"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "d2bcc934a52e1a2f68738ec8b56ad72503172f6f"
|
|
112
112
|
}
|
|
@@ -77,7 +77,7 @@ export const inboundOrderDetailsReport = {
|
|
|
77
77
|
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",
|
|
78
78
|
ih.packing_type as "pack_type", op.packing_size as "pack_size",
|
|
79
79
|
ih.qty, ih.uom_value, ih.uom, ih.pallet_id, ih.carton_id, ih.batch_id, ih.batch_id_ref,
|
|
80
|
-
i.expiration_date, i.
|
|
80
|
+
i.expiration_date, i.manufacture_date,
|
|
81
81
|
ih.created_at as "unloaded_at",u2.name as "unloaded_by",
|
|
82
82
|
ih2.created_at as "putaway_at", u3.name as "putaway_by",
|
|
83
83
|
coalesce((select volume from product_details pd where pd.product_id = i.product_id and pd.packing_type = i.packing_type and pd.packing_size = i.packing_size
|
|
@@ -188,7 +188,7 @@ export const inboundOrderDetailsReport = {
|
|
|
188
188
|
batchId: itm.batch_id,
|
|
189
189
|
batchIdRef: itm.batch_id_ref,
|
|
190
190
|
expirationDate: itm.expiration_date,
|
|
191
|
-
|
|
191
|
+
manufactureDate: itm.manufacture_date,
|
|
192
192
|
unloadedAt: itm.unloaded_at,
|
|
193
193
|
unloadedBy: itm.unloaded_by,
|
|
194
194
|
putawayAt: itm.putaway_at,
|
|
@@ -60,7 +60,7 @@ export const outboundOrderDetailsReport = {
|
|
|
60
60
|
oi.packing_type as "pack_type", oi.packing_size as "pack_size", oi.release_qty AS "release_qty",
|
|
61
61
|
w.started_at as "picking_start", w.ended_at as "picking_complete",
|
|
62
62
|
ih.qty as "qty", ih.uom_value as "uom_value", ih.uom, ih.pallet_id, ih.carton_id, ih.batch_id, ih.batch_id_ref,
|
|
63
|
-
i.expiration_date, i.
|
|
63
|
+
i.expiration_date, i.manufacture_date,
|
|
64
64
|
ih.created_at as "picked_at", u.name as "picked_by",
|
|
65
65
|
ih2.created_at as "packed_at", u2.name as "packed_by",
|
|
66
66
|
ih3.created_at as "loaded_at", u3.name as "loaded_by",
|
|
@@ -170,7 +170,7 @@ export const outboundOrderDetailsReport = {
|
|
|
170
170
|
batchId: itm.batch_id,
|
|
171
171
|
batchIdRef: itm.batch_id_ref,
|
|
172
172
|
expirationDate: itm.expiration_date,
|
|
173
|
-
|
|
173
|
+
manufactureDate: itm.manufacture_date,
|
|
174
174
|
pickedAt: itm.picked_at,
|
|
175
175
|
pickedBy: itm.picked_by,
|
|
176
176
|
packedAt: itm.packed_at,
|