@things-factory/operato-wms 4.3.258 → 4.3.261

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.
@@ -681,11 +681,6 @@ class LoadingProduct extends connect(store)(localize(i18next)(PageView)) {
681
681
  // causes grist unable to display data
682
682
  await this.pageInitialized()
683
683
  this.pickedProductData = { records: this.sortByNameField(this.pickedProductData) }
684
- //this.updateContext()
685
- // causes grist unable to display data
686
- // needed to page initialized in order to display data regarding vas
687
- this.pageInitialized()
688
- // causes grist unable to display data
689
684
  } else {
690
685
  throw new Error(response.errors[0])
691
686
  }
@@ -166,136 +166,136 @@ class VasReport extends connect(store)(localize(i18next)(PageView)) {
166
166
  name: 'bizplaceName',
167
167
  header: i18next.t('field.company'),
168
168
  sortable: false,
169
- imex: { hearder: i18next.t('field.company'), key: 'bizplaceName', width: 75, type: 'string' },
170
- width: 400
169
+ imex: { hearder: i18next.t('field.company'), key: 'bizplaceName', width: 30, type: 'string' },
170
+ width: 250
171
171
  },
172
172
  {
173
173
  type: 'string',
174
174
  name: 'ro',
175
175
  header: i18next.t('field.order_no'),
176
176
  sortable: false,
177
- imex: { header: i18next.t('field.order_no'), key: 'ro', width: 75, type: 'string' },
178
- width: 400
177
+ imex: { header: i18next.t('field.order_no'), key: 'ro', width: 25, type: 'string' },
178
+ width: 200
179
179
  },
180
180
  {
181
181
  type: 'string',
182
182
  name: 'refNo',
183
183
  header: i18next.t('field.ref_no'),
184
184
  sortable: false,
185
- imex: { header: i18next.t('field.ref_no'), key: 'refNo', width: 75, type: 'string' },
186
- width: 400
185
+ imex: { header: i18next.t('field.ref_no'), key: 'refNo', width: 25, type: 'string' },
186
+ width: 200
187
187
  },
188
188
  {
189
189
  type: 'string',
190
190
  name: 'sku',
191
191
  header: i18next.t('field.sku'),
192
192
  sortable: false,
193
- imex: { header: i18next.t('field.sku'), key: 'sku', width: 75, type: 'string' },
194
- width: 400
193
+ imex: { header: i18next.t('field.sku'), key: 'sku', width: 20, type: 'string' },
194
+ width: 150
195
195
  },
196
196
  {
197
197
  type: 'string',
198
198
  name: 'batchId',
199
199
  header: i18next.t('field.batch_no'),
200
200
  sortable: false,
201
- imex: { header: i18next.t('field.batch_no'), key: 'batchId', width: 75, type: 'string' },
202
- width: 400
201
+ imex: { header: i18next.t('field.batch_no'), key: 'batchId', width: 20, type: 'string' },
202
+ width: 150
203
203
  },
204
204
  {
205
205
  type: 'string',
206
206
  name: 'packingType',
207
207
  header: i18next.t('field.packing_type'),
208
208
  sortable: false,
209
- imex: { header: i18next.t('field.packing_type'), key: 'packingType', width: 75, type: 'string' },
210
- width: 400
209
+ imex: { header: i18next.t('field.packing_type'), key: 'packingType', width: 20, type: 'string' },
210
+ width: 150
211
211
  },
212
212
  {
213
213
  type: 'string',
214
214
  name: 'uom',
215
215
  header: i18next.t('field.uom'),
216
216
  sortable: false,
217
- imex: { header: i18next.t('field.uom'), key: 'uom', width: 75, type: 'string'},
218
- width: 400
217
+ imex: { header: i18next.t('field.uom'), key: 'uom', width: 5, type: 'string'},
218
+ width: 70
219
219
  },
