@things-factory/operato-wms 4.3.676 → 4.3.678

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.
@@ -23,6 +23,7 @@ import { showToast } from '../../util/index'
23
23
  class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
24
24
  static get properties() {
25
25
  return {
26
+ cycleCountId: String,
26
27
  cycleCountNo: String,
27
28
  locationName: String,
28
29
  cartonId: String,
@@ -438,12 +439,12 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
438
439
  </label>
439
440
  <br />
440
441
  <span class="input-font" ?hidden=${this._editMode.inspectedBatchNo}>${
441
- this._currentCard.inspectedBatchNo
442
- ? this._currentCard.inspectedBatchNo
443
- : this._hideCCColumnSetting && !this._enableCartonLabel
444
- ? ''
445
- : this._currentCard.originBatchNo
446
- }
442
+ this._currentCard.inspectedBatchNo
443
+ ? this._currentCard.inspectedBatchNo
444
+ : this._hideCCColumnSetting && !this._enableCartonLabel
445
+ ? ''
446
+ : this._currentCard.originBatchNo
447
+ }
447
448
  <mwc-icon-button
448
449
  icon="edit"
449
450
  align="end"
@@ -735,6 +736,9 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
735
736
  locationFilter : $locationFilter
736
737
  ) {
737
738
  worksheetInfo {
739
+ inventoryCheck{
740
+ id
741
+ }
738
742
  name
739
743
  status
740
744
  startedAt
@@ -833,6 +837,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
833
837
  this.bizplaceId = worksheetInfo.bizplace.id
834
838
  this.worksheetStatus = worksheetInfo.status
835
839
  this._ccCompleted = worksheetInfo.ccCompleted
840
+ this.cycleCountId = worksheetInfo.inventoryCheck.id
836
841
  let mappedLocationInfo = data => {
837
842
  const location = data.reduce(
838
843
  (tot, itm) => {
@@ -1362,16 +1367,18 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
1362
1367
  $cartonId: String!
1363
1368
  $batchId: String!
1364
1369
  $locationId: String!
1370
+ $inventoryCheckId: String!
1365
1371
  ) {
1366
1372
  checkMissingInventoryCarton(
1367
1373
  productDetailId: $productDetailId
1368
1374
  cartonId: $cartonId
1369
1375
  batchId: $batchId
1370
1376
  locationId: $locationId
1377
+ inventoryCheckId: $inventoryCheckId
1371
1378
  )
1372
1379
  }
1373
1380
  `,
1374
- variables: { productDetailId, cartonId, batchId, locationId }
1381
+ variables: { productDetailId, cartonId, batchId, locationId, inventoryCheckId: this.cycleCountId }
1375
1382
  })
1376
1383
  }
1377
1384
 
@@ -586,6 +586,12 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
586
586
  }
587
587
  }
588
588
  },
589
+ {
590
+ type: 'string',
591
+ name: 'batchId',
592
+ header: i18next.t('field.batch_id'),
593
+ width: 100
594
+ },
589
595
  {
590
596
  type: 'object',
591
597
  name: 'product',
@@ -825,6 +831,7 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
825
831
  orderProducts {
826
832
  id
827
833
  name
834
+ batchId
828
835
  product {
829
836
  id
830
837
  name
@@ -17,6 +17,7 @@ import {
17
17
  PageView,
18
18
  store
19
19
  } from '@things-factory/shell'
20
+ import { flattenObject } from '@things-factory/utils'
20
21
 
21
22
  class OrderVasReport extends connect(store)(localize(i18next)(PageView)) {
22
23
  static get styles() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.676",
3
+ "version": "4.3.678",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -63,35 +63,35 @@
63
63
  "@operato/scene-table": "^0.1.8",
64
64
  "@operato/scene-wheel-sorter": "^0.1.8",
65
65
  "@things-factory/apptool-ui": "^4.3.675",
66
- "@things-factory/attachment-ui": "^4.3.675",
67
- "@things-factory/auth-ui": "^4.3.675",
66
+ "@things-factory/attachment-ui": "^4.3.677",
67
+ "@things-factory/auth-ui": "^4.3.677",
68
68
  "@things-factory/barcode-ui": "^4.3.675",
69
- "@things-factory/biz-ui": "^4.3.675",
70
- "@things-factory/board-service": "^4.3.675",
71
- "@things-factory/board-ui": "^4.3.675",
72
- "@things-factory/code-ui": "^4.3.675",
69
+ "@things-factory/biz-ui": "^4.3.677",
70
+ "@things-factory/board-service": "^4.3.677",
71
+ "@things-factory/board-ui": "^4.3.677",
72
+ "@things-factory/code-ui": "^4.3.677",
73
73
  "@things-factory/context-ui": "^4.3.675",
74
74
  "@things-factory/export-ui": "^4.3.675",
75
75
  "@things-factory/export-ui-csv": "^4.3.675",
76
76
  "@things-factory/export-ui-excel": "^4.3.675",
77
- "@things-factory/fav-base": "^4.3.675",
77
+ "@things-factory/fav-base": "^4.3.677",
78
78
  "@things-factory/form-ui": "^4.3.675",
79
- "@things-factory/geography": "^4.3.675",
79
+ "@things-factory/geography": "^4.3.677",
80
80
  "@things-factory/grist-ui": "^4.3.675",
81
81
  "@things-factory/help": "^4.3.675",
82
82
  "@things-factory/i18n-base": "^4.3.675",
83
- "@things-factory/id-rule-base": "^4.3.675",
83
+ "@things-factory/id-rule-base": "^4.3.677",
84
84
  "@things-factory/import-ui": "^4.3.675",
85
85
  "@things-factory/import-ui-excel": "^4.3.675",
86
- "@things-factory/menu-ui": "^4.3.675",
86
+ "@things-factory/menu-ui": "^4.3.677",
87
87
  "@things-factory/more-ui": "^4.3.675",
88
- "@things-factory/notification": "^4.3.675",
88
+ "@things-factory/notification": "^4.3.677",
89
89
  "@things-factory/pdf": "^4.3.591",
90
90
  "@things-factory/print-proxy-service": "^4.3.675",
91
91
  "@things-factory/print-ui": "^4.3.675",
92
- "@things-factory/product-base": "^4.3.675",
93
- "@things-factory/resource-ui": "^4.3.675",
94
- "@things-factory/sales-ui": "^4.3.675",
92
+ "@things-factory/product-base": "^4.3.677",
93
+ "@things-factory/resource-ui": "^4.3.677",
94
+ "@things-factory/sales-ui": "^4.3.678",
95
95
  "@things-factory/scene-data-transform": "^4.3.591",
96
96
  "@things-factory/scene-excel": "^4.3.591",
97
97
  "@things-factory/scene-firebase": "^4.3.591",
@@ -103,12 +103,12 @@
103
103
  "@things-factory/scene-mqtt": "^4.3.591",
104
104
  "@things-factory/scene-restful": "^4.3.591",
105
105
  "@things-factory/scene-visualizer": "^4.3.591",
106
- "@things-factory/setting-ui": "^4.3.675",
106
+ "@things-factory/setting-ui": "^4.3.677",
107
107
  "@things-factory/system-ui": "^4.3.675",
108
- "@things-factory/transport-base": "^4.3.675",
109
- "@things-factory/tutorial-ui": "^4.3.675",
110
- "@things-factory/warehouse-base": "^4.3.675",
111
- "@things-factory/worksheet-base": "^4.3.676"
108
+ "@things-factory/transport-base": "^4.3.677",
109
+ "@things-factory/tutorial-ui": "^4.3.677",
110
+ "@things-factory/warehouse-base": "^4.3.678",
111
+ "@things-factory/worksheet-base": "^4.3.678"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.591",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "29579492b1f655ce2e33e6eb0ab746702c12013f"
120
+ "gitHead": "b3d9928b406cee3e23e096cb00cf89ece8231870"
121
121
  }