@things-factory/operato-wms 3.8.5 → 3.8.6

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.
@@ -960,7 +960,7 @@ class ProductList extends localize(i18next)(PageView) {
960
960
  if (_.isEmpty(itm.uom) || '') {
961
961
  if (!errors.find(err => err.type == 'uom')) errors.push({ type: 'uom', value: 'UOM is required' })
962
962
  }
963
- if (!_.isNumber(itm.uomValue) || _.isNaN(itm.uomValue) || '' || itm?.uomValue < 1) {
963
+ if (!_.isNumber(itm.uomValue) || _.isNaN(itm.uomValue) || '' || itm?.uomValue <= 0) {
964
964
  if (!errors.find(err => err.type == 'uomValue'))
965
965
  errors.push({ type: 'uomValue', value: 'UOM Value is required' })
966
966
  }
@@ -209,6 +209,7 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
209
209
  this.config = {
210
210
  rows: { selectable: { multiple: true }, appendable: false },
211
211
  list: { fields: ['name', 'bizplace', 'releaseDate', 'status', 'updatedAt'] },
212
+ pagination: { limit: 100, pages: [20, 50, 100, 200, 500] },
212
213
  columns: [
213
214
  { type: 'gutter', gutterName: 'sequence' },
214
215
  { type: 'gutter', gutterName: 'row-selector', multiple: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "3.8.5",
3
+ "version": "3.8.6",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -103,10 +103,10 @@
103
103
  "@things-factory/transport-base": "^3.8.0",
104
104
  "@things-factory/tutorial-ui": "^3.8.0",
105
105
  "@things-factory/warehouse-base": "^3.8.5",
106
- "@things-factory/worksheet-base": "^3.8.5"
106
+ "@things-factory/worksheet-base": "^3.8.6"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@things-factory/builder": "^3.7.5"
110
110
  },
111
- "gitHead": "1f8f8ca9c0d96737732388c9cc685e64b0759a96"
111
+ "gitHead": "e7722293298bd414b6ce78996a4e09df5f1e5ad8"
112
112
  }