@things-factory/operato-wms 4.3.650 → 4.3.652

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.
@@ -406,11 +406,11 @@ class PutawayWorksheetGeneratePopup extends localize(i18next)(LitElement) {
406
406
  this._isExecuting = true
407
407
  const response = await client.mutate({
408
408
  mutation: gql`
409
- mutation generatePartialPutawayWorksheet($arrivalNoticeNo: String!, $inventories: [InventoryPatch]!) {
410
- generatePartialPutawayWorksheet(arrivalNoticeNo: $arrivalNoticeNo, inventories: $inventories)
409
+ mutation generatePartialPutawayWorksheet($arrivalNoticeId: String!, $inventories: [InventoryPatch]!) {
410
+ generatePartialPutawayWorksheet(arrivalNoticeId: $arrivalNoticeId, inventories: $inventories)
411
411
  }
412
412
  `,
413
- variables: { arrivalNoticeNo: this.arrivalNotice.name, inventories }
413
+ variables: { arrivalNoticeId: this.arrivalNotice.id, inventories }
414
414
  })
415
415
 
416
416
  if (!response.errors) {
@@ -1669,6 +1669,21 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1669
1669
  if (!response.errors) {
1670
1670
  if (this._enableProductScanning && this.cartonInput?.value) this.cartonInput.value = ''
1671
1671
  await this._fetchProducts(this._orderNo)
1672
+
1673
+ try {
1674
+ const generatePartialPutawayWorksheetResponse = await client.mutate({
1675
+ mutation: gql`
1676
+ mutation generatePartialPutawayWorksheet( $arrivalNoticeId: String!) {
1677
+ generatePartialPutawayWorksheet(arrivalNoticeId: $arrivalNoticeId)
1678
+ }
1679
+ `,
1680
+ variables: { arrivalNoticeId: this._orderId }
1681
+ })
1682
+
1683
+ } catch (error) {
1684
+ this._showToast(error)
1685
+ }
1686
+
1672
1687
  }
1673
1688
  } catch (e) {
1674
1689
  this._showToast(e)
@@ -141,14 +141,14 @@ class WorksheetUnloading extends localize(i18next)(PageView) {
141
141
  ...CommonButtonStyles.label
142
142
  })
143
143
  }
144
-
145
- if (this.data?.records?.some(wsd => wsd.status === WORKSHEET_STATUS.PARTIALLY_UNLOADED.value)) {
146
- actions.push({
147
- title: i18next.t('button.create_putaway_worksheet'),
148
- action: this._showPutawayWorksheetPopup.bind(this),
149
- ...CommonButtonStyles.add
150
- })
151
- }
144
+ /* Remove button, process automated */
145
+ // if (this.data?.records?.some(wsd => wsd.status === WORKSHEET_STATUS.PARTIALLY_UNLOADED.value)) {
146
+ // actions.push({
147
+ // title: i18next.t('button.create_putaway_worksheet'),
148
+ // action: this._showPutawayWorksheetPopup.bind(this),
149
+ // ...CommonButtonStyles.add
150
+ // })
151
+ // }
152
152
  }
153
153
 
154
154
  return {
@@ -6,17 +6,17 @@ module.exports = {
6
6
  subdomainOffset: 2,
7
7
  port: 4444,
8
8
  inspect: '9330',
9
- // ormconfig: {
10
- // name: 'default',
11
- // type: 'postgres',
12
- // database: 'operato',
13
- // username: 'postgres',
14
- // password: 'hatio',
15
- // host: '192.168.0.153',
16
- // port: 15432,
17
- // synchronize: false,
18
- // logging: true
19
- // },
9
+ ormconfig: {
10
+ name: 'default',
11
+ type: 'postgres',
12
+ database: 'arif',
13
+ username: 'postgres',
14
+ password: 'hatio',
15
+ host: '192.168.0.144',
16
+ port: 15432,
17
+ synchronize: false,
18
+ logging: true
19
+ },
20
20
  // ormconfig: {
21
21
  // name: 'default',
22
22
  // type: 'postgres',
@@ -42,17 +42,17 @@ module.exports = {
42
42
  // synchronize: true,
43
43
  // logging: true
44
44
  // },
45
- ormconfig: {
46
- name: 'default',
47
- type: 'postgres',
48
- database: 'arif',
49
- username: 'postgres',
50
- password: 'hatio',
51
- host: '192.168.0.144',
52
- port: 15432,
53
- synchronize: false,
54
- logging: true
55
- },
45
+ // ormconfig: {
46
+ // name: 'default',
47
+ // type: 'postgres',
48
+ // database: 'postgres',
49
+ // username: 'postgres',
50
+ // password: 'hatio',
51
+ // host: '192.168.0.151',
52
+ // port: 15432,
53
+ // synchronize: false,
54
+ // logging: true
55
+ // },
56
56
 
57
57
  // //ERIC
58
58
  // ormconfig: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.650",
3
+ "version": "4.3.652",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -89,9 +89,9 @@
89
89
  "@things-factory/pdf": "^4.3.591",
90
90
  "@things-factory/print-proxy-service": "^4.3.591",
91
91
  "@things-factory/print-ui": "^4.3.591",
92
- "@things-factory/product-base": "^4.3.642",
92
+ "@things-factory/product-base": "^4.3.651",
93
93
  "@things-factory/resource-ui": "^4.3.642",
94
- "@things-factory/sales-ui": "^4.3.650",
94
+ "@things-factory/sales-ui": "^4.3.652",
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",
@@ -107,8 +107,8 @@
107
107
  "@things-factory/system-ui": "^4.3.591",
108
108
  "@things-factory/transport-base": "^4.3.631",
109
109
  "@things-factory/tutorial-ui": "^4.3.591",
110
- "@things-factory/warehouse-base": "^4.3.647",
111
- "@things-factory/worksheet-base": "^4.3.650"
110
+ "@things-factory/warehouse-base": "^4.3.652",
111
+ "@things-factory/worksheet-base": "^4.3.652"
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": "b330c4475f36debaf11b2fde86f0219a3ab613d3"
120
+ "gitHead": "3aa7eb5c7879696cc724760bd04fc6e5cc30194f"
121
121
  }