@things-factory/operato-wms 4.1.26 → 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 +6 -6
- 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 +12 -25
- 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
|
@@ -365,7 +365,7 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
365
365
|
></barcode-scanable-input>`
|
|
366
366
|
: ``
|
|
367
367
|
: html`
|
|
368
|
-
<label class="content-title">${i18next.t('label.
|
|
368
|
+
<label class="content-title">${i18next.t('label.new_carton_id')}</label>
|
|
369
369
|
<barcode-scanable-input
|
|
370
370
|
name="newCartonId"
|
|
371
371
|
custom-input
|
|
@@ -580,9 +580,13 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
580
580
|
|
|
581
581
|
if (!response.errors) {
|
|
582
582
|
if (response.data.inventories.total == 0) {
|
|
583
|
-
if (this.refInventoryType === INVENTORY_TYPES.LOT.value)
|
|
584
|
-
|
|
585
|
-
|
|
583
|
+
if (this.refInventoryType === INVENTORY_TYPES.LOT.value) {
|
|
584
|
+
this.focusOnPalletInput()
|
|
585
|
+
throw new Error(i18next.t('text.lot_id_not_found'))
|
|
586
|
+
} else {
|
|
587
|
+
this.focusOnCartonInput()
|
|
588
|
+
throw new Error(i18next.t('text.carton_id_not_found'))
|
|
589
|
+
}
|
|
586
590
|
}
|
|
587
591
|
|
|
588
592
|
this._data = {
|
|
@@ -167,7 +167,7 @@ class BulkOperation extends localize(i18next)(PageView) {
|
|
|
167
167
|
refNo: '',
|
|
168
168
|
refNo2: '',
|
|
169
169
|
refNo3: '',
|
|
170
|
-
etaDate:
|
|
170
|
+
etaDate: new Date(),
|
|
171
171
|
truckNo: '',
|
|
172
172
|
containerNo: '',
|
|
173
173
|
containerSize: '',
|
|
@@ -181,7 +181,7 @@ class BulkOperation extends localize(i18next)(PageView) {
|
|
|
181
181
|
uom: '',
|
|
182
182
|
packQty: 0,
|
|
183
183
|
palletQty: 0,
|
|
184
|
-
|
|
184
|
+
manufactureDate: new Date(),
|
|
185
185
|
unitPrice: ''
|
|
186
186
|
}
|
|
187
187
|
]
|
|
@@ -348,7 +348,8 @@ class BulkOperation extends localize(i18next)(PageView) {
|
|
|
348
348
|
html`
|
|
349
349
|
<validate-gan-popup
|
|
350
350
|
.records=${records.map(raw => {
|
|
351
|
-
let etaDate = new Date(
|
|
351
|
+
let etaDate = new Date((raw.etaDate - (25567 + 1)) * 86400 * 1000 || NULL)
|
|
352
|
+
let mfgDate = new Date((raw.manufactureDate - (25567 + 1)) * 86400 * 1000 || NULL)
|
|
352
353
|
|
|
353
354
|
return {
|
|
354
355
|
refNo: String(raw.refNo || ''),
|
|
@@ -369,8 +370,14 @@ class BulkOperation extends localize(i18next)(PageView) {
|
|
|
369
370
|
packQty: parseInt(raw.packQty || 0),
|
|
370
371
|
palletQty: parseInt(raw.palletQty || 0),
|
|
371
372
|
unitPrice: Number(raw.unitPrice || 0),
|
|
372
|
-
|
|
373
|
-
|
|
373
|
+
manufactureDate: `${mfgDate.getFullYear()}-${(mfgDate.getMonth() + 1).toString().padStart(2, 0)}-${mfgDate
|
|
374
|
+
.getDate()
|
|
375
|
+
.toString()
|
|
376
|
+
.padStart(2, 0)}`,
|
|
377
|
+
etaDate: `${etaDate.getFullYear()}-${(etaDate.getMonth() + 1).toString().padStart(2, 0)}-${etaDate
|
|
378
|
+
.getDate()
|
|
379
|
+
.toString()
|
|
380
|
+
.padStart(2, 0)}`
|
|
374
381
|
}
|
|
375
382
|
})}
|
|
376
383
|
.bizplaceId=${this._ganBizplaceId}
|
|
@@ -109,7 +109,7 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
109
109
|
width: 150
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
|
-
type: '
|
|
112
|
+
type: 'date',
|
|
113
113
|
name: 'etaDate',
|
|
114
114
|
header: i18next.t('field.eta_date'),
|
|
115
115
|
width: 150
|
|
@@ -205,9 +205,9 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
205
205
|
width: 100
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
|
-
type: '
|
|
209
|
-
name: '
|
|
210
|
-
header: i18next.t('field.
|
|
208
|
+
type: 'date',
|
|
209
|
+
name: 'manufactureDate',
|
|
210
|
+
header: i18next.t('field.manufacture_date'),
|
|
211
211
|
width: 100
|
|
212
212
|
},
|
|
213
213
|
{
|
|
@@ -291,7 +291,7 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
291
291
|
totalUomValue
|
|
292
292
|
palletQty
|
|
293
293
|
unitPrice
|
|
294
|
-
|
|
294
|
+
manufactureDate
|
|
295
295
|
errorMsg
|
|
296
296
|
}
|
|
297
297
|
}
|
|
@@ -346,7 +346,7 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
346
346
|
packQty: raw.packQty,
|
|
347
347
|
palletQty: raw.palletQty,
|
|
348
348
|
unitPrice: raw.unitPrice,
|
|
349
|
-
|
|
349
|
+
manufactureDate: new Date(parseInt(raw.manufactureDate))
|
|
350
350
|
}
|
|
351
351
|
}),
|
|
352
352
|
bizplaceId
|
|
@@ -135,7 +135,7 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
|
|
|
135
135
|
{ column: 'uom', name: 'Uom' },
|
|
136
136
|
{ column: 'uomValue', name: 'UomValue' },
|
|
137
137
|
{ column: 'expirationDate', name: 'Exp. Date' },
|
|
138
|
-
{ column: '
|
|
138
|
+
{ column: 'manufactureDate', name: 'Mfg. Date' },
|
|
139
139
|
{ column: 'unitCost', name: 'Unit Cost' }
|
|
140
140
|
]
|
|
141
141
|
|
|
@@ -368,7 +368,7 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
|
|
|
368
368
|
status
|
|
369
369
|
transactionType
|
|
370
370
|
expirationDate
|
|
371
|
-
|
|
371
|
+
manufactureDate
|
|
372
372
|
unitCost
|
|
373
373
|
bizplace {
|
|
374
374
|
id
|
|
@@ -412,7 +412,7 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
|
|
|
412
412
|
uom
|
|
413
413
|
uomValue
|
|
414
414
|
expirationDate
|
|
415
|
-
|
|
415
|
+
manufactureDate
|
|
416
416
|
unitCost
|
|
417
417
|
}
|
|
418
418
|
lastInventoryHistory {
|
|
@@ -442,7 +442,7 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
|
|
|
442
442
|
uom
|
|
443
443
|
uomValue
|
|
444
444
|
expirationDate
|
|
445
|
-
|
|
445
|
+
manufactureDate
|
|
446
446
|
unitCost
|
|
447
447
|
}
|
|
448
448
|
createdAt
|
|
@@ -474,19 +474,33 @@ class InventoryAdjustmentApproval extends connect(store)(localize(i18next)(PageV
|
|
|
474
474
|
? this._convertUnixTimestampToDate(item?.inventory?.expirationDate)
|
|
475
475
|
: null
|
|
476
476
|
|
|
477
|
+
let inventoryChangesMfgDate = item?.manufactureDate
|
|
478
|
+
? this._convertUnixTimestampToDate(item?.manufactureDate)
|
|
479
|
+
: null
|
|
480
|
+
let lastInventoryChangesMfgDate = item?.lastInventoryHistory?.manufactureDate
|
|
481
|
+
? this._convertUnixTimestampToDate(item?.lastInventoryHistory?.manufactureDate)
|
|
482
|
+
: null
|
|
483
|
+
|
|
484
|
+
let inventoryMfgDate = item?.inventory?.manufactureDate
|
|
485
|
+
? this._convertUnixTimestampToDate(item?.inventory?.manufactureDate)
|
|
486
|
+
: null
|
|
487
|
+
|
|
477
488
|
return {
|
|
478
489
|
...item,
|
|
479
490
|
cartonId: item.inventory?.cartonId,
|
|
480
491
|
inventory: {
|
|
481
492
|
...item.inventory,
|
|
482
|
-
expirationDate: inventoryExpDate ? inventoryExpDate : null
|
|
493
|
+
expirationDate: inventoryExpDate ? inventoryExpDate : null,
|
|
494
|
+
manufactureDate: inventoryMfgDate ? inventoryMfgDate : null
|
|
483
495
|
},
|
|
484
496
|
lastInventoryHistory: {
|
|
485
497
|
...item.lastInventoryHistory,
|
|
486
|
-
expirationDate: lastInventoryChangesExpDate ? lastInventoryChangesExpDate : null
|
|
498
|
+
expirationDate: lastInventoryChangesExpDate ? lastInventoryChangesExpDate : null,
|
|
499
|
+
manufactureDate: lastInventoryChangesMfgDate ? lastInventoryChangesMfgDate : null
|
|
487
500
|
},
|
|
488
501
|
customerName: item?.inventory?.bizplace?.name || item.bizplace.name,
|
|
489
|
-
expirationDate: inventoryChangesExpDate ? inventoryChangesExpDate : null
|
|
502
|
+
expirationDate: inventoryChangesExpDate ? inventoryChangesExpDate : null,
|
|
503
|
+
manufactureDate: inventoryChangesMfgDate ? inventoryChangesMfgDate : null
|
|
490
504
|
}
|
|
491
505
|
}) || []
|
|
492
506
|
}
|
|
@@ -425,11 +425,11 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
425
425
|
width: 150
|
|
426
426
|
},
|
|
427
427
|
{
|
|
428
|
-
type: '
|
|
429
|
-
name: '
|
|
430
|
-
header: i18next.t('field.
|
|
431
|
-
imex: { header: i18next.t('field.
|
|
432
|
-
record: { editable: true
|
|
428
|
+
type: 'date',
|
|
429
|
+
name: 'manufactureDate',
|
|
430
|
+
header: i18next.t('field.manufacture_date'),
|
|
431
|
+
imex: { header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 40, type: 'date' },
|
|
432
|
+
record: { editable: true },
|
|
433
433
|
sortable: true,
|
|
434
434
|
width: 120
|
|
435
435
|
},
|
|
@@ -437,7 +437,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
437
437
|
type: 'string',
|
|
438
438
|
name: 'remark',
|
|
439
439
|
header: i18next.t('field.remark'),
|
|
440
|
-
imex: { header: i18next.t('field.remark'), key: 'remark', width: 40, type: 'string' },
|
|
441
440
|
sortable: true,
|
|
442
441
|
width: 200,
|
|
443
442
|
handlers: {
|
|
@@ -501,7 +500,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
501
500
|
packingSize
|
|
502
501
|
uom
|
|
503
502
|
uomValue
|
|
504
|
-
|
|
503
|
+
manufactureDate
|
|
505
504
|
bizplace {
|
|
506
505
|
id
|
|
507
506
|
name
|
|
@@ -586,7 +585,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
586
585
|
uomValue
|
|
587
586
|
remark
|
|
588
587
|
expirationDate
|
|
589
|
-
|
|
588
|
+
manufactureDate
|
|
590
589
|
unitCost
|
|
591
590
|
bizplace {
|
|
592
591
|
id
|
|
@@ -679,46 +678,34 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
679
678
|
}
|
|
680
679
|
|
|
681
680
|
fieldChange(e) {
|
|
681
|
+
let popUpDataGrist = e.target?.shadowRoot.querySelector('data-grist')
|
|
682
|
+
|
|
683
|
+
let item = e.target.localName == 'import-pop-up' ? popUpDataGrist : this.dataGrist
|
|
684
|
+
|
|
682
685
|
switch (e.detail.column.name) {
|
|
683
686
|
case 'uomValue':
|
|
684
|
-
if (e.detail.after < 0)
|
|
687
|
+
if (e.detail.after < 0) item._data.records[e.detail.row].uomValue = 0
|
|
685
688
|
break
|
|
686
689
|
case 'qty':
|
|
687
690
|
if (e.detail.after < 0 || !Number.isInteger(e.detail.after))
|
|
688
|
-
|
|
691
|
+
item._data.records[e.detail.row].qty = e.detail.before
|
|
689
692
|
break
|
|
690
693
|
case 'unitCost':
|
|
691
|
-
if (e.detail.after < 0)
|
|
694
|
+
if (e.detail.after < 0) item._data.records[e.detail.row].unitCost = e.detail.before
|
|
692
695
|
break
|
|
693
|
-
case '
|
|
694
|
-
if (
|
|
695
|
-
e.detail.after != 0 &&
|
|
696
|
-
(e.detail.after < 0 ||
|
|
697
|
-
!Number.isInteger(e.detail.after) ||
|
|
698
|
-
e.detail.after.toString().length < 4 ||
|
|
699
|
-
e.detail.after.toString().length > 4)
|
|
700
|
-
) {
|
|
701
|
-
this.dataGrist._data.records[e.detail.row].manufactureYear = e.detail.before == 0 ? null : e.detail.before
|
|
702
|
-
this._showToast({ type: 'error', message: 'Invalid Manufacture Year.' })
|
|
703
|
-
} else if (e.detail.after == 0) {
|
|
704
|
-
this.dataGrist._data.records[e.detail.row].manufactureYear = null
|
|
705
|
-
}
|
|
706
|
-
|
|
696
|
+
case 'manufactureDate':
|
|
697
|
+
if (new Date(e.detail.after) > new Date()) item._data.records[e.detail.row].manufactureDate = e.detail.before
|
|
707
698
|
break
|
|
708
699
|
case 'product':
|
|
709
|
-
|
|
700
|
+
item._data.records[e.detail.row].uom = e.detail.after?.uom ? e.detail.after.uom : ''
|
|
710
701
|
|
|
711
|
-
|
|
712
|
-
? e.detail.after.packingType
|
|
713
|
-
: ''
|
|
702
|
+
item._data.records[e.detail.row].packingType = e.detail.after?.packingType ? e.detail.after.packingType : ''
|
|
714
703
|
|
|
715
|
-
|
|
716
|
-
? e.detail.after.packingSize
|
|
717
|
-
: 1
|
|
704
|
+
item._data.records[e.detail.row].packingSize = e.detail.after?.packingSize ? e.detail.after.packingSize : 1
|
|
718
705
|
|
|
719
|
-
|
|
706
|
+
item._data.records[e.detail.row].brand = e.detail.after?.brand ? e.detail.after.brand : ''
|
|
720
707
|
|
|
721
|
-
|
|
708
|
+
item._data.records[e.detail.row].sku = e.detail.after?.sku ? e.detail.after.sku : ''
|
|
722
709
|
break
|
|
723
710
|
default:
|
|
724
711
|
break
|
|
@@ -775,28 +762,81 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
775
762
|
}
|
|
776
763
|
|
|
777
764
|
async importHandler(patches) {
|
|
778
|
-
|
|
779
|
-
itm
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
765
|
+
try {
|
|
766
|
+
patches.map(itm => {
|
|
767
|
+
if (itm.cuFlag == '+') {
|
|
768
|
+
if (
|
|
769
|
+
!itm.bizplace?.id ||
|
|
770
|
+
!itm.location?.id ||
|
|
771
|
+
!itm.product?.id ||
|
|
772
|
+
!itm.batchId ||
|
|
773
|
+
!itm.qty ||
|
|
774
|
+
!itm.uomValue ||
|
|
775
|
+
!itm.uom ||
|
|
776
|
+
!itm.packingType
|
|
777
|
+
) {
|
|
778
|
+
throw new Error(i18next.t('text.empty_value_in_list'))
|
|
779
|
+
}
|
|
786
780
|
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
781
|
+
if (itm.qty < 1 || itm.unitCost < 0 || itm.packingSize < 1 || itm.uomValue < 1) {
|
|
782
|
+
throw new Error(i18next.t('text.invalid_value_in_list'))
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
if (itm.manufactureYear && itm.manufactureYear < 1000) {
|
|
786
|
+
throw new Error(i18next.t('text.invalid_value_in_list'))
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
itm.qty = parseInt(itm.qty)
|
|
790
|
+
itm.packingSize = parseFloat(itm.packingSize)
|
|
791
|
+
itm.uomValue = parseFloat(itm.uomValue)
|
|
792
|
+
itm.unitCost = parseFloat(itm.unitCost)
|
|
793
|
+
|
|
794
|
+
//if user repic location after import
|
|
795
|
+
if (itm.location.zone || itm.location.row || itm.location.column) {
|
|
796
|
+
delete itm.location.zone
|
|
797
|
+
delete itm.location.row
|
|
798
|
+
delete itm.location.column
|
|
791
799
|
}
|
|
792
|
-
`,
|
|
793
|
-
variables: { patches }
|
|
794
|
-
})
|
|
795
800
|
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
801
|
+
//if user repick product after import
|
|
802
|
+
if (itm.product.productId) {
|
|
803
|
+
itm.product.id = itm.product.productId
|
|
804
|
+
delete itm.product.productId
|
|
805
|
+
delete itm.product.brand
|
|
806
|
+
delete itm.product.packingType
|
|
807
|
+
delete itm.product.packingSize
|
|
808
|
+
delete itm.product.sku
|
|
809
|
+
delete itm.product.type
|
|
810
|
+
delete itm.product.uom
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
if (itm.expirationDate) {
|
|
814
|
+
let dt = new Date(itm.expirationDate)
|
|
815
|
+
itm.expirationDate = `${dt.getFullYear()}-${dt.getMonth() + 1}-${dt.getDate()}`
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
if (itm.manufactureDate) {
|
|
819
|
+
let mdt = new Date(itm.manufactureDate)
|
|
820
|
+
itm.manufactureDate = `${mdt.getFullYear()}-${mdt.getMonth() + 1}-${mdt.getDate()}`
|
|
821
|
+
}
|
|
822
|
+
})
|
|
823
|
+
|
|
824
|
+
const response = await client.mutate({
|
|
825
|
+
mutation: gql`
|
|
826
|
+
mutation submitInventoryChanges($patches: [InventoryPatch!]!) {
|
|
827
|
+
submitInventoryChanges(patches: $patches)
|
|
828
|
+
}
|
|
829
|
+
`,
|
|
830
|
+
variables: { patches }
|
|
831
|
+
})
|
|
832
|
+
|
|
833
|
+
if (!response.errors) {
|
|
834
|
+
history.back()
|
|
835
|
+
this.dataGrist.fetch()
|
|
836
|
+
this._showToast({ message: i18next.t('text.data_submitted_for_approval') })
|
|
837
|
+
}
|
|
838
|
+
} catch (e) {
|
|
839
|
+
this._showToast(e)
|
|
800
840
|
}
|
|
801
841
|
}
|
|
802
842
|
|
|
@@ -811,6 +851,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
811
851
|
columns: [...this.config.columns.filter(column => column.imex !== undefined)]
|
|
812
852
|
}}
|
|
813
853
|
.importHandler="${this.importHandler.bind(this)}"
|
|
854
|
+
@field-change="${this.fieldChange.bind(this)}"
|
|
814
855
|
></import-pop-up>
|
|
815
856
|
`,
|
|
816
857
|
{
|
|
@@ -870,10 +911,14 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
870
911
|
})
|
|
871
912
|
|
|
872
913
|
data = data.map(item => {
|
|
873
|
-
if (item?.expirationDate
|
|
914
|
+
if (item?.expirationDate !== null && item?.expirationDate !== '') {
|
|
874
915
|
item.expirationDate = new Date(item.expirationDate).getTime()
|
|
875
916
|
}
|
|
876
917
|
|
|
918
|
+
if (item?.manufactureDate !== null && item?.manufactureDate !== '') {
|
|
919
|
+
item.manufactureDate = new Date(item.manufactureDate).getTime()
|
|
920
|
+
}
|
|
921
|
+
|
|
877
922
|
item.product.name = item.product.productInformation
|
|
878
923
|
return {
|
|
879
924
|
id: item.id,
|
|
@@ -678,10 +678,10 @@ class ArrivalNoticeDetail extends localize(i18next)(PageView) {
|
|
|
678
678
|
width: 80
|
|
679
679
|
},
|
|
680
680
|
{
|
|
681
|
-
type: '
|
|
682
|
-
name: '
|
|
683
|
-
header: i18next.t('field.
|
|
684
|
-
width:
|
|
681
|
+
type: 'date',
|
|
682
|
+
name: 'manufactureDate',
|
|
683
|
+
header: i18next.t('field.manufacture_date'),
|
|
684
|
+
width: 120
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
687
|
type: 'string',
|
|
@@ -722,7 +722,7 @@ class ArrivalNoticeDetail extends localize(i18next)(PageView) {
|
|
|
722
722
|
'packQty',
|
|
723
723
|
'totalUomValue',
|
|
724
724
|
'palletQty',
|
|
725
|
-
'
|
|
725
|
+
'manufactureDate',
|
|
726
726
|
'batchIdRef',
|
|
727
727
|
'unitPrice',
|
|
728
728
|
'remark'
|
|
@@ -811,7 +811,7 @@ class ArrivalNoticeDetail extends localize(i18next)(PageView) {
|
|
|
811
811
|
adjustedTotalUomValue
|
|
812
812
|
palletQty
|
|
813
813
|
adjustedPalletQty
|
|
814
|
-
|
|
814
|
+
manufactureDate
|
|
815
815
|
releaseQty
|
|
816
816
|
releaseUomValue
|
|
817
817
|
}
|
|
@@ -700,12 +700,12 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
700
700
|
width: 80
|
|
701
701
|
},
|
|
702
702
|
{
|
|
703
|
-
type: '
|
|
704
|
-
name: '
|
|
705
|
-
header: i18next.t('field.
|
|
706
|
-
imex: { header: i18next.t('field.
|
|
703
|
+
type: 'date',
|
|
704
|
+
name: 'manufactureDate',
|
|
705
|
+
header: i18next.t('field.manufacture_date'),
|
|
706
|
+
imex: { header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 25, type: 'string' },
|
|
707
707
|
record: { editable: editable },
|
|
708
|
-
width:
|
|
708
|
+
width: 150
|
|
709
709
|
},
|
|
710
710
|
{
|
|
711
711
|
type: 'string',
|
|
@@ -860,16 +860,13 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
if (changedColumn === '
|
|
864
|
-
let
|
|
865
|
-
|
|
863
|
+
if (changedColumn === 'manufactureDate') {
|
|
864
|
+
let manufactureDate = new Date(changeRecord.manufactureDate)
|
|
865
|
+
let today = new Date()
|
|
866
866
|
|
|
867
|
-
if (
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
} else {
|
|
871
|
-
throw new Error(i18next.t('text.invalid_x', { state: { x: i18next.t('label.manufacture_year') } }))
|
|
872
|
-
}
|
|
867
|
+
if (manufactureDate > today) {
|
|
868
|
+
delete event.detail.after[event.detail.column.name]
|
|
869
|
+
throw Error(i18next.t('text.manufacture-date-cannot-be-later-than-today'))
|
|
873
870
|
}
|
|
874
871
|
}
|
|
875
872
|
|
|
@@ -1363,7 +1360,7 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1363
1360
|
totalUomValue: record?.totalUomValue ? record?.totalUomValue : 0,
|
|
1364
1361
|
unitPrice: record?.unitPrice ? record.unitPrice : 0,
|
|
1365
1362
|
remark: record?.remark ? record.remark : null,
|
|
1366
|
-
|
|
1363
|
+
manufactureDate: record?.manufactureDate ? record.manufactureDate : null
|
|
1367
1364
|
}
|
|
1368
1365
|
|
|
1369
1366
|
if (record.palletQty) orderProduct.palletQty = record.palletQty
|
|
@@ -1621,11 +1618,11 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1621
1618
|
width: 100
|
|
1622
1619
|
},
|
|
1623
1620
|
{
|
|
1624
|
-
type: '
|
|
1625
|
-
name: '
|
|
1626
|
-
header: i18next.t('field.
|
|
1627
|
-
imex: { header: i18next.t('field.
|
|
1628
|
-
width:
|
|
1621
|
+
type: 'date',
|
|
1622
|
+
name: 'manufactureDate',
|
|
1623
|
+
header: i18next.t('field.manufacture_date'),
|
|
1624
|
+
imex: { header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 25, type: 'string' },
|
|
1625
|
+
width: 120
|
|
1629
1626
|
},
|
|
1630
1627
|
{
|
|
1631
1628
|
type: 'string',
|
|
@@ -1682,7 +1679,7 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1682
1679
|
totalUomValue
|
|
1683
1680
|
packQty
|
|
1684
1681
|
palletQty
|
|
1685
|
-
|
|
1682
|
+
manufactureDate
|
|
1686
1683
|
batchId
|
|
1687
1684
|
batchIdRef
|
|
1688
1685
|
unitPrice
|
|
@@ -1713,7 +1710,6 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1713
1710
|
...item,
|
|
1714
1711
|
productName: item?.productName,
|
|
1715
1712
|
unitPrice: parseFloat(item.unitPrice) || '',
|
|
1716
|
-
manufactureYear: parseFloat(item.manufactureYear) || '',
|
|
1717
1713
|
packQty: parseFloat(item.packQty) || '',
|
|
1718
1714
|
palletQty: parseFloat(item.palletQty) || ''
|
|
1719
1715
|
}
|
|
@@ -1737,8 +1733,14 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1737
1733
|
async importHandler(patches) {
|
|
1738
1734
|
patches.map(itm => {
|
|
1739
1735
|
itm.unitPrice = parseFloat(itm.unitPrice) || ''
|
|
1736
|
+
if (itm.manufactureDate) {
|
|
1737
|
+
let mdt = new Date(itm.manufactureDate)
|
|
1738
|
+
itm.manufactureDate =
|
|
1739
|
+
mdt < new Date() ? `${mdt.getFullYear()}-${mdt.getMonth() + 1}-${mdt.getDate()}` || '' : ''
|
|
1740
|
+
} else {
|
|
1741
|
+
delete itm.manufactureDate
|
|
1742
|
+
}
|
|
1740
1743
|
itm.uomValue = parseFloat(itm.uomValue) || ''
|
|
1741
|
-
itm.manufactureYear = parseFloat(itm.manufactureYear) || ''
|
|
1742
1744
|
itm.packQty = parseFloat(itm.packQty) || ''
|
|
1743
1745
|
itm.palletQty = parseFloat(itm.palletQty) || ''
|
|
1744
1746
|
})
|
|
@@ -1753,7 +1755,6 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1753
1755
|
...patch,
|
|
1754
1756
|
unitPrice: parseFloat(patch.unitPrice) || 0,
|
|
1755
1757
|
uomValue: parseFloat(patch.uomValue) || 0,
|
|
1756
|
-
manufactureYear: parseFloat(patch.manufactureYear) || 0,
|
|
1757
1758
|
packQty: parseFloat(patch.packQty) || 0,
|
|
1758
1759
|
palletQty: parseFloat(patch.palletQty) || 0
|
|
1759
1760
|
}
|
|
@@ -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
|
}
|
|
@@ -144,7 +144,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
144
144
|
'packQty',
|
|
145
145
|
'totalUomValue',
|
|
146
146
|
'palletQty',
|
|
147
|
-
'
|
|
147
|
+
'manufactureDate',
|
|
148
148
|
'batchIdRef',
|
|
149
149
|
'unitPrice',
|
|
150
150
|
'remark',
|
|
@@ -219,11 +219,11 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
219
219
|
width: 80
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
|
-
type: '
|
|
223
|
-
name: '
|
|
224
|
-
header: i18next.t('field.
|
|
222
|
+
type: 'date',
|
|
223
|
+
name: 'manufactureDate',
|
|
224
|
+
header: i18next.t('field.manufacture_date'),
|
|
225
225
|
record: { editable: true },
|
|
226
|
-
width:
|
|
226
|
+
width: 120
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
type: 'string',
|
|
@@ -268,7 +268,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
268
268
|
'packQty',
|
|
269
269
|
'totalUomValue',
|
|
270
270
|
'palletQty',
|
|
271
|
-
'
|
|
271
|
+
'manufactureDate',
|
|
272
272
|
'batchIdRef',
|
|
273
273
|
'unitPrice',
|
|
274
274
|
'remark'
|
|
@@ -354,11 +354,11 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
354
354
|
width: 80
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
|
-
type: '
|
|
358
|
-
name: '
|
|
359
|
-
header: i18next.t('field.
|
|
357
|
+
type: 'date',
|
|
358
|
+
name: 'manufactureDate',
|
|
359
|
+
header: i18next.t('field.manufacture_date'),
|
|
360
360
|
record: { editable: true },
|
|
361
|
-
width:
|
|
361
|
+
width: 120
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
364
|
type: 'string',
|
|
@@ -416,19 +416,6 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
if (changedColumn === 'manufactureYear') {
|
|
420
|
-
let manufactureYear = changeRecord.manufactureYear
|
|
421
|
-
const regExp = /^(181[2-9]|18[2-9]\d|19\d\d|2\d{3}|30[0-3]\d|304[0-8])$/
|
|
422
|
-
|
|
423
|
-
if (typeof manufactureYear === undefined || !regExp.test(manufactureYear)) {
|
|
424
|
-
if (manufactureYear === 0) {
|
|
425
|
-
delete event.detail.after[event.detail.column.name]
|
|
426
|
-
} else {
|
|
427
|
-
throw new Error(i18next.t('text.invalid_x', { state: { x: i18next.t('label.manufacture_year') } }))
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
|
|
432
419
|
if (changedColumn === 'unitPrice') {
|
|
433
420
|
let unitPrice = changeRecord.unitPrice
|
|
434
421
|
if (typeof unitPrice === undefined || unitPrice < 0) {
|
|
@@ -661,7 +648,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
661
648
|
adjustedPackQty: record.packQty,
|
|
662
649
|
totalUomValue: 'N/A',
|
|
663
650
|
adjustedTotalUomValue: record?.totalUomValue ? record.totalUomValue : 'N/A',
|
|
664
|
-
|
|
651
|
+
manufactureDate: record?.manufactureDate ? record.manufactureDate : null,
|
|
665
652
|
batchIdRef: 'N/A',
|
|
666
653
|
adjustedBatchIdRef: record?.batchIdRef ? record.batchIdRef : null,
|
|
667
654
|
unitPrice: 0,
|
|
@@ -687,7 +674,7 @@ export class EditProductPopup extends localize(i18next)(LitElement) {
|
|
|
687
674
|
adjustedUom: record.uom === record.__origin__.uom ? null : record.uom,
|
|
688
675
|
adjustedPackQty: record.packQty == record.__origin__.packQty ? null : record.packQty,
|
|
689
676
|
adjustedTotalUomValue: record.totalUomValue == record.__origin__.totalUomValue ? null : record.totalUomValue,
|
|
690
|
-
|
|
677
|
+
manufactureDate: record?.manufactureDate ? record.manufactureDate : null,
|
|
691
678
|
adjustedUnitPrice: record?.unitPrice ? record.__origin__.unitPrice : null,
|
|
692
679
|
remark: record?.remark ? record.remark : null
|
|
693
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,
|
package/translations/en.json
CHANGED
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
"field.low_on_stock": "low on stock",
|
|
297
297
|
"field.main_bizplace": "main customer",
|
|
298
298
|
"field.manifest_no": "manifest no",
|
|
299
|
-
"field.
|
|
299
|
+
"field.manufacture_date": "manufacture date",
|
|
300
300
|
"field.marketplace_order_status": "marketplace order status",
|
|
301
301
|
"field.max_qty": "max qty",
|
|
302
302
|
"field.mfg_year": "mfg. year",
|
|
@@ -704,7 +704,6 @@
|
|
|
704
704
|
"label.lot_id": "lot id",
|
|
705
705
|
"label.lot_no": "lot no",
|
|
706
706
|
"label.lot": "lot",
|
|
707
|
-
"label.manufacture_year": "manufacture year",
|
|
708
707
|
"label.name": "name",
|
|
709
708
|
"label.need_fleet": "need fleet",
|
|
710
709
|
"label.new_batch_id": "new batch no",
|
|
@@ -983,6 +982,7 @@
|
|
|
983
982
|
"text.cannot_delete_picked_products": "cannot delete picked product",
|
|
984
983
|
"text.cannot_delete_unsaved_location(s)": "cannot delete unsaved location(s)",
|
|
985
984
|
"text.carton_id_is_empty": "carton id is empty",
|
|
985
|
+
"text.carton_id_not_found": "carton id not found",
|
|
986
986
|
"text.change_driver/vehicle": "change driver/truck",
|
|
987
987
|
"text.change_to_editable": "change to editable",
|
|
988
988
|
"text.check_to_arrived": "check to arrived",
|
|
@@ -1110,6 +1110,7 @@
|
|
|
1110
1110
|
"text.invalid_form": "invalid form",
|
|
1111
1111
|
"text.invalid_format_of_location_id": "invalid format of location id",
|
|
1112
1112
|
"text.invalid_inventory": "invalid_inventory",
|
|
1113
|
+
"text.manufacture-date-cannot-be-later-than-today": "manufacture date cannot be later than today",
|
|
1113
1114
|
"text.invalid_no_of_random_item_value": "invalid no of random item value",
|
|
1114
1115
|
"text.invalid_pack_qty": "invalid pack qty",
|
|
1115
1116
|
"text.invalid_pallet_id": "invalid pallet id",
|
|
@@ -1146,6 +1147,7 @@
|
|
|
1146
1147
|
"text.logistics_has_been_initialised": "logistics has been initialised",
|
|
1147
1148
|
"text.lot_id_is_duplicated": "lot id is duplicated",
|
|
1148
1149
|
"text.lot_id_is_empty": "lot id is empty",
|
|
1150
|
+
"text.lot_id_not_found": "lot id not found",
|
|
1149
1151
|
"text.manifest_has_been_dispatched_and_closed": "manifest has been dispatched and closed",
|
|
1150
1152
|
"text.manifest_has_been_generated": "manifest has been generated",
|
|
1151
1153
|
"text.manifest_items_is_empty": "manifest items is empty",
|
|
@@ -1193,6 +1195,7 @@
|
|
|
1193
1195
|
"text.please_select_a_company": "please select a company",
|
|
1194
1196
|
"text.please_select_a_driver": "please select a driver",
|
|
1195
1197
|
"text.please_select_a_truck": "select a truck",
|
|
1198
|
+
"text.please_select_an_inventory": "please select an inventory",
|
|
1196
1199
|
"text.please_select_label_indicator": "please select label indicator",
|
|
1197
1200
|
"text.please_select_release_order": "please select release order",
|
|
1198
1201
|
"text.please_select_the_company": "please select the company",
|
package/translations/ko.json
CHANGED
|
@@ -327,7 +327,6 @@
|
|
|
327
327
|
"field.low_on_stock": "[ko]low on stock",
|
|
328
328
|
"field.main_bizplace": "주 사업장",
|
|
329
329
|
"field.manifest_no": "[ko] manifest no",
|
|
330
|
-
"field.manufacture_year": "[ko]manufacture year",
|
|
331
330
|
"field.marketplace_order_status": "[ko] marketplace order status",
|
|
332
331
|
"field.max_qty": "[ko]max qty",
|
|
333
332
|
"field.min_qty": "[ko]min qty",
|
|
@@ -1877,5 +1876,10 @@
|
|
|
1877
1876
|
"title.undo_putaway": "[ko] undo putaway",
|
|
1878
1877
|
"field.lot_qty": "[ko] lot qty",
|
|
1879
1878
|
"field.actual_lot_qty": "[ko] actual lot qty",
|
|
1879
|
+
"field.manufacture_date": "[ko] manufacture date",
|
|
1880
|
+
"text.manufacture-date-cannot-be-later-than-today": "[ko] manufacture date cannot be later than today",
|
|
1881
|
+
"text.please_select_an_inventory": "[ko] please select an inventory",
|
|
1882
|
+
"text.carton_id_not_found": "[ko] carton id not found",
|
|
1883
|
+
"text.lot_id_not_found": "[ko] lot id not found",
|
|
1880
1884
|
"field.volume_m3": "[ko] volume (M3)"
|
|
1881
1885
|
}
|
package/translations/ms.json
CHANGED
|
@@ -724,7 +724,6 @@
|
|
|
724
724
|
"label.lot_id": "id lot",
|
|
725
725
|
"label.lot_no": "no lot",
|
|
726
726
|
"label.lot": "[ms]lot",
|
|
727
|
-
"label.manufacture_year": "[ms] manufacture year",
|
|
728
727
|
"label.name": "nama",
|
|
729
728
|
"label.need_fleet": "permintaan armada",
|
|
730
729
|
"label.new_batch_id": "no kumpulan baru",
|
|
@@ -1747,5 +1746,10 @@
|
|
|
1747
1746
|
"title.undo_putaway": "[ms] undo putaway",
|
|
1748
1747
|
"field.lot_qty": "[ms] lot qty",
|
|
1749
1748
|
"field.actual_lot_qty": "[ms] actual lot qty",
|
|
1749
|
+
"field.manufacture_date": "[ms] manufacture date",
|
|
1750
|
+
"text.manufacture-date-cannot-be-later-than-today": "[ms] manufacture date cannot be later than today",
|
|
1751
|
+
"text.please_select_an_inventory": "[ms] please select an inventory",
|
|
1752
|
+
"text.carton_id_not_found": "[ms] carton id not found",
|
|
1753
|
+
"text.lot_id_not_found": "[ms] lot id not found",
|
|
1750
1754
|
"field.volume_m3": "[ms] volume (M3)"
|
|
1751
1755
|
}
|
package/translations/zh.json
CHANGED
|
@@ -694,7 +694,6 @@
|
|
|
694
694
|
"label.lot_id": "lot id",
|
|
695
695
|
"label.lot_no": "lot no",
|
|
696
696
|
"label.lot": "[zh]lot",
|
|
697
|
-
"label.manufacture_year": "[zh] manufacture year",
|
|
698
697
|
"label.name": "名字",
|
|
699
698
|
"label.need_fleet": "need fleet",
|
|
700
699
|
"label.new_batch_id": "new batch no",
|
|
@@ -1697,5 +1696,10 @@
|
|
|
1697
1696
|
"title.undo_putaway": "[zh] undo putaway",
|
|
1698
1697
|
"field.lot_qty": "[zh] lot qty",
|
|
1699
1698
|
"field.actual_lot_qty": "[zh] actual lot qty",
|
|
1699
|
+
"field.manufacture_date": "[zh] manufacture date",
|
|
1700
|
+
"text.manufacture-date-cannot-be-later-than-today": "[zh] manufacture date cannot be later than today",
|
|
1701
|
+
"text.please_select_an_inventory": "[zh] please select an inventory",
|
|
1702
|
+
"text.carton_id_not_found": "[zh] carton id not found",
|
|
1703
|
+
"text.lot_id_not_found": "[zh] lot id not found",
|
|
1700
1704
|
"field.volume_m3": "[zh] volume (M3)"
|
|
1701
1705
|
}
|