@things-factory/operato-pms 5.0.0-alpha.38 → 5.0.0-alpha.40
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.
|
@@ -209,7 +209,6 @@ class DispatchmentCreateRecord extends localize(i18next)(PageView) {
|
|
|
209
209
|
const newData = data.records.filter((_, idx) => idx !== rowIndex)
|
|
210
210
|
this.dispatchmentData = { ...this.dispatchmentData, records: newData }
|
|
211
211
|
this.dispatchmentGrist.dirtyData.records = newData
|
|
212
|
-
this._updateInventoryList()
|
|
213
212
|
}
|
|
214
213
|
}
|
|
215
214
|
},
|
|
@@ -272,7 +271,6 @@ class DispatchmentCreateRecord extends localize(i18next)(PageView) {
|
|
|
272
271
|
if (changedColumn === 'collectedRampWeight') {
|
|
273
272
|
this._validateReleaseTonnage(changeRecord.collectedRampWeight)
|
|
274
273
|
}
|
|
275
|
-
this._updateInventoryList()
|
|
276
274
|
} catch (e) {
|
|
277
275
|
const beforeValue = event.detail.before && event.detail.before[event.detail.column.name]
|
|
278
276
|
if (beforeValue) {
|
|
@@ -290,33 +288,6 @@ class DispatchmentCreateRecord extends localize(i18next)(PageView) {
|
|
|
290
288
|
}
|
|
291
289
|
}
|
|
292
290
|
|
|
293
|
-
async _updateInventoryList() {
|
|
294
|
-
const _selectedRamp = (this.dispatchmentGrist.dirtyData.records || []).map(record => record.ramp.id)
|
|
295
|
-
this.dispatchmentGristConfig = {
|
|
296
|
-
...this.dispatchmentGristConfig,
|
|
297
|
-
columns: this.dispatchmentGristConfig.columns.map(column => {
|
|
298
|
-
if (column.name === 'ramp') {
|
|
299
|
-
column.record.options.basicArgs = {
|
|
300
|
-
...column.record.options.basicArgs,
|
|
301
|
-
filters: [...column.record.options.basicArgs.filters.filter(filter => filter.name !== 'id')]
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
if (_selectedRamp.length)
|
|
305
|
-
column.record.options.basicArgs.filters = [
|
|
306
|
-
...column.record.options.basicArgs.filters,
|
|
307
|
-
{
|
|
308
|
-
name: 'id',
|
|
309
|
-
value: _selectedRamp,
|
|
310
|
-
operator: 'notin'
|
|
311
|
-
}
|
|
312
|
-
]
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
return column
|
|
316
|
-
})
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
291
|
async _generateDispatchmentRecord() {
|
|
321
292
|
try {
|
|
322
293
|
this._validateForm()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-pms",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.40",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -38,61 +38,61 @@
|
|
|
38
38
|
"docker:run": "docker run --platform linux/amd64 -p 4000:3000 hatiolab/operato-pms:latest"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@operato/ghost-print": "1.0.0-beta.
|
|
42
|
-
"@operato/scene-chartjs": "^1.0.0-alpha.
|
|
43
|
-
"@operato/scene-clock": "^1.0.0-alpha.
|
|
44
|
-
"@operato/scene-clone": "^1.0.0-alpha.
|
|
45
|
-
"@operato/scene-compass": "^1.0.0-alpha.
|
|
46
|
-
"@operato/scene-excel": "^1.0.0-alpha.
|
|
47
|
-
"@operato/scene-form": "^1.0.0-alpha.
|
|
48
|
-
"@operato/scene-gauge": "^1.0.0-alpha.
|
|
49
|
-
"@operato/scene-graphql": "^1.0.0-alpha.
|
|
50
|
-
"@operato/scene-half-roundrect": "^1.0.0-alpha.
|
|
51
|
-
"@operato/scene-indoor-map": "^1.0.0-alpha.
|
|
52
|
-
"@operato/scene-label": "^1.0.0-alpha.
|
|
53
|
-
"@operato/scene-legend": "^1.0.0-alpha.
|
|
54
|
-
"@operato/scene-marker": "^1.0.0-alpha.
|
|
55
|
-
"@operato/scene-news-ticker": "^1.0.0-alpha.
|
|
56
|
-
"@operato/scene-progressbar": "^1.0.0-alpha.
|
|
57
|
-
"@operato/scene-random": "^1.0.0-alpha.
|
|
58
|
-
"@operato/scene-restful": "^1.0.0-alpha.
|
|
59
|
-
"@operato/scene-switch": "^1.0.0-alpha.
|
|
60
|
-
"@operato/scene-tab": "^1.0.0-alpha.
|
|
61
|
-
"@operato/scene-table": "^1.0.0-alpha.
|
|
62
|
-
"@operato/scene-wheel-sorter": "^1.0.0-alpha.
|
|
63
|
-
"@things-factory/apptool-ui": "^5.0.0-alpha.
|
|
64
|
-
"@things-factory/auth-ui": "^5.0.0-alpha.
|
|
65
|
-
"@things-factory/biz-base": "^5.0.0-alpha.
|
|
66
|
-
"@things-factory/board-service": "^5.0.0-alpha.
|
|
67
|
-
"@things-factory/board-ui": "^5.0.0-alpha.
|
|
68
|
-
"@things-factory/code-ui": "^5.0.0-alpha.
|
|
69
|
-
"@things-factory/context-ui": "^5.0.0-alpha.
|
|
70
|
-
"@things-factory/dashboard": "^5.0.0-alpha.
|
|
71
|
-
"@things-factory/document-template-ui": "^5.0.0-alpha.
|
|
72
|
-
"@things-factory/export-ui": "^5.0.0-alpha.
|
|
73
|
-
"@things-factory/export-ui-csv": "^5.0.0-alpha.
|
|
74
|
-
"@things-factory/export-ui-excel": "^5.0.0-alpha.
|
|
75
|
-
"@things-factory/fav-base": "^5.0.0-alpha.
|
|
76
|
-
"@things-factory/form-ui": "^5.0.0-alpha.
|
|
77
|
-
"@things-factory/grist-ui": "^5.0.0-alpha.
|
|
78
|
-
"@things-factory/help": "^5.0.0-alpha.
|
|
79
|
-
"@things-factory/i18n-base": "^5.0.0-alpha.
|
|
80
|
-
"@things-factory/import-ui": "^5.0.0-alpha.
|
|
81
|
-
"@things-factory/import-ui-excel": "^5.0.0-alpha.
|
|
82
|
-
"@things-factory/lite-menu": "^5.0.0-alpha.
|
|
83
|
-
"@things-factory/more-ui": "^5.0.0-alpha.
|
|
84
|
-
"@things-factory/notification": "^5.0.0-alpha.
|
|
85
|
-
"@things-factory/print-ui": "^5.0.0-alpha.
|
|
86
|
-
"@things-factory/resource-ui": "^5.0.0-alpha.
|
|
87
|
-
"@things-factory/scene-data-transform": "^5.0.0-alpha.
|
|
88
|
-
"@things-factory/scene-google-map": "^5.0.0-alpha.
|
|
89
|
-
"@things-factory/scene-visualizer": "^5.0.0-alpha.
|
|
90
|
-
"@things-factory/setting-ui": "^5.0.0-alpha.
|
|
91
|
-
"@things-factory/shell": "^5.0.0-alpha.
|
|
92
|
-
"@things-factory/system-ui": "^5.0.0-alpha.
|
|
41
|
+
"@operato/ghost-print": "1.0.0-beta.7",
|
|
42
|
+
"@operato/scene-chartjs": "^1.0.0-alpha.13",
|
|
43
|
+
"@operato/scene-clock": "^1.0.0-alpha.13",
|
|
44
|
+
"@operato/scene-clone": "^1.0.0-alpha.13",
|
|
45
|
+
"@operato/scene-compass": "^1.0.0-alpha.13",
|
|
46
|
+
"@operato/scene-excel": "^1.0.0-alpha.13",
|
|
47
|
+
"@operato/scene-form": "^1.0.0-alpha.13",
|
|
48
|
+
"@operato/scene-gauge": "^1.0.0-alpha.13",
|
|
49
|
+
"@operato/scene-graphql": "^1.0.0-alpha.13",
|
|
50
|
+
"@operato/scene-half-roundrect": "^1.0.0-alpha.13",
|
|
51
|
+
"@operato/scene-indoor-map": "^1.0.0-alpha.13",
|
|
52
|
+
"@operato/scene-label": "^1.0.0-alpha.13",
|
|
53
|
+
"@operato/scene-legend": "^1.0.0-alpha.13",
|
|
54
|
+
"@operato/scene-marker": "^1.0.0-alpha.13",
|
|
55
|
+
"@operato/scene-news-ticker": "^1.0.0-alpha.13",
|
|
56
|
+
"@operato/scene-progressbar": "^1.0.0-alpha.13",
|
|
57
|
+
"@operato/scene-random": "^1.0.0-alpha.13",
|
|
58
|
+
"@operato/scene-restful": "^1.0.0-alpha.13",
|
|
59
|
+
"@operato/scene-switch": "^1.0.0-alpha.13",
|
|
60
|
+
"@operato/scene-tab": "^1.0.0-alpha.13",
|
|
61
|
+
"@operato/scene-table": "^1.0.0-alpha.13",
|
|
62
|
+
"@operato/scene-wheel-sorter": "^1.0.0-alpha.13",
|
|
63
|
+
"@things-factory/apptool-ui": "^5.0.0-alpha.40",
|
|
64
|
+
"@things-factory/auth-ui": "^5.0.0-alpha.40",
|
|
65
|
+
"@things-factory/biz-base": "^5.0.0-alpha.40",
|
|
66
|
+
"@things-factory/board-service": "^5.0.0-alpha.40",
|
|
67
|
+
"@things-factory/board-ui": "^5.0.0-alpha.40",
|
|
68
|
+
"@things-factory/code-ui": "^5.0.0-alpha.40",
|
|
69
|
+
"@things-factory/context-ui": "^5.0.0-alpha.40",
|
|
70
|
+
"@things-factory/dashboard": "^5.0.0-alpha.40",
|
|
71
|
+
"@things-factory/document-template-ui": "^5.0.0-alpha.40",
|
|
72
|
+
"@things-factory/export-ui": "^5.0.0-alpha.40",
|
|
73
|
+
"@things-factory/export-ui-csv": "^5.0.0-alpha.40",
|
|
74
|
+
"@things-factory/export-ui-excel": "^5.0.0-alpha.40",
|
|
75
|
+
"@things-factory/fav-base": "^5.0.0-alpha.40",
|
|
76
|
+
"@things-factory/form-ui": "^5.0.0-alpha.40",
|
|
77
|
+
"@things-factory/grist-ui": "^5.0.0-alpha.40",
|
|
78
|
+
"@things-factory/help": "^5.0.0-alpha.40",
|
|
79
|
+
"@things-factory/i18n-base": "^5.0.0-alpha.40",
|
|
80
|
+
"@things-factory/import-ui": "^5.0.0-alpha.40",
|
|
81
|
+
"@things-factory/import-ui-excel": "^5.0.0-alpha.40",
|
|
82
|
+
"@things-factory/lite-menu": "^5.0.0-alpha.40",
|
|
83
|
+
"@things-factory/more-ui": "^5.0.0-alpha.40",
|
|
84
|
+
"@things-factory/notification": "^5.0.0-alpha.40",
|
|
85
|
+
"@things-factory/print-ui": "^5.0.0-alpha.40",
|
|
86
|
+
"@things-factory/resource-ui": "^5.0.0-alpha.40",
|
|
87
|
+
"@things-factory/scene-data-transform": "^5.0.0-alpha.40",
|
|
88
|
+
"@things-factory/scene-google-map": "^5.0.0-alpha.40",
|
|
89
|
+
"@things-factory/scene-visualizer": "^5.0.0-alpha.40",
|
|
90
|
+
"@things-factory/setting-ui": "^5.0.0-alpha.40",
|
|
91
|
+
"@things-factory/shell": "^5.0.0-alpha.40",
|
|
92
|
+
"@things-factory/system-ui": "^5.0.0-alpha.40"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@things-factory/builder": "^5.0.0-alpha.
|
|
95
|
+
"@things-factory/builder": "^5.0.0-alpha.40"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "c64462e85c9b744250f5649d28c0ec4bd56a1b38"
|
|
98
98
|
}
|