220
220
  {
221
221
  type: 'number',
222
222
  name: 'uomValue',
223
223
  header: i18next.t('field.unit_uom_value'),
224
224
  sortable: false,
225
- imex: { header: i18next.t('field.unit_uom_value'), key: 'uomValue', width: 75, type: 'string'},
226
- width: 400
225
+ imex: { header: i18next.t('field.unit_uom_value'), key: 'uomValue', width: 10, type: 'string'},
226
+ width: 80
227
227
  },
228
228
  {
229
229
  type: 'number',
230
230
  name: 'releaseQty',
231
231
  header: i18next.t('field.release_qty'),
232
232
  sortable: false,
233
- imex: { header: i18next.t('field.release_qty'), key: 'releaseQty', width: 75, type: 'string'},
234
- width: 400
233
+ imex: { header: i18next.t('field.release_qty'), key: 'releaseQty', width: 10, type: 'string'},
234
+ width: 80
235
235
  },
236
236
  {
237
237
  type: 'string',
238
238
  name: 'vas',
239
239
  header: i18next.t('field.vas'),
240
240
  sortable: false,
241
- imex: { header: i18next.t('field.vas'), key: 'vas', width: 75, type: 'string'},
242
- width: 400
241
+ imex: { header: i18next.t('field.vas'), key: 'vas', width: 15, type: 'string'},
242
+ width: 100
243
243
  },
244
244
  {
245
245
  type: 'number',
246
246
  name: 'vasQty',
247
247
  header: i18next.t('field.vas_qty'),
248
248
  sortable: false,
249
- imex: { header: i18next.t('field.vas_qty'), key: 'vasQty', width: 75, type: 'string'},
250
- width: 400
249
+ imex: { header: i18next.t('field.vas_qty'), key: 'vasQty', width: 10, type: 'string'},
250
+ width: 80
251
251
  },
252
252
  {
253
253
  type: 'string',
254
254
  name: 'newSku',
255
255
  header: i18next.t('field.new_sku'),
256
256
  sortable: false,
257
- imex: { header: i18next.t('field.new_sku'), key: 'newSku', width: 75, type: 'string'},
258
- width: 400
257
+ imex: { header: i18next.t('field.new_sku'), key: 'newSku', width: 20, type: 'string'},
258
+ width: 150
259
259
  },
260
260
  {
261
261
  type: 'string',
262
262
  name: 'newPackingType',
263
263
  header: i18next.t('field.packing_type'),
264
264
  sortable: false,
265
- imex: { header: i18next.t('field.packing_type'), key: 'newPackingType', width: 75, type: 'string'},
266
- width: 400
265
+ imex: { header: i18next.t('field.packing_type'), key: 'newPackingType', width: 10, type: 'string'},
266
+ width: 90
267
267
  },
268
268
  {
269
269
  type: 'string',
270
270
  name: 'newUom',
271
271
  header: i18next.t('field.uom'),
272
272
  sortable: false,
273
- imex: { header: i18next.t('field.uom'), key: 'newUom', width: 75, type: 'string'},
274
- width: 400
273
+ imex: { header: i18next.t('field.uom'), key: 'newUom', width: 5, type: 'string'},
274
+ width: 70
275
275
  },
276
276
  {
277
277
  type: 'number',
278
278
  name: 'outputQty',
279
279
  header: i18next.t('field.output_qty'),
280
280
  sortable: false,
281
- imex: { header: i18next.t('field.output_qty'), key: 'outputQty', width: 75, type: 'string'},
282
- width: 400
281
+ imex: { header: i18next.t('field.output_qty'), key: 'outputQty', width: 10, type: 'string'},
282
+ width: 80
283
283
  },
284
284
  {
285
285
  type: 'number',
286
286
  name: 'newUomValue',
287
287
  header: i18next.t('field.uom_value'),
288
288
  sortable: false,
289
- imex: { header: i18next.t('field.uom_value'), key: 'newUomValue', width: 75, type: 'string'},
290
- width: 400
289
+ imex: { header: i18next.t('field.uom_value'), key: 'newUomValue', width: 10, type: 'string'},
290
+ width: 80
291
291
  },
