@things-factory/operato-wms 3.7.10 → 3.7.14

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.
Files changed (35) hide show
  1. package/client/pages/components/select-product-popup.js +9 -0
  2. package/client/pages/inbound/worksheet-putaway-return.js +8 -0
  3. package/client/pages/inbound/worksheet-putaway.js +8 -0
  4. package/client/pages/inbound/worksheet-unloading-return.js +8 -0
  5. package/client/pages/inbound/worksheet-unloading.js +8 -0
  6. package/client/pages/inventory/inventory-adjustment.js +10 -0
  7. package/client/pages/inventory/inventory-by-product.js +8 -0
  8. package/client/pages/inventory/inventory-history-by-pallet.js +9 -0
  9. package/client/pages/inventory/inventory-history.js +10 -0
  10. package/client/pages/inventory/onhand-inventory.js +11 -1
  11. package/client/pages/inventory-check/create-cycle-count.js +11 -0
  12. package/client/pages/inventory-check/cycle-count-report.js +8 -0
  13. package/client/pages/inventory-check/worksheet-cycle-count.js +14 -0
  14. package/client/pages/order/arrival-notice/arrival-notice-detail.js +119 -107
  15. package/client/pages/order/arrival-notice/assign-buffer-location.js +8 -1
  16. package/client/pages/order/arrival-notice/check-arrived-notice.js +9 -1
  17. package/client/pages/order/arrival-notice/create-arrival-notice.js +7 -0
  18. package/client/pages/order/arrival-notice/receive-arrival-notice.js +8 -1
  19. package/client/pages/order/release-order/create-release-order.js +24 -1
  20. package/client/pages/order/release-order/receive-release-order-request.js +8 -0
  21. package/client/pages/order/release-order/release-extra-product-popup.js +64 -64
  22. package/client/pages/order/release-order/release-order-detail.js +9 -3
  23. package/client/pages/order/return-order/check-return-order.js +9 -1
  24. package/client/pages/order/return-order/create-return-order.js +13 -1
  25. package/client/pages/order/return-order/receive-return-order-requests.js +9 -1
  26. package/client/pages/order/return-order/return-order-detail.js +9 -1
  27. package/client/pages/order/return-order/return-order-inventory-popup.js +7 -0
  28. package/client/pages/outbound/inventory-assign-popup.js +10 -1
  29. package/client/pages/outbound/inventory-auto-assign-popup.js +9 -0
  30. package/client/pages/outbound/worksheet-loading.js +9 -1
  31. package/client/pages/outbound/worksheet-packing.js +8 -0
  32. package/client/pages/outbound/worksheet-picking.js +19 -0
  33. package/client/pages/outbound/worksheet-return.js +9 -1
  34. package/client/pages/outbound/worksheet-sorting.js +9 -1
  35. package/package.json +6 -6
@@ -527,6 +527,12 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
527
527
  header: i18next.t('field.product'),
528
528
  width: 150
529
529
  },
