@things-factory/operato-wms 4.3.347 → 4.3.348

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.
@@ -42,7 +42,6 @@ class WorksheetPicking extends localize(i18next)(PageView) {
42
42
  static get properties() {
43
43
  return {
44
44
  isPalletPickingOrder: Boolean,
45
- _isLmd: Boolean,
46
45
  _worksheetNo: String,
47
46
  _worksheetStatus: String,
48
47
  _roNo: String,
@@ -54,7 +53,6 @@ class WorksheetPicking extends localize(i18next)(PageView) {
54
53
  wsdGristConfig: Object,
55
54
  productGristData: Object,
56
55
  worksheetDetailData: Object,
57
- roType: String,
58
56
  vasData: Object,
59
57
  vasGristConfig: Object,
60
58
  worksheetType: String,
@@ -225,68 +223,23 @@ class WorksheetPicking extends localize(i18next)(PageView) {
225
223
 
226
224
  <label>${i18next.t('label.options')}</label>
227
225
  <div options-wrap>
228
- <input
229
- id="ownCollection"
230
- type="checkbox"
231
- name="ownCollection"
232
- ?hidden="${this.roType == 'b2c'}"
233
- disabled
234
- />
235
- <label for="ownCollection" ?hidden="${this.roType == 'b2c'}">${i18next.t('label.own_collection')}</label>
236
-
237
- <input
238
- name="crossDocking"
239
- type="checkbox"
240
- .checked="${this.crossDocking}"
241
- ?hidden="${this.roType == 'b2c'}"
242
- disabled
243
- />
244
- <label ?hidden="${this.roType == 'b2c'}">${i18next.t('field.cross_docking')}</label>
245
-
246
- <input
247
- name="courierOption"
248
- type="checkbox"
249
- .checked="${this.courierOption}"
250
- ?hidden="${this.roType == 'b2c'}"
251
- disabled
252
- />
253
- <label ?hidden="${this.roType == 'b2c'}">${i18next.t('field.transporter')}</label>
254
-
255
- <input
256
- name="packingOption"
257
- type="checkbox"
258
- .checked="${this.packingOption}"
259
- ?hidden="${this.roType == 'b2c'}"
260
- disabled
261
- />
262
- <label ?hidden="${this.roType == 'b2c'}">${i18next.t('field.packing')}</label>
263
-
264
- <input
265
- name="exportOption"
266
- type="checkbox"
267
- .checked="${this.exportOption}"
268
- ?hidden="${this.roType == 'b2c'}"
269
- disabled
270
- />
271
- <label ?hidden="${this.roType == 'b2c'}">${i18next.t('field.export')}</label>
272
-
273
- <input
274
- name="vas"
275
- type="checkbox"
276
- .checked="${this.vasData?.records}"
277
- ?hidden="${this.roType == 'b2c'}"
278
- disabled
279
- />
280
- <label ?hidden="${this.roType == 'b2c'}">${i18next.t('field.vas')}</label>
281
-
282
- <input
283
- name="lmdOption"
284
- type="checkbox"
285
- .checked="${this._isLmd}"
286
- ?hidden="${!this.roType == 'b2c'}"
287
- disabled
288
- />
289
- <label ?hidden="${!this.roType == 'b2c'}">${i18next.t('field.lmd')}</label>
226
+ <input id="ownCollection" type="checkbox" name="ownCollection" disabled />
227
+ <label for="ownCollection">${i18next.t('label.own_collection')}</label>
228
+
229
+ <input name="crossDocking" type="checkbox" .checked="${this.crossDocking}" disabled />
230
+ <label>${i18next.t('field.cross_docking')}</label>
231
+
232
+ <input name="courierOption" type="checkbox" .checked="${this.courierOption}" disabled />
233
+ <label>${i18next.t('field.transporter')}</label>
234
+
235
+ <input name="packingOption" type="checkbox" .checked="${this.packingOption}" disabled />
236
+ <label>${i18next.t('field.packing')}</label>
237
+
238
+ <input name="exportOption" type="checkbox" .checked="${this.exportOption}" disabled />
239
+ <label>${i18next.t('field.export')}</label>
240
+
241
+ <input name="vas" type="checkbox" .checked="${this.vasData?.records}" disabled />
242
+ <label>${i18next.t('field.vas')}</label>
290
243
  </div>
291
244
 
292
245
  <label>${i18next.t('label.release_good_no')}</label>
@@ -764,8 +717,6 @@ class WorksheetPicking extends localize(i18next)(PageView) {
764
717
  releaseDate
765
718
  recall
766
719
  assignedInventory
767
- lmdOption
768
- type
769
720
  arrivalNotice {
770
721
  name
771
722
  }
@@ -918,8 +869,6 @@ class WorksheetPicking extends localize(i18next)(PageView) {
918
869
 
919
870
  this._roId = releaseGood?.id || ''
920
871
  this._roNo = releaseGood?.name || ''
921
- this.roType = releaseGood?.type
922
- this._isLmd = releaseGood?.lmdOption
923
872
  this.isRecall = releaseGood?.recall
924
873
  this.crossDocking = releaseGood?.crossDocking
925
874
  this.courierOption = releaseGood?.courierOption
@@ -1550,6 +1499,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
1550
1499
 
1551
1500
  async _activateWorksheet() {
1552
1501
  try {
1502
+ console.time('worksheet')
1553
1503
  const result = await CustomAlert({
1554
1504
  title: i18next.t('title.are_you_sure'),
1555
1505
  text: i18next.t('text.activate_picking_worksheet'),
@@ -1585,6 +1535,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
1585
1535
  } catch (e) {
1586
1536
  this._showToast(e)
1587
1537
  }
1538
+ console.time('worksheet')
1588
1539
  }
1589
1540
 
1590
1541
  _getPickingWorksheetDetails() {
@@ -4,12 +4,13 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 1100,
8
- inspect: '9430',
7
+ port: 4000,
8
+ inspect: '9330',
9
+ // cycle count db
9
10
  ormconfig: {
10
11
  name: 'default',
11
12
  type: 'postgres',
12
- database: 'dev',
13
+ database: 'postgres',
13
14
  username: 'postgres',
14
15
  password: 'hatio',
15
16
  host: '192.168.0.161',
@@ -17,21 +18,44 @@ module.exports = {
17
18
  synchronize: false,
18
19
  logging: true
19
20
  },
21
+
20
22
  // ormconfig: {
21
23
  // name: 'default',
22
24
  // type: 'postgres',
23
- // database: 'postgres',
25
+ // database: '06072023',
24
26
  // username: 'postgres',
25
-
26
- // password: 'abcd1234',
27
+ // password: 'hatio',
28
+ // host: '192.168.0.153',
29
+ // port: 15432,
30
+ // synchronize: false,
31
+ // logging: true
32
+ // },
33
+ // ormconfig: {
34
+ // name: 'default',
35
+ // type: 'postgres',
27
36
  // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
28
37
  // port: 55432,
38
+ // database: 'postgres',
39
+ // username: 'postgres',
40
+ // password: 'abcd1234',
29
41
  // synchronize: false,
30
- // logging: true
42
+ // logging: true,
43
+ // connectTimeoutMS: 30000,
44
+ // extra: { poolSize: 30 }
31
45
  // },
32
- sellercraftIntegrationConfig: {
33
- apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
34
- },
46
+ //ormconfig: {
47
+ // name: 'default',
48
+ // type: 'postgres',
49
+ // database: 'dev2',
50
+ // username: 'postgres',
51
+ // password: 'hatio',
52
+ // host: 'localhost',
53
+ // port: 15432,
54
+ // synchronize: false,
55
+ // logging: true,
56
+ // connectTimeoutMS: 30000,
57
+ // extra: { poolSize: 30 }
58
+ //},
35
59
  SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
36
60
  password: {
37
61
  lowerCase: true,
@@ -45,13 +69,6 @@ module.exports = {
45
69
  looseCharacterLength: 4,
46
70
  history: 2
47
71
  },
48
- // storage: {
49
- // type: 's3',
50
- // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
51
- // secretAccessKey: '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',
52
- // bucketName: 'opa-one',
53
- // region: 'ap-southeast-1'
54
- // },
55
72
  uploads: 'uploads',
56
73
  attachmentsPath: 'attachments',
57
74
  logger: {
@@ -101,6 +118,14 @@ module.exports = {
101
118
  // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
102
119
  // }
103
120
  },
104
- // reportApiUrl: 'localhost:8888/rest/report/show_html'
105
- reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
121
+ reportApiUrl: 'http://localhost:8888/rest/report/show_html',
122
+ // reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
123
+ // reportApiUrl: 'http://10.100.109.66:8090/rest/report/show_html',
124
+ awbFileStorage: {
125
+ type: 's3',
126
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
127
+ secretAccessKey: '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',
128
+ bucketName: 'operato-awb',
129
+ region: 'ap-southeast-1'
130
+ }
106
131
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.347",
3
+ "version": "4.3.348",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -108,7 +108,7 @@
108
108
  "@things-factory/transport-base": "^4.3.344",
109
109
  "@things-factory/tutorial-ui": "^4.3.281",
110
110
  "@things-factory/warehouse-base": "^4.3.346",
111
- "@things-factory/worksheet-base": "^4.3.347"
111
+ "@things-factory/worksheet-base": "^4.3.348"
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": "904685cece59b6764b617ff8547d7d5efe1f666c"
120
+ "gitHead": "2a089d3eebedec828b98325ef66325ed9c5bd936"
121
121
  }