292
292
  {
293
293
  type: 'datetime',
294
294
  name: 'completionDate',
295
295
  header: i18next.t('field.completion_date'),
296
296
  sortable: false,
297
- imex: { header: i18next.t('field.completion_date'), key: 'completionDate', width: 75, type: 'string'},
298
- width: 400
297
+ imex: { header: i18next.t('field.completion_date'), key: 'completionDate', width: 20, type: 'string'},
298
+ width: 160
299
299
  }
300
300
  ]
301
301
  }
@@ -462,7 +462,7 @@ class VasReport extends connect(store)(localize(i18next)(PageView)) {
462
462
  _modifyDateRange(e) {
463
463
  const fromDate = e.currentTarget.value
464
464
 
465
- if (this._toDateInout.value < fromDate) this._toDateInput.value = fromDate
465
+ if (this._toDateInput.value < fromDate) this._toDateInput.value = fromDate
466
466
 
467
467
  let min = new Date(fromDate)
468
468
  let today = new Date()
@@ -509,7 +509,7 @@ class VasReport extends connect(store)(localize(i18next)(PageView)) {
509
509
  return flattenObject({
510
510
  ...record,
511
511
  completionDate:
512
- date.getDate().toString() + '/' + (date.getMonth() + 1).toString() + '/' + date.getFullYear().toString()
512
+ record.worksheet.endedAt !== null ? date.getDate().toString() + '/' + (date.getMonth() + 1).toString() + '/' + date.getFullYear().toString() + ' ' + date.getHours().toString() + ':' + date.getMinutes().toString() : ' '
513
513
  })
514
514
  }),
515
515
  groups: this.report._config.rows.groups,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.258",
3
+ "version": "4.3.261",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -91,7 +91,7 @@
91
91
  "@things-factory/print-ui": "^4.3.253",
92
92
  "@things-factory/product-base": "^4.3.253",
93
93
  "@things-factory/resource-ui": "^4.3.253",
94
- "@things-factory/sales-ui": "^4.3.257",
94
+ "@things-factory/sales-ui": "^4.3.261",
95
95
  "@things-factory/scene-data-transform": "^4.3.253",
96
96
  "@things-factory/scene-excel": "^4.3.253",
97
97
  "@things-factory/scene-firebase": "^4.3.253",
@@ -107,8 +107,8 @@
107
107
  "@things-factory/system-ui": "^4.3.253",
108
108
  "@things-factory/transport-base": "^4.3.253",
109
109
  "@things-factory/tutorial-ui": "^4.3.253",
110
- "@things-factory/warehouse-base": "^4.3.256",
111
- "@things-factory/worksheet-base": "^4.3.258"
110
+ "@things-factory/warehouse-base": "^4.3.261",
111
+ "@things-factory/worksheet-base": "^4.3.261"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.253",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "db6fb3b3758ceda90678999a76c281c9ca46ccc4"
120
+ "gitHead": "c085fa97b4a7a9abd06aab1820d4e7dbc4ed83ad"
121
121
  }
@@ -71,6 +71,7 @@ export const vasReport = {
71
71
  left join products p2 on ov.new_product_id = p2.id
72
72
  inner join worksheets w on ov.release_good_id = w.release_good_id
73
73
  where b.id = $1 and w.type = 'VAS'
74
+ and w.status <> 'CANCELLED'
74
75
  ) src
75
76
  where 1=1
76
77
  ${extraQueryFilter}
@@ -42,6 +42,7 @@
42
42
  "button.download": "download",
43
43
  "button.duplicate": "duplicate",
44
44
  "button.edit_product": "edit product",
45
+ "button.edit_vas": "edit vas",
45
46
  "button.edit": "edit",
46
47
  "button.execute": "execute",
47
48
  "button.generate_packing_list": "generate packing list",
@@ -1272,6 +1273,7 @@
1272
1273
  "text.duplicated_value_field": "duplicated value ({field})",
1273
1274
  "text.duplicated_vas_on_same_batch": "duplicated vas on same batch",
1274
1275
  "text.edit_add_order_product": "edit add order product",
1276
+ "text.edit_vas": "edit vas",
1275
1277
  "text.edited_batch_no_have_been_processed": "edited batch no have been processed",
