@things-factory/operato-wms 4.3.100 → 4.3.101

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.
@@ -337,7 +337,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
337
337
  }
338
338
  },
339
339
  pagination: { infinite: true },
340
- list: { fields: ['completed', 'product', 'palletId', 'cartonId', 'expirationDate', 'batchId', 'qty'] },
340
+ list: { fields: ['completed', 'sku', 'product', 'palletId', 'cartonId', 'expirationDate', 'batchId', 'qty'] },
341
341
  columns: [
342
342
  { type: 'gutter', gutterName: 'sequence' },
343
343
  {
@@ -358,6 +358,13 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
358
358
  header: i18next.t('field.carton_id'),
359
359
  width: 140
360
360
  },
361
+ {
362
+ type: 'string',
363
+ name: 'sku',
364
+ label: true,
365
+ header: i18next.t('field.sku'),
366
+ width: 120
367
+ },
361
368
  {
362
369
  type: 'object',
363
370
  name: 'product',
@@ -509,6 +516,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
509
516
  completed: record.status === WORKSHEET_STATUS.DONE.value,
510
517
  packingTypeSize: `${record.packingType}(${record.packingSize})`,
511
518
  reusablePalletName: reusablePalletName,
519
+ sku: record.product.sku,
512
520
  expirationPeriod: record.product.expirationPeriod,
513
521
  expirationDate: record.expirationDate
514
522
  }
@@ -595,6 +603,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
595
603
  return {
596
604
  ...record,
597
605
  completed: record.status === WORKSHEET_STATUS.DONE.value,
606
+ sku: record.product.sku,
598
607
  expirationPeriod: record.product.expirationPeriod,
599
608
  expirationDate: record.expirationDate
600
609
  }
@@ -673,6 +682,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
673
682
  .map(record => {
674
683
  return {
675
684
  ...record,
685
+ sku: record.product.sku,
676
686
  completed: record.status === WORKSHEET_STATUS.DONE.value
677
687
  }
678
688
  })
@@ -869,7 +869,11 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
869
869
 
870
870
  return {
871
871
  title: i18next.t('title.release_order_detail'),
872
- actions
872
+ actions,
873
+ printable: {
874
+ accept: ['preview'],
875
+ content: this
876
+ }
873
877
  }
874
878
  }
875
879
 
@@ -1618,7 +1622,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
1618
1622
  try {
1619
1623
  const response = await client.mutate({
1620
1624
  mutation: gql`
1621
- mutation generateReleaseGoodWorksheet($releaseGoodNo: String!, $currentStatus: String) {
1625
+ mutation generateReleaseGoodWorksheet($releaseGoodNo: String!, $currentStatus: String) {
1622
1626
  generateReleaseGoodWorksheet(releaseGoodNo: $releaseGoodNo, currentStatus: $currentStatus) {
1623
1627
  pickingWorksheet {
1624
1628
  name
@@ -553,7 +553,7 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
553
553
  auxValue2: product.auxValue2 || '',
554
554
  bizplaceId: releaseGood.bizplace.id,
555
555
  bizplaceName: releaseGood.bizplace.name,
556
- printQty: oi.releaseQty || 0
556
+ printQty: 1
557
557
  }
558
558
 
559
559
  if (product.productDetails && product.productDetails.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.100",
3
+ "version": "4.3.101",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -90,9 +90,9 @@
90
90
  "@things-factory/pdf": "^4.3.99",
91
91
  "@things-factory/print-proxy-service": "^4.3.99",
92
92
  "@things-factory/print-ui": "^4.3.99",
93
- "@things-factory/product-base": "^4.3.100",
93
+ "@things-factory/product-base": "^4.3.101",
94
94
  "@things-factory/resource-ui": "^4.3.99",
95
- "@things-factory/sales-ui": "^4.3.100",
95
+ "@things-factory/sales-ui": "^4.3.101",
96
96
  "@things-factory/scene-data-transform": "^4.3.99",
97
97
  "@things-factory/scene-excel": "^4.3.99",
98
98
  "@things-factory/scene-firebase": "^4.3.99",
@@ -108,8 +108,8 @@
108
108
  "@things-factory/system-ui": "^4.3.99",
109
109
  "@things-factory/transport-base": "^4.3.99",
110
110
  "@things-factory/tutorial-ui": "^4.3.99",
111
- "@things-factory/warehouse-base": "^4.3.100",
112
- "@things-factory/worksheet-base": "^4.3.100"
111
+ "@things-factory/warehouse-base": "^4.3.101",
112
+ "@things-factory/worksheet-base": "^4.3.101"
113
113
  },
114
114
  "devDependencies": {
115
115
  "@things-factory/builder": "^4.3.99",
@@ -118,5 +118,5 @@
118
118
  "cypress-localstorage-commands": "^1.6.1",
119
119
  "eslint-plugin-cypress": "^2.12.1"
120
120
  },
121
- "gitHead": "1b1d640b6e91ae9e15a158c13ff08cca19e02a83"
121
+ "gitHead": "650a69693c312b14afb2c243fde629d9eb0f5fc8"
122
122
  }