530
+ {
531
+ type: 'string',
532
+ name: 'productBrand',
533
+ header: i18next.t('field.brand'),
534
+ width: 100
535
+ },
530
536
  {
531
537
  type: 'string',
532
538
  name: 'packingType',
@@ -724,6 +730,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
724
730
  product {
725
731
  id
726
732
  sku
733
+ brand
727
734
  name
728
735
  description
729
736
  }
@@ -785,12 +792,11 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
785
792
 
786
793
  this.roType = releaseOrder.type
787
794
  const orderInventories = releaseOrder.inventoryInfos.map(inventoryInfo => {
788
- let roundedUomValue =
789
- inventoryInfo.releaseQty *
790
- ((inventoryInfo.uomValue + inventoryInfo.releaseUomValue) / (inventoryInfo.qty + inventoryInfo.releaseQty))
795
+ let roundedUomValue = parseFloat(inventoryInfo.releaseUomValue.toFixed(2))
791
796
  return {
792
797
  ...inventoryInfo,
793
798
  productSKU: inventoryInfo?.product?.sku || '',
799
+ productBrand: inventoryInfo?.product?.brand || '',
794
800
  inventory: {
795
801
  id: inventoryInfo.id,
796
802
  name: inventoryInfo.name,
@@ -271,6 +271,12 @@ class CheckReturnOrder extends connect(store)(localize(i18next)(PageView)) {
271
271
  header: i18next.t('field.product'),
272
272
  width: 150
273
273
  },
274
+ {
275
+ type: 'string',
276
+ name: 'brand',
277
+ header: i18next.t('field.brand'),
278
+ width: 150
279
+ },
274
280
  {
275
281
  type: 'string',
276
282
  name: 'packingType',
@@ -343,6 +349,7 @@ class CheckReturnOrder extends connect(store)(localize(i18next)(PageView)) {
343
349
  name
344
350
  description
345
351
  sku
352
+ brand
346
353
  }
347
354
  productName
348
355
  packingType
@@ -376,7 +383,8 @@ class CheckReturnOrder extends connect(store)(localize(i18next)(PageView)) {
376
383
  records: orderInventories.map(orderInventory => {
377
384
  return {
378
385
  ...orderInventory,
379
- sku: orderInventory.product.sku
386
+ sku: orderInventory.product.sku,
387
+ brand: orderInventory.product.brand
380
388
  }
381
389
  })
382
390
  }
@@ -411,6 +411,11 @@ class CreateReturnOrder extends localize(i18next)(PageView) {
411
411
  width: 280,
412
412
  ignoreCondition: true
413
413
  },
414
+ {
415
+ name: 'productBrand',
416
+ header: i18next.t('field.brand'),
417
+ ignoreCondition: true
418
+ },
414
419
  {
415
420
  name: 'packingType',
416
421
  header: i18next.t('field.packing_type'),
@@ -437,6 +442,7 @@ class CreateReturnOrder extends localize(i18next)(PageView) {
437
442
  'releaseGoodName',
438
443
  'batchId',
439
444
  'productName',
445
+ 'productBrand',
440
446
  'packingType',
441
447
  'packingSize',
442
448
  'releaseQty',
@@ -459,6 +465,12 @@ class CreateReturnOrder extends localize(i18next)(PageView) {
459
465
  header: i18next.t('field.product_name'),
460
466
  width: 150
461
467
  },
468
+ {
469
+ type: 'string',
470
+ name: 'productBrand',
471
+ header: i18next.t('field.brand'),
472
+ width: 150
473
+ },
462
474
  {
463
475
  type: 'string',
464
476
  name: 'batchId',
@@ -754,7 +766,7 @@ class CreateReturnOrder extends localize(i18next)(PageView) {
754
766
  let returnOrder = this._serializeForm(this.returnOrderForm)
755
767
  delete returnOrder.warehouseTransport
756
768
  returnOrder.orderInventories = this._getOrderInventories()
757
- returnOrder.ownTransport = this._ownTransport
769
+ returnOrder.ownTransport = this._ownTransport
758
770
  const attachments = this._document?.files ? this._document.files : undefined
759
771
  const response = await client.mutate({
760
772
  mutation: gql`
@@ -277,6 +277,12 @@ class ReceiveReturnOrderRequests extends connect(store)(localize(i18next)(PageVi
277
277
  header: i18next.t('field.product'),
278
278
  width: 150
279
279
  },
280
+ {
281
+ type: 'string',
282
+ name: 'brand',
283
+ header: i18next.t('field.brand'),
284
+ width: 150
285
+ },
280
286
  {
281
287
  type: 'string',
282
288
  name: 'packingType',
@@ -349,6 +355,7 @@ class ReceiveReturnOrderRequests extends connect(store)(localize(i18next)(PageVi
349
355
  name
350
356
  description
351
357
  sku
358
+ brand
352
359
  }
353
360
  productName
354
361
  packingType
@@ -381,7 +388,8 @@ class ReceiveReturnOrderRequests extends connect(store)(localize(i18next)(PageVi
381
388
  records: orderInventories.map(orderInventory => {
382
389
  return {
383
390
  ...orderInventory,
384
- sku: orderInventory.product.sku
391
+ sku: orderInventory.product.sku,
392
+ brand: orderInventory.product.brand
385
393
  }
386
394
  })
387
395
  }
@@ -312,6 +312,12 @@ class ReturnOrderDetail extends connect(store)(localize(i18next)(PageView)) {
312
312
  header: i18next.t('field.product'),
313
313
  width: 150
314
314
  },
315
+ {
316
+ type: 'string',
317
+ name: 'brand',
318
+ header: i18next.t('field.brand'),
319
+ width: 150
320
+ },
315
321
  {
316
322
  type: 'string',
317
323
  name: 'packingType',
@@ -384,6 +390,7 @@ class ReturnOrderDetail extends connect(store)(localize(i18next)(PageView)) {
384
390
  name
385
391
  description
386
392
  sku
393
+ brand
387
394
  }
388
395
  productName
389
396
  packingType
@@ -417,7 +424,8 @@ class ReturnOrderDetail extends connect(store)(localize(i18next)(PageView)) {
417
424
  records: orderInventories.map(orderInventory => {
418
425
  return {
419
426
  ...orderInventory,
420
- sku: orderInventory.product.sku
427
+ sku: orderInventory.product.sku,
428
+ brand: orderInventory.product.brand
421
429
  }
422
430
  })
423
431
  }
@@ -154,6 +154,12 @@ class ReturnOrderInventoryPopup extends localize(i18next)(LitElement) {
154
154
  header: i18next.t('field.product_name'),
155
155
  width: 220
156
156
  },
157
+ {
158
+ type: 'string',
159
+ name: 'productBrand',
160
+ header: i18next.t('field.brand'),
161
+ width: 120
162
+ },
157
163
  {
158
164
  type: 'code',
159
165
  name: 'packingType',
@@ -233,6 +239,7 @@ class ReturnOrderInventoryPopup extends localize(i18next)(LitElement) {
233
239
  id
234
240
  }
235
241
  productName
242
+ productBrand
236
243
  packingType
237
244
  packingSize
238
245
  releaseUomValueWithUom
@@ -21,6 +21,7 @@ class InventoryAssignPopup extends localize(i18next)(LitElement) {
21
21
  productId: String,
22
22
  productName: String,
23
23
  productSku: String,
24
+ productBrand: String,
24
25
  bizplaceId: String,
25
26
  packingType: String,
26
27
  uom: String,
@@ -147,6 +148,7 @@ class InventoryAssignPopup extends localize(i18next)(LitElement) {
147
148
  'picked',
148
149
  'palletId',
149
150
  'productSku',
151
+ 'productBrand',
150
152
  'product',
151
153
  'location',
152
154
  'pickedQty',
@@ -191,6 +193,12 @@ class InventoryAssignPopup extends localize(i18next)(LitElement) {
191
193
  header: i18next.t('field.product'),
192
194
  width: 250
193
195
  },
196
+ {
197
+ type: 'string',
198
+ name: 'productBrand',
199
+ header: i18next.t('field.brand'),
200
+ width: 130
201
+ },
194
202
  {
195
203
  type: 'object',
196
204
  name: 'location',
@@ -267,7 +275,6 @@ class InventoryAssignPopup extends localize(i18next)(LitElement) {
267
275
  packingType: $packingType
268
276
  packingSize: $packingSize
269
277
  uom: $uom
270
-
271
278
  pickingStrategy: $pickingStrategy
272
279
  locationSortingRules: $locationSortingRules
273
280
  ) {
@@ -280,6 +287,7 @@ class InventoryAssignPopup extends localize(i18next)(LitElement) {
280
287
  name
281
288
  description
282
289
  sku
290
+ brand
283
291
  }
284
292
  location {
285
293
  name
@@ -316,6 +324,7 @@ class InventoryAssignPopup extends localize(i18next)(LitElement) {
316
324
  ...item,
317
325
  ...item.location,
318
326
  productSku: item.product.sku,
327
+ productBrand: item.product.brand,
319
328
  availableUomValue: item.uomValue + ' ' + item.uom
320
329
  }
321
330
  }),
@@ -138,6 +138,12 @@ class InventoryAutoAssignPopup extends localize(i18next)(LitElement) {
138
138
  header: i18next.t('field.product'),
139
139
  width: 150
140
140
  },
141
+ {
142
+ type: 'string',
143
+ name: 'productBrand',
144
+ header: i18next.t('field.brand'),
145
+ width: 100
146
+ },
141
147
  {
142
148
  type: 'string',
143
149
  name: 'packingType',
@@ -234,6 +240,7 @@ class InventoryAutoAssignPopup extends localize(i18next)(LitElement) {
234
240
  async fetchInventoriesByStrategy({ batchId, product, packingType, packingSize, uom }, pickingStrategy, bizplaceId) {
235
241
  const productName = product.name
236
242
  const productSku = product.sku
243
+ const productBrand = product.brand
237
244
  const response = await client.query({
238
245
  query: gql`
239
246
  query inventoriesByStrategy(
@@ -268,6 +275,7 @@ class InventoryAutoAssignPopup extends localize(i18next)(LitElement) {
268
275
  name
269
276
  description
270
277
  sku
278
+ brand
271
279
  }
272
280
  }
273
281
  }
@@ -292,6 +300,7 @@ class InventoryAutoAssignPopup extends localize(i18next)(LitElement) {
292
300
  ...item,
293
301
  ...item.location,
294
302
  productSku: item.product.sku,
303
+ productBrand: item.product.brand,
295
304
  releaseUomValue: item.uomValue + ' ' + item.uom
296
305
  }
297
306
  })
@@ -137,7 +137,7 @@ class WorksheetLoading extends localize(i18next)(PageView) {
137
137
  ${Object.keys(WORKSHEET_STATUS).map(
138
138
  key => html` <option value="${WORKSHEET_STATUS[key].value}">${WORKSHEET_STATUS[key].name}</option> `
139
139
  )}
140
- </select>
140
+ </select>
141
141
  </fieldset>
142
142
  </form>
143
143
 
@@ -211,6 +211,12 @@ class WorksheetLoading extends localize(i18next)(PageView) {
211
211
  header: i18next.t('field.product'),
212
212
  width: 350
213
213
  },
214
+ {
215
+ type: 'string',
216
+ name: 'productBrand',
217
+ header: i18next.t('field.brand'),
218
+ width: 150
219
+ },
214
220
  {
215
221
  type: 'string',
216
222
  name: 'zone',
@@ -404,6 +410,7 @@ class WorksheetLoading extends localize(i18next)(PageView) {
404
410
  }
405
411
  product {
406
412
  sku
413
+ brand
407
414
  name
408
415
  description
409
416
  }
@@ -438,6 +445,7 @@ class WorksheetLoading extends localize(i18next)(PageView) {
438
445
  description: worksheetDetail.description,
439
446
  status: worksheetDetail.status,
440
447
  productSku: worksheetDetail.targetInventory.inventory.product.sku,
448
+ productBrand: worksheetDetail.targetInventory.inventory.product.brand,
441
449
  releaseQty: worksheetDetail.targetInventory.releaseQty,
442
450
  packingType: worksheetDetail.targetInventory.inventory.packingType
443
451
  }
@@ -246,6 +246,12 @@ class WorksheetPacking extends localize(i18next)(PageView) {
246
246
  header: i18next.t('field.product'),
247
247
  width: 250
248
248
  },
249
+ {
250
+ type: 'string',
251
+ name: 'brand',
252
+ header: i18next.t('field.brand'),
253
+ width: 150
254
+ },
249
255
  {
250
256
  type: 'string',
251
257
  name: 'packingType',
@@ -354,6 +360,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
354
360
  id
355
361
  name
356
362
  sku
363
+ brand
357
364
  description
358
365
  }
359
366
  packingType
@@ -411,6 +418,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
411
418
  batchId: worksheetDetail.targetInventory.batchId,
412
419
  batchIdRef: worksheetDetail.targetInventory.batchIdRef,
413
420
  sku: worksheetDetail.targetInventory.product.sku,
421
+ brand: worksheetDetail.targetInventory.product.brand,
414
422
  status: worksheetDetail.status,
415
423
  releaseQty: worksheetDetail.targetInventory.releaseQty,
416
424
  releaseUomValueWithUom:
@@ -393,6 +393,12 @@ class WorksheetPicking extends localize(i18next)(PageView) {
393
393
  header: i18next.t('field.product'),
394
394
  width: 250
395
395
  },
396
+ {
397
+ type: 'string',
398
+ name: 'productBrand',
399
+ header: i18next.t('field.brand'),
400
+ width: 100
401
+ },
396
402
  {
397
403
  type: 'string',
398
404
  name: 'packingType',
@@ -456,6 +462,12 @@ class WorksheetPicking extends localize(i18next)(PageView) {
456
462
  header: i18next.t('field.product'),
457
463
  width: 250
458
464
  },
465
+ {
466
+ type: 'string',
467
+ name: 'productBrand',
468
+ header: i18next.t('field.brand'),
469
+ width: 100
470
+ },
459
471
  {
460
472
  type: 'string',
461
473
  name: 'packingType',
@@ -647,6 +659,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
647
659
  name
648
660
  description
649
661
  sku
662
+ brand
650
663
  }
651
664
  packingType
652
665
  packingSize
@@ -747,9 +760,11 @@ class WorksheetPicking extends localize(i18next)(PageView) {
747
760
  (result, ordInv) => {
748
761
  if (ordInv.status === ORDER_INVENTORY_STATUS.PENDING_SPLIT.value) {
749
762
  ordInv.productSku = ordInv.product.sku
763
+ ordInv.productBrand = ordInv.product.brand
750
764
  result.tempOrderInvs.push(ordInv)
751
765
  } else {
752
766
  ordInv.productSku = ordInv.product.sku
767
+ ordInv.productBrand = ordInv.product.brand
753
768
  ordInv.releaseUomValueWithUom = ordInv.releaseUomValue.toFixed(2) + ' ' + ordInv.inventory.uom
754
769
  ordInv.availableQty = ordInv.inventory.qty - ordInv.inventory.lockedQty + ordInv.releaseQty
755
770
  result.completedOrderInvs.push(ordInv)
@@ -887,6 +902,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
887
902
  product {
888
903
  sku
889
904
  name
905
+ brand
890
906
  description
891
907
  }
892
908
  location {
@@ -914,6 +930,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
914
930
  ...item.targetInventory.inventory,
915
931
  ...item.targetInventory.inventory.location,
916
932
  productSku: item.targetInventory.inventory.product.sku,
933
+ productBrand: item.targetInventory.inventory.product.brand,
917
934
  description: item.description,
918
935
  releaseUomValueWithUom:
919
936
  item.targetInventory.releaseUomValue.toFixed(2) + ' ' + item.targetInventory.inventory.uom,
@@ -970,6 +987,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
970
987
  product {
971
988
  sku
972
989
  name
990
+ brand
973
991
  description
974
992
  }
975
993
  zone
@@ -1019,6 +1037,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
1019
1037
  description: wsd.description,
1020
1038
  status: wsd.status,
1021
1039
  productSku: wsd.targetInventory.inventory.product.sku,
1040
+ productBrand: item.targetInventory.inventory.product.brand,
1022
1041
  releaseQty: wsd.targetInventory.releaseQty,
1023
1042
  releaseUomValue: wsd.targetInventory.releaseUomValue,
1024
1043
  releaseUomValueWithUom:
@@ -101,7 +101,7 @@ class WorksheetReturn extends localize(i18next)(PageView) {
101
101
  accept: ['preview'],
102
102
  content: this
103
103
  },
104
- help: 'operato-wms/outbound/worksheet-return',
104
+ help: 'operato-wms/outbound/worksheet-return'
105
105
  }
106
106
  }
107
107
 
@@ -187,6 +187,12 @@ class WorksheetReturn extends localize(i18next)(PageView) {
187
187
  header: i18next.t('field.product'),
188
188
  width: 350
189
189
  },
190
+ {
191
+ type: 'string',
192
+ name: 'brand',
193
+ header: i18next.t('field.brand'),
194
+ width: 150
195
+ },
190
196
  {
191
197
  type: 'string',
192
198
  name: 'packingType',
@@ -251,6 +257,7 @@ class WorksheetReturn extends localize(i18next)(PageView) {
251
257
  cartonId
252
258
  product {
253
259
  name
260
+ brand
254
261
  description
255
262
  }
256
263
  packingType
@@ -285,6 +292,7 @@ class WorksheetReturn extends localize(i18next)(PageView) {
285
292
  return {
286
293
  ...worksheetDetail.targetInventory.inventory,
287
294
  name: worksheetDetail.name,
295
+ brand: worksheetDetail.targetInventory.inventory.product.brand,
288
296
  description: worksheetDetail.description,
289
297
  releaseQty: worksheetDetail.targetInventory.releaseQty,
290
298
  status: worksheetDetail.status
@@ -189,6 +189,12 @@ class WorksheetSorting extends localize(i18next)(PageView) {
189
189
  header: i18next.t('field.product'),
190
190
  width: 350
191
191
  },
192
+ {
193
+ type: 'string',
194
+ name: 'productBrand',
195
+ header: i18next.t('field.brand'),
196
+ width: 150
197
+ },
192
198
  {
193
199
  type: 'string',
194
200
  name: 'packingType',
@@ -263,6 +269,7 @@ class WorksheetSorting extends localize(i18next)(PageView) {
263
269
  product {
264
270
  name
265
271
  sku
272
+ brand
266
273
  description
267
274
  }
268
275
  }
@@ -292,7 +299,8 @@ class WorksheetSorting extends localize(i18next)(PageView) {
292
299
  ...worksheetDetail.targetInventory,
293
300
  ...worksheetDetail.targetInventory.product,
294
301
  ...worksheetDetail.targetInventory.inventory,
295
- productSku: worksheetDetail.targetInventory.inventory.product.sku
302
+ productSku: worksheetDetail.targetInventory.inventory.product.sku,
303
+ productBrand: worksheetDetail.targetInventory.inventory.product.brand
296
304
  }
297
305
  })
298
306
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "3.7.10",
3
+ "version": "3.7.14",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -69,9 +69,9 @@
69
69
  "@things-factory/print-proxy-service": "^3.7.5",
70
70
  "@things-factory/print-service": "^3.7.5",
71
71
  "@things-factory/print-ui": "^3.7.5",
72
- "@things-factory/product-base": "^3.7.8",
72
+ "@things-factory/product-base": "^3.7.14",
73
73
  "@things-factory/resource-ui": "^3.7.7",
74
- "@things-factory/sales-ui": "^3.7.10",
74
+ "@things-factory/sales-ui": "^3.7.14",
75
75
  "@things-factory/scene-chartjs": "^3.7.5",
76
76
  "@things-factory/scene-clock": "^3.7.5",
77
77
  "@things-factory/scene-clone": "^3.7.5",
@@ -102,11 +102,11 @@
102
102
  "@things-factory/system-ui": "^3.7.5",
103
103
  "@things-factory/transport-base": "^3.7.5",
104
104
  "@things-factory/tutorial-ui": "^3.7.5",
105
- "@things-factory/warehouse-base": "^3.7.10",
106
- "@things-factory/worksheet-base": "^3.7.10"
105
+ "@things-factory/warehouse-base": "^3.7.14",
106
+ "@things-factory/worksheet-base": "^3.7.14"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@things-factory/builder": "^3.7.5"
110
110
  },
111
- "gitHead": "dc4aa344ee524651b4e633c3647c85c8daad8eb6"
111
+ "gitHead": "b8736fcc7bbaa2102e70b4f4ab1c409743e2eb6c"
112
112
  }