@things-factory/operato-wms 4.3.332 → 4.3.333
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.
|
@@ -7,14 +7,28 @@ import '../inventory/serial-number-list-popup'
|
|
|
7
7
|
import '../components/select-product-popup'
|
|
8
8
|
|
|
9
9
|
import gql from 'graphql-tag'
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
css,
|
|
12
|
+
html
|
|
13
|
+
} from 'lit-element'
|
|
11
14
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
12
15
|
|
|
13
16
|
import { DirectPrinter } from '@things-factory/barcode-base'
|
|
14
|
-
import {
|
|
17
|
+
import {
|
|
18
|
+
i18next,
|
|
19
|
+
localize
|
|
20
|
+
} from '@things-factory/i18n-base'
|
|
15
21
|
import { openPopup } from '@things-factory/layout-base'
|
|
16
|
-
import {
|
|
17
|
-
|
|
22
|
+
import {
|
|
23
|
+
client,
|
|
24
|
+
CustomAlert,
|
|
25
|
+
PageView,
|
|
26
|
+
store
|
|
27
|
+
} from '@things-factory/shell'
|
|
28
|
+
import {
|
|
29
|
+
CommonButtonStyles,
|
|
30
|
+
ScrollbarStyles
|
|
31
|
+
} from '@things-factory/styles'
|
|
18
32
|
import { isMobileDevice } from '@things-factory/utils'
|
|
19
33
|
|
|
20
34
|
import { fetchPageSettings } from '../../util/index'
|
|
@@ -180,7 +194,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
180
194
|
props: { searchOper: 'eq' }
|
|
181
195
|
},
|
|
182
196
|
{
|
|
183
|
-
|
|
197
|
+
label: i18next.t('field.batch_no'),
|
|
184
198
|
name: 'batchId',
|
|
185
199
|
type: 'text',
|
|
186
200
|
props: { searchOper: 'i_like' }
|
|
@@ -256,6 +270,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
256
270
|
handlers: { click: this.showInventoryMovement.bind(this) }
|
|
257
271
|
},
|
|
258
272
|
{ type: 'string', name: 'inventoryItemChanges', hidden: true },
|
|
273
|
+
{ type: 'string', name: 'productDetailName', hidden: true },
|
|
259
274
|
{
|
|
260
275
|
type: 'string',
|
|
261
276
|
name: 'palletId',
|
|
@@ -275,9 +290,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
275
290
|
{
|
|
276
291
|
type: 'string',
|
|
277
292
|
name: 'batchId',
|
|
278
|
-
header: i18next.t('field.
|
|
293
|
+
header: i18next.t('field.batch_no'),
|
|
279
294
|
record: { editable: true },
|
|
280
|
-
imex: { header: i18next.t('field
|
|
295
|
+
imex: { header: i18next.t('field.*_batch_no'), key: 'batchId', width: 30, type: 'string' },
|
|
281
296
|
sortable: true,
|
|
282
297
|
width: 120
|
|
283
298
|
},
|
|
@@ -290,7 +305,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
290
305
|
options: { queryName: 'partnersBizplaces' }
|
|
291
306
|
},
|
|
292
307
|
imex: {
|
|
293
|
-
header: i18next.t('field
|
|
308
|
+
header: i18next.t('field.*_company'),
|
|
294
309
|
key: 'bizplace.name',
|
|
295
310
|
width: 50,
|
|
296
311
|
type: 'array',
|
|
@@ -303,7 +318,11 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
303
318
|
type: 'string',
|
|
304
319
|
name: 'sku',
|
|
305
320
|
header: i18next.t('field.sku'),
|
|
306
|
-
|
|
321
|
+
record: {editable: true,},
|
|
322
|
+
record: { editable: true },
|
|
323
|
+
imex: { header: i18next.t('field.*_sku'), key: 'sku', width: 30, type: 'string' },
|
|
324
|
+
sortable: true,
|
|
325
|
+
width: 150
|
|
307
326
|
},
|
|
308
327
|
{
|
|
309
328
|
type: 'object',
|
|
@@ -319,10 +338,10 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
319
338
|
select: [
|
|
320
339
|
{ name: 'id', hidden: true },
|
|
321
340
|
{ name: 'productId', hidden: true },
|
|
322
|
-
{ name: 'sku', header: i18next.t('field.sku'), width: 150 },
|
|
341
|
+
// { name: 'sku', header: i18next.t('field.sku'), width: 150 },
|
|
323
342
|
{ name: 'name', header: i18next.t('field.name'), width: 250 },
|
|
324
343
|
{ name: 'brand', header: i18next.t('field.brand'), width: 150 },
|
|
325
|
-
{ name: 'description', header: i18next.t('field.description'), width: 450 },
|
|
344
|
+
// { name: 'description', header: i18next.t('field.description'), width: 450 },
|
|
326
345
|
{ name: 'type', header: i18next.t('field.type'), width: 200 },
|
|
327
346
|
{ name: 'packingType', header: i18next.t('field.packing_type'), width: 200 },
|
|
328
347
|
{ name: 'packingSize', header: i18next.t('field.packing_size'), width: 150 },
|
|
@@ -343,10 +362,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
343
362
|
},
|
|
344
363
|
imex: {
|
|
345
364
|
header: i18next.t('field.product'),
|
|
346
|
-
key: '
|
|
365
|
+
key: 'productDetailName',
|
|
347
366
|
width: 150,
|
|
348
|
-
type: '
|
|
349
|
-
arrData: []
|
|
367
|
+
type: 'string',
|
|
350
368
|
},
|
|
351
369
|
sortable: true,
|
|
352
370
|
width: 500
|
|
@@ -367,7 +385,8 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
367
385
|
key: 'packingType',
|
|
368
386
|
width: 50,
|
|
369
387
|
type: 'array',
|
|
370
|
-
arrData:
|
|
388
|
+
arrData: [{name:''},
|
|
389
|
+
...packingType]
|
|
371
390
|
},
|
|
372
391
|
width: 150
|
|
373
392
|
},
|
|
@@ -391,7 +410,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
391
410
|
record: { editable: true },
|
|
392
411
|
sortable: true,
|
|
393
412
|
imex: {
|
|
394
|
-
header: i18next.t('field
|
|
413
|
+
header: i18next.t('field.*_qty'),
|
|
395
414
|
key: 'qty',
|
|
396
415
|
width: 10,
|
|
397
416
|
type: 'float'
|
|
@@ -439,9 +458,9 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
439
458
|
record: { editable: true },
|
|
440
459
|
sortable: true,
|
|
441
460
|
imex: {
|
|
442
|
-
header: i18next.t('field
|
|
461
|
+
header: i18next.t('field.*_total_uom_value'),
|
|
443
462
|
key: 'uomValue',
|
|
444
|
-
width:
|
|
463
|
+
width: 20,
|
|
445
464
|
type: 'float'
|
|
446
465
|
},
|
|
447
466
|
width: 80
|
|
@@ -451,7 +470,8 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
451
470
|
name: 'uom',
|
|
452
471
|
header: i18next.t('field.uom'),
|
|
453
472
|
record: { editable: true, codeName: 'UOM' },
|
|
454
|
-
imex: { header: i18next.t('field.uom'), key: 'uom', width: 25, type: 'array',
|
|
473
|
+
imex: { header: i18next.t('field.uom'), key: 'uom', width: 25, type: 'array',
|
|
474
|
+
arrData:[{name:''}, ...uom ]},
|
|
455
475
|
sortable: true,
|
|
456
476
|
width: 80
|
|
457
477
|
},
|
|
@@ -475,7 +495,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
475
495
|
}
|
|
476
496
|
},
|
|
477
497
|
imex: {
|
|
478
|
-
header: i18next.t('field
|
|
498
|
+
header: i18next.t('field.*_location'),
|
|
479
499
|
key: 'location.name',
|
|
480
500
|
width: 15,
|
|
481
501
|
type: 'array',
|
|
@@ -495,7 +515,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
495
515
|
type: 'date',
|
|
496
516
|
name: 'expirationDate',
|
|
497
517
|
header: i18next.t('field.exp_date'),
|
|
498
|
-
imex: { header: i18next.t('field.exp_date'), key: 'expirationDate', width: 30, type: '
|
|
518
|
+
imex: { header: i18next.t('field.exp_date'), key: 'expirationDate', width: 30, type: 'datetime' },
|
|
499
519
|
record: { editable: true },
|
|
500
520
|
sortable: true,
|
|
501
521
|
width: 150
|
|
@@ -504,7 +524,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
504
524
|
type: 'date',
|
|
505
525
|
name: 'manufactureDate',
|
|
506
526
|
header: i18next.t('field.manufacture_date'),
|
|
507
|
-
imex: { header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 40, type: '
|
|
527
|
+
imex: { header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 40, type: 'datetime' },
|
|
508
528
|
record: { editable: true },
|
|
509
529
|
sortable: true,
|
|
510
530
|
width: 120
|
|
@@ -556,7 +576,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
556
576
|
]
|
|
557
577
|
},
|
|
558
578
|
imex: {
|
|
559
|
-
header: i18next.t('field
|
|
579
|
+
header: i18next.t('field.*_adjustment_code'),
|
|
560
580
|
key: 'adjustmentCode',
|
|
561
581
|
width: 30,
|
|
562
582
|
type: 'array',
|
|
@@ -573,7 +593,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
573
593
|
type: 'string',
|
|
574
594
|
name: 'adjustmentNote',
|
|
575
595
|
header: i18next.t('field.adjustment_note'),
|
|
576
|
-
imex: { header: i18next.t('field
|
|
596
|
+
imex: { header: i18next.t('field.*_adjustment_note'), key: 'adjustmentNote', width: 30, type: 'string' },
|
|
577
597
|
record: { editable: true },
|
|
578
598
|
sortable: true,
|
|
579
599
|
width: 200
|
|
@@ -644,6 +664,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
644
664
|
}
|
|
645
665
|
productDetail {
|
|
646
666
|
id
|
|
667
|
+
name
|
|
647
668
|
costPrice
|
|
648
669
|
}
|
|
649
670
|
qty
|
|
@@ -722,6 +743,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
722
743
|
}
|
|
723
744
|
productDetail {
|
|
724
745
|
id
|
|
746
|
+
name
|
|
725
747
|
costPrice
|
|
726
748
|
}
|
|
727
749
|
qty
|
|
@@ -758,6 +780,8 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
758
780
|
return {
|
|
759
781
|
...item,
|
|
760
782
|
sku: item.product.sku,
|
|
783
|
+
productDetailName: item.productDetail.name,
|
|
784
|
+
productName: item.product.name,
|
|
761
785
|
brand: item.product.brand,
|
|
762
786
|
unitCost: parseFloat(item.unitCost == null ? 0 : item.unitCost).toFixed(2),
|
|
763
787
|
lockedQty: item.lockedQty || 0,
|
|
@@ -986,7 +1010,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
986
1010
|
|
|
987
1011
|
if (row.cuFlag == 'M') {
|
|
988
1012
|
if (
|
|
989
|
-
(row.hasOwnProperty('bizplace') && !row.product) ||
|
|
1013
|
+
// (row.hasOwnProperty('bizplace') && !row.product) ||
|
|
990
1014
|
(row.hasOwnProperty('uom') && row.uom?.trim() == '') ||
|
|
991
1015
|
(row.hasOwnProperty('packingType') && row.packingType?.trim() == '') ||
|
|
992
1016
|
(row.hasOwnProperty('unitCost') && (row.unitCost == null || row.unitCost < 0)) ||
|
|
@@ -1001,7 +1025,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1001
1025
|
row.bizplace = row.bizplace ? { id: row.bizplace.id } : undefined
|
|
1002
1026
|
row.location = row.location ? { id: row.location.id } : undefined
|
|
1003
1027
|
row.productDetailId = row.product ? row.product.id : undefined
|
|
1004
|
-
row.product = row.product ? { id: row.product.productId
|
|
1028
|
+
row.product = row.product ? { id: row.product.productId} : undefined
|
|
1005
1029
|
row.uomValue = row.uomValue ? parseFloat(row.uomValue) : undefined
|
|
1006
1030
|
row.unitCost = row.unitCost ? parseFloat(row.unitCost) : undefined
|
|
1007
1031
|
row.packingSize = row.packingSize ? parseInt(row.packingSize) : undefined
|
|
@@ -1062,12 +1086,21 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1062
1086
|
if (itm?.qty < 0) {
|
|
1063
1087
|
throw new Error(i18next.t('text.invalid_qty'))
|
|
1064
1088
|
}
|
|
1089
|
+
// if (itm?.batchId < 0) {
|
|
1090
|
+
// throw new Error(i18next.t('text.invalid_batch_no'))
|
|
1091
|
+
// }
|
|
1092
|
+
// if (itm?.bizplace < 0) {
|
|
1093
|
+
// throw new Error(i18next.t('text.invalid_company'))
|
|
1094
|
+
// }
|
|
1095
|
+
// if (itm?.location < 0) {
|
|
1096
|
+
// throw new Error(i18next.t('text.invalid_location'))
|
|
1097
|
+
// }
|
|
1065
1098
|
if (itm?.packingType?.trim() == '') {
|
|
1066
1099
|
throw new Error(i18next.t('text.invalid_packing_type'))
|
|
1067
1100
|
}
|
|
1068
|
-
if (itm?.packingSize <= 0) {
|
|
1069
|
-
|
|
1070
|
-
}
|
|
1101
|
+
// if (itm?.packingSize <= 0) {
|
|
1102
|
+
// throw new Error(i18next.t('text.invalid_packing_size'))
|
|
1103
|
+
// }
|
|
1071
1104
|
if (itm?.unitCost < 0) {
|
|
1072
1105
|
throw new Error(i18next.t('text.invalid_unit_cost'))
|
|
1073
1106
|
}
|
|
@@ -1089,7 +1122,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1089
1122
|
itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC06.value &&
|
|
1090
1123
|
itm?.adjustmentCode?.trim() != ADJUSTMENT_CODE.AC07.value)
|
|
1091
1124
|
) {
|
|
1092
|
-
throw new Error(i18next.t('text.
|
|
1125
|
+
throw new Error(i18next.t('text.Adjustment_Code_required._Kindly_fill_in_the_Adjustment_code_to_continue'))
|
|
1093
1126
|
}
|
|
1094
1127
|
if (itm?.adjustmentNote?.trim() == '') {
|
|
1095
1128
|
throw new Error(i18next.t('text.invalid_adjustment_note'))
|
|
@@ -1097,22 +1130,50 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1097
1130
|
|
|
1098
1131
|
if (itm.cuFlag == '+') {
|
|
1099
1132
|
if (
|
|
1100
|
-
!itm.bizplace?.id ||
|
|
1101
|
-
!itm.location?.id ||
|
|
1102
|
-
!itm.product?.
|
|
1103
|
-
!itm.batchId ||
|
|
1104
|
-
!itm.qty ||
|
|
1105
|
-
!itm.uomValue
|
|
1106
|
-
!itm.uom
|
|
1107
|
-
!itm.packingType
|
|
1108
|
-
!itm.adjustmentCode ||
|
|
1109
|
-
!itm.adjustmentNote
|
|
1133
|
+
// !itm.bizplace?.id ||
|
|
1134
|
+
// !itm.location?.id ||
|
|
1135
|
+
// !itm.product?.name ||
|
|
1136
|
+
// !itm.batchId ||
|
|
1137
|
+
// !itm.qty ||
|
|
1138
|
+
!itm.uomValue
|
|
1139
|
+
// !itm.uom
|
|
1140
|
+
// !itm.packingType
|
|
1141
|
+
// !itm.adjustmentCode ||
|
|
1142
|
+
// !itm.adjustmentNote
|
|
1110
1143
|
) {
|
|
1111
|
-
throw new Error(i18next.t('text.
|
|
1144
|
+
throw new Error(i18next.t('text.Total_uom_value_required._Kindly_fill_in_the_Total_uom_value_to_continue'))
|
|
1112
1145
|
}
|
|
1113
1146
|
|
|
1114
|
-
if (itm.
|
|
1115
|
-
throw new Error(i18next.t('text.
|
|
1147
|
+
if (!itm.bizplace?.id) {
|
|
1148
|
+
throw new Error(i18next.t('text.Company_required._Kindly_fill_in_the_Company_to_continue'))
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
if (!itm.location?.id) {
|
|
1152
|
+
throw new Error(i18next.t('text.Location_required._Kindly_fill_in_the_Location_to_continue'))
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
if (!itm.batchId) {
|
|
1156
|
+
throw new Error (i18next.t('text.Batch_No._required._Kindly_fill_in_the_Batch_no._to_continue'))
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
if (!itm.sku) {
|
|
1160
|
+
throw new Error(i18next.t('text.SKU_required._Kindly_fill_in_the_SKU_to_continue'))
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
if (!itm.qty) {
|
|
1164
|
+
throw new Error(i18next.t('text.Qty_required._Kindly_fill_in_the_Qty_to_continue'))
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
// if (!itm.adjustmentCode) {
|
|
1168
|
+
// throw new Error(i18next.t('text.empty_adjustment_code_in_list'))
|
|
1169
|
+
// }
|
|
1170
|
+
|
|
1171
|
+
if (!itm.adjustmentNote) {
|
|
1172
|
+
throw new Error(i18next.t('text.Adjustment_Note_required._Kindly_fill_in_the_Adjustment_note_to_continue'))
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
if (itm.qty < 1 || itm.unitCost < 0 || itm.uomValue < 1) {
|
|
1176
|
+
throw new Error(i18next.t('text.invalid_value_in_list'))
|
|
1116
1177
|
}
|
|
1117
1178
|
|
|
1118
1179
|
if (
|
|
@@ -1145,7 +1206,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1145
1206
|
}
|
|
1146
1207
|
|
|
1147
1208
|
//if user repick product after import
|
|
1148
|
-
if (itm
|
|
1209
|
+
if (itm?.product?.productId) {
|
|
1149
1210
|
itm.product.id = itm.product.productId
|
|
1150
1211
|
delete itm.product.productId
|
|
1151
1212
|
delete itm.product.brand
|
|
@@ -1159,6 +1220,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1159
1220
|
if (itm.expirationDate) {
|
|
1160
1221
|
let dt = new Date(itm.expirationDate)
|
|
1161
1222
|
itm.expirationDate = `${dt.getFullYear()}-${dt.getMonth() + 1}-${dt.getDate()}`
|
|
1223
|
+
// itm.expirationDate = dt
|
|
1162
1224
|
}
|
|
1163
1225
|
|
|
1164
1226
|
if (itm.manufactureDate) {
|
|
@@ -1171,7 +1233,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1171
1233
|
itm.serialNumbers = serialNumbers.replace(' ', '')
|
|
1172
1234
|
|
|
1173
1235
|
if (itm.serialNumbers.split(',').length != itm.qty) {
|
|
1174
|
-
throw new Error(i18next.t('text.
|
|
1236
|
+
throw new Error(i18next.t('text.seriel_number_not_tally_with_the_quantity'))
|
|
1175
1237
|
}
|
|
1176
1238
|
}
|
|
1177
1239
|
})
|
|
@@ -1200,6 +1262,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1200
1262
|
if (typeof record.unitCost == 'object') {
|
|
1201
1263
|
record.unitCost = 0
|
|
1202
1264
|
}
|
|
1265
|
+
// record.expirationDate = new Date(record.expirationDate)
|
|
1203
1266
|
})
|
|
1204
1267
|
|
|
1205
1268
|
let columns = this.config.columns
|
|
@@ -1209,6 +1272,11 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1209
1272
|
delete column.hidden
|
|
1210
1273
|
}
|
|
1211
1274
|
|
|
1275
|
+
if(column.name == 'product') {
|
|
1276
|
+
column.name = 'productDetailName'
|
|
1277
|
+
column.type = 'string'
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1212
1280
|
return { ...column }
|
|
1213
1281
|
})
|
|
1214
1282
|
|
|
@@ -1269,9 +1337,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1269
1337
|
case 'bizplace.name':
|
|
1270
1338
|
column.arrData = bizplaces
|
|
1271
1339
|
break
|
|
1272
|
-
case 'product.name':
|
|
1273
|
-
column.arrData = products
|
|
1274
|
-
break
|
|
1275
1340
|
case 'location.name':
|
|
1276
1341
|
column.arrData = locations
|
|
1277
1342
|
break
|
|
@@ -1290,7 +1355,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1290
1355
|
item.manufactureDate = new Date(item.manufactureDate).getTime()
|
|
1291
1356
|
}
|
|
1292
1357
|
|
|
1293
|
-
item.product.name
|
|
1358
|
+
// item.product.name
|
|
1294
1359
|
return {
|
|
1295
1360
|
id: item.id,
|
|
1296
1361
|
...this.columns
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.333",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@things-factory/print-ui": "^4.3.281",
|
|
92
92
|
"@things-factory/product-base": "^4.3.318",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.281",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.333",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.281",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.281",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.281",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@things-factory/system-ui": "^4.3.281",
|
|
108
108
|
"@things-factory/transport-base": "^4.3.301",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.281",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.333",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.333"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.281",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"cypress-localstorage-commands": "^1.6.1",
|
|
118
118
|
"eslint-plugin-cypress": "^2.12.1"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "a9ed01d6e292f5b5557b2757da41233e37fcad26"
|
|
121
121
|
}
|
package/translations/en.json
CHANGED
|
@@ -144,7 +144,9 @@
|
|
|
144
144
|
"field.adjusted_volume": "adjusted volume",
|
|
145
145
|
"field.adjusted": "adjusted",
|
|
146
146
|
"field.adjustment_code": "adjustment code",
|
|
147
|
+
"field.*_adjustment_code": "*adjustment code",
|
|
147
148
|
"field.adjustment_note": "adjustment note",
|
|
149
|
+
"field.*_adjustment_note": "*adjustment note",
|
|
148
150
|
"field.after": "after",
|
|
149
151
|
"field.amount": "amount",
|
|
150
152
|
"field.arrival_notice": "arrival notice",
|
|
@@ -176,6 +178,7 @@
|
|
|
176
178
|
"field.batch_id": "batch no",
|
|
177
179
|
"field.batch_no_ref": "batch no ref",
|
|
178
180
|
"field.batch_no": "batch no.",
|
|
181
|
+
"field.*_batch_no": "*batch no.",
|
|
179
182
|
"field.before": "before",
|
|
180
183
|
"field.billing_address": "billing address",
|
|
181
184
|
"field.billing_city": "billing city",
|
|
@@ -224,6 +227,7 @@
|
|
|
224
227
|
"field.combination": "combination",
|
|
225
228
|
"field.comment": "comment",
|
|
226
229
|
"field.company": "company",
|
|
230
|
+
"field.*_company": "*company",
|
|
227
231
|
"field.completed": "completed",
|
|
228
232
|
"field.completion_date": "completion date",
|
|
229
233
|
"field.completion_vas_from_date": "completion vas from date",
|
|
@@ -362,6 +366,7 @@
|
|
|
362
366
|
"field.loading_start": "loading start",
|
|
363
367
|
"field.location_type": "location type",
|
|
364
368
|
"field.location": "location",
|
|
369
|
+
"field.*_location":"*location",
|
|
365
370
|
"field.loose_item": "loose item",
|
|
366
371
|
"field.lot_id": "lot ID",
|
|
367
372
|
"field.lot_qty": "lot qty",
|
|
@@ -494,6 +499,7 @@
|
|
|
494
499
|
"field.putaway_qty": "putaway qty",
|
|
495
500
|
"field.putaway_start": "putaway start",
|
|
496
501
|
"field.qty": "qty",
|
|
502
|
+
"field.*_qty": "*qty",
|
|
497
503
|
"field.quantity": "quantity",
|
|
498
504
|
"field.quarantine_qty": "quarantine qty",
|
|
499
505
|
"field.quarantine_stock_only": "quarantine stock only",
|
|
@@ -582,6 +588,7 @@
|
|
|
582
588
|
"field.show_balance_only": "show balance only",
|
|
583
589
|
"field.sku_code": "sku code",
|
|
584
590
|
"field.sku": "SKU",
|
|
591
|
+
"field.*_sku":"*sku",
|
|
585
592
|
"field.so_no": "SO No",
|
|
586
593
|
"field.sorted_by": "sorted by",
|
|
587
594
|
"field.sorting_end": "sorting end",
|
|
@@ -634,6 +641,7 @@
|
|
|
634
641
|
"field.total_unit_gross_weight": "total unit gross weight",
|
|
635
642
|
"field.total_unit_nett_weight": "total unit nett weight",
|
|
636
643
|
"field.total_uom_value": "total uom value",
|
|
644
|
+
"field.*_total_uom_value": "*total uom value",
|
|
637
645
|
"field.total_uom": "total uom",
|
|
638
646
|
"field.total_volume": "total volume",
|
|
639
647
|
"field.total": "total",
|
|
@@ -1150,7 +1158,15 @@
|
|
|
1150
1158
|
"text.activate_unloading_worksheet": "activate unloading worksheet",
|
|
1151
1159
|
"text.activate_vas_worksheet": "activate value added service worksheet",
|
|
1152
1160
|
"text.activate": "activate",
|
|
1161
|
+
"text.Adjustment_Code_required._Kindly_fill_in_the_Adjustment_code_to_continue": "Adjustment Code required. Kindly fill in the Adjustment code to continue",
|
|
1162
|
+
"text.Adjustment_Note_required._Kindly_fill_in_the_Adjustment_note_to_continue": "Adjustment Note required. Kindly fill in the Adjustment note to continue",
|
|
1163
|
+
"text.Company_required._Kindly_fill_in_the_Company_to_continue": "Company required. Kindly fill in the Company to continue",
|
|
1164
|
+
"text.Location_required._Kindly_fill_in_the_Location_to_continue": "Location required. Kindly fill in the Location to continue",
|
|
1165
|
+
"text.Batch_No._required._Kindly_fill_in_the_Batch_no._to_continue": "Batch No. required. Kindly fill in the Batch no. to continue",
|
|
1166
|
+
"text.SKU_required._Kindly_fill_in_the_SKU_to_continue": "SKU required. Kindly fill in the SKU to continue",
|
|
1167
|
+
"text.Qty_required._Kindly_fill_in_the_Qty_to_continue": "Qty required. Kindly fill in the Qty to continue",
|
|
1153
1168
|
"text.add_edit_products_has_been_submitted_for_approval": "add/edit order products has been submitted for approval",
|
|
1169
|
+
"text.Total_uom_value_required._Kindly_fill_in_the_Total_uom_value_to_continue":"Total uom value required. Kindly fill in the Total uom value to continue",
|
|
1154
1170
|
"text.add_extra_product": "add extra product",
|
|
1155
1171
|
"text.adjustment_pending_admin_approval": "adjustment pending admin approval",
|
|
1156
1172
|
"text.advise_mt_date_is_empty": "advise mt date is empty",
|
package/translations/ko.json
CHANGED
|
@@ -631,6 +631,7 @@
|
|
|
631
631
|
"field.total_self_collect": "총 직접 취합건수",
|
|
632
632
|
"field.total_tracking_no": "[ko] total tracking no",
|
|
633
633
|
"field.total_uom_value": "총 측량치",
|
|
634
|
+
"field.*_total_uom_value": "[ko] *total uom value",
|
|
634
635
|
"field.total_uom": "총 측량치",
|
|
635
636
|
"field.total_volume": "[ko]total volume",
|
|
636
637
|
"field.total_weight": "total weight",
|
|
@@ -1150,6 +1151,14 @@
|
|
|
1150
1151
|
"text.add_edit_products_has_been_submitted_for_approval": "[ko]add/edit order products has been submitted for approval",
|
|
1151
1152
|
"text.add_extra_product": "추가상품 추가",
|
|
1152
1153
|
"text.adjustment_pending_admin_approval": "변경사항 적용 관리자 승인대기",
|
|
1154
|
+
"text.Adjustment_Code_required._Kindly_fill_in_the_Adjustment_code_to_continue": "[ko] Adjustment Code required. Kindly fill in the Adjustment code to continue",
|
|
1155
|
+
"text.Adjustment_Note_required._Kindly_fill_in_the_Adjustment_note_to_continue": "[ko] Adjustment Note required. Kindly fill in the Adjustment note to continue",
|
|
1156
|
+
"text.Company_required._Kindly_fill_in_the_Company_to_continue": "[ko] Company required. Kindly fill in the Company to continue",
|
|
1157
|
+
"text.Location_required._Kindly_fill_in_the_Location_to_continue": "[ko] Location required. Kindly fill in the Location to continue",
|
|
1158
|
+
"text.Batch_No._required._Kindly_fill_in_the_Batch_no._to_continue": "[ko] Batch No. required. Kindly fill in the Batch no. to continue",
|
|
1159
|
+
"text.SKU_required._Kindly_fill_in_the_SKU_to_continue": "[ko] SKU required. Kindly fill in the SKU to continue",
|
|
1160
|
+
"text.Qty_required._Kindly_fill_in_the_Qty_to_continue": "[ko] Qty required. Kindly fill in the Qty to continue",
|
|
1161
|
+
"text.Total_uom_value_required._Kindly_fill_in_the_Total_uom_value_to_continue":"[ko] Total uom value required. Kindly fill in the Total uom value to continue",
|
|
1153
1162
|
"text.advise_mt_date_is_empty": "advise mt date is empty",
|
|
1154
1163
|
"text.all_related_serial_number_will_be_deleted": "[ko] all related serial number will be deleted!",
|
|
1155
1164
|
"text.already_existed": "행 {state.text}이(가) 이미 존재 합니다",
|
package/translations/ms.json
CHANGED
|
@@ -613,6 +613,7 @@
|
|
|
613
613
|
"field.total_self_collect": "total self collect",
|
|
614
614
|
"field.total_tracking_no": "[ms] total tracking no",
|
|
615
615
|
"field.total_uom_value": "total uom value",
|
|
616
|
+
"field.*_total_uom_value": "[ms] *total uom value",
|
|
616
617
|
"field.total_uom": "total uom",
|
|
617
618
|
"field.total_volume": "[ms]total volume",
|
|
618
619
|
"field.total_weight": "jumlah berat",
|
|
@@ -1126,6 +1127,14 @@
|
|
|
1126
1127
|
"text.add_edit_products_has_been_submitted_for_approval": "[ms]add/edit order products has been submitted for approval",
|
|
1127
1128
|
"text.add_extra_product": "add extra product",
|
|
1128
1129
|
"text.adjustment_pending_admin_approval": "adjustment pending admin approval",
|
|
1130
|
+
"text.Adjustment_Code_required._Kindly_fill_in_the_Adjustment_code_to_continue": "[ms] Adjustment Code required. Kindly fill in the Adjustment code to continue",
|
|
1131
|
+
"text.Adjustment_Note_required._Kindly_fill_in_the_Adjustment_note_to_continue": "[ms] Adjustment Note required. Kindly fill in the Adjustment note to continue",
|
|
1132
|
+
"text.Company_required._Kindly_fill_in_the_Company_to_continue": "[ms] Company required. Kindly fill in the Company to continue",
|
|
1133
|
+
"text.Location_required._Kindly_fill_in_the_Location_to_continue": "[ms] Location required. Kindly fill in the Location to continue",
|
|
1134
|
+
"text.Batch_No._required._Kindly_fill_in_the_Batch_no._to_continue": "[ms] Batch No. required. Kindly fill in the Batch no. to continue",
|
|
1135
|
+
"text.SKU_required._Kindly_fill_in_the_SKU_to_continue": "[ms] SKU required. Kindly fill in the SKU to continue",
|
|
1136
|
+
"text.Qty_required._Kindly_fill_in_the_Qty_to_continue": "[ms] Qty required. Kindly fill in the Qty to continue",
|
|
1137
|
+
"text.Total_uom_value_required._Kindly_fill_in_the_Total_uom_value_to_continue":"[ms] Total uom value required. Kindly fill in the Total uom value to continue",
|
|
1129
1138
|
"text.advise_mt_date_is_empty": "advise mt date is empty",
|
|
1130
1139
|
"text.all_related_serial_number_will_be_deleted": "[ms] all related serial number will be deleted!",
|
|
1131
1140
|
"text.already_existed": "baris {state.text} telah tersedia",
|
package/translations/zh.json
CHANGED
|
@@ -594,6 +594,7 @@
|
|
|
594
594
|
"field.total_self_collect": "total self collect",
|
|
595
595
|
"field.total_tracking_no": "[zh] total tracking no",
|
|
596
596
|
"field.total_uom_value": "total uom value",
|
|
597
|
+
"field.*_total_uom_value": "[zh] *total uom value",
|
|
597
598
|
"field.total_uom": "total uom",
|
|
598
599
|
"field.total_volume": "[zh]total volume",
|
|
599
600
|
"field.total": "total",
|
|
@@ -1093,6 +1094,14 @@
|
|
|
1093
1094
|
"text.add_edit_products_has_been_submitted_for_approval": "[zh]add/edit order products has been submitted for approval",
|
|
1094
1095
|
"text.add_extra_product": "add extra product",
|
|
1095
1096
|
"text.adjustment_pending_admin_approval": "adjustment pending admin approval",
|
|
1097
|
+
"text.Adjustment_Code_required._Kindly_fill_in_the_Adjustment_code_to_continue": "[zh] Adjustment Code required. Kindly fill in the Adjustment code to continue",
|
|
1098
|
+
"text.Adjustment_Note_required._Kindly_fill_in_the_Adjustment_note_to_continue": "[zh] Adjustment Note required. Kindly fill in the Adjustment note to continue",
|
|
1099
|
+
"text.Company_required._Kindly_fill_in_the_Company_to_continue": "[zh] Company required. Kindly fill in the Company to continue",
|
|
1100
|
+
"text.Location_required._Kindly_fill_in_the_Location_to_continue": "[zh] Location required. Kindly fill in the Location to continue",
|
|
1101
|
+
"text.Batch_No._required._Kindly_fill_in_the_Batch_no._to_continue": "[zh] Batch No. required. Kindly fill in the Batch no. to continue",
|
|
1102
|
+
"text.SKU_required._Kindly_fill_in_the_SKU_to_continue": "[zh] SKU required. Kindly fill in the SKU to continue",
|
|
1103
|
+
"text.Qty_required._Kindly_fill_in_the_Qty_to_continue": "[zh] Qty required. Kindly fill in the Qty to continue",
|
|
1104
|
+
"text.Total_uom_value_required._Kindly_fill_in_the_Total_uom_value_to_continue":"[zh] Total uom value required. Kindly fill in the Total uom value to continue",
|
|
1096
1105
|
"text.advise_mt_date_is_empty": "advise mt date is empty",
|
|
1097
1106
|
"text.all_related_serial_number_will_be_deleted": "[zh] all related serial number will be deleted!",
|
|
1098
1107
|
"text.already_existed": "row {state.text} is already existed",
|