1276
1278
  "text.empty_field_in_delivery_information": "empty field(s) in delivery information",
1277
1279
  "text.empty_product_barcode": "empty product barcode",
@@ -1650,6 +1652,7 @@
1650
1652
  "text.update_release_order_details": "update release order details",
1651
1653
  "text.update_vas_order": "update vas order",
1652
1654
  "text.use_normal_pallet": "use normal pallet",
1655
+ "text.vas_edited": "vas edited",
1653
1656
  "text.vas_has_been_completed": "vas has been completed",
1654
1657
  "text.vas_is_completed": "vas is completed",
1655
1658
  "text.vas_is_not_completed_yet": "vas is not completed yet",
@@ -2164,5 +2164,8 @@
2164
2164
  "text.duplicate_entry_in_vas_details": "[ko] duplicate entry in vas details",
2165
2165
  "text.duplicated_value_field": "[ko] duplicated value ({field})",
2166
2166
  "text.sku_has_vas_changing_sku_will_need_user_to_reenter_vas_information": "[ko] SKU has vas. Changing this SKU will need user to reenter vas information",
2167
- "text.sku_has_vas_releaseQty_less_than_qty_for_vas_changing_will_require_user_to_reenter_vas_information": "[ko] SKU has vas. release Qty is lesser than Qty for vas changing will require user to reenter vas information"
2167
+ "text.sku_has_vas_releaseQty_less_than_qty_for_vas_changing_will_require_user_to_reenter_vas_information": "[ko] SKU has vas. release Qty is lesser than Qty for vas changing will require user to reenter vas information",
2168
+ "button.edit_vas": "[ko] edit vas",
2169
+ "text.edit_vas": "[ko] edit vas",
2170
+ "text.vas_edited": "[ko] vas edited"
2168
2171
  }
@@ -2037,5 +2037,8 @@
2037
2037
  "text.duplicate_entry_in_vas_details": "[ms] duplicate entry in vas details",
2038
2038
  "text.duplicated_value_field": "[ms] duplicated value ({field})",
2039
2039
  "text.sku_has_vas_changing_sku_will_need_user_to_reenter_vas_information": "[ms] SKU has vas. Changing this SKU will need user to reenter vas information",
2040
- "text.sku_has_vas_releaseQty_less_than_qty_for_vas_changing_will_require_user_to_reenter_vas_information": "[ms] SKU has vas. release Qty is lesser than Qty for vas changing will require user to reenter vas information"
2040
+ "text.sku_has_vas_releaseQty_less_than_qty_for_vas_changing_will_require_user_to_reenter_vas_information": "[ms] SKU has vas. release Qty is lesser than Qty for vas changing will require user to reenter vas information",
2041
+ "button.edit_vas": "[ms] edit vas",
2042
+ "text.edit_vas": "[ms] edit vas",
2043
+ "text.vas_edited": "[ms] vas edited"
2041
2044
  }
@@ -1987,5 +1987,8 @@
1987
1987
  "text.duplicate_entry_in_vas_details": "[zh] duplicate entry in vas details",
1988
1988
  "text.duplicated_value_field": "[zh] duplicated value ({field})",
1989
1989
  "text.sku_has_vas_changing_sku_will_need_user_to_reenter_vas_information": "[zh] SKU has vas. Changing this SKU will need user to reenter vas information",
1990
- "text.sku_has_vas_releaseQty_less_than_qty_for_vas_changing_will_require_user_to_reenter_vas_information": "[zh] SKU has vas. release Qty is lesser than Qty for vas changing will require user to reenter vas information"
1990
+ "text.sku_has_vas_releaseQty_less_than_qty_for_vas_changing_will_require_user_to_reenter_vas_information": "[zh] SKU has vas. release Qty is lesser than Qty for vas changing will require user to reenter vas information",
1991
+ "button.edit_vas": "[zh] edit vas",
1992
+ "text.edit_vas": "[zh] edit vas",
1993
+ "text._vas_edited": "[zh] vas edited"
1991
1994
  }