@things-factory/operato-wms 4.3.329 → 4.3.330

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.
@@ -10,13 +10,27 @@ import '../../order/vas-order/popup/vas-target-product-popup'
10
10
  import '../../order/vas-order/popup/select-vas-popup'
11
11
 
12
12
  import gql from 'graphql-tag'
13
- import { css, html } from 'lit-element'
13
+ import {
14
+ css,
15
+ html
16
+ } from 'lit-element'
14
17
 
15
18
  import { getCodeByName } from '@things-factory/code-base'
16
- import { MultiColumnFormStyles, SingleColumnFormStyles } from '@things-factory/form-ui'
17
- import { i18next, localize } from '@things-factory/i18n-base'
19
+ import {
20
+ MultiColumnFormStyles,
21
+ SingleColumnFormStyles
22
+ } from '@things-factory/form-ui'
23
+ import {
24
+ i18next,
25
+ localize
26
+ } from '@things-factory/i18n-base'
18
27
  import { openPopup } from '@things-factory/layout-base'
19
- import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
28
+ import {
29
+ client,
30
+ CustomAlert,
31
+ navigate,
32
+ PageView
33
+ } from '@things-factory/shell'
20
34
  import { CommonButtonStyles } from '@things-factory/styles'
21
35
  import { isMobileDevice } from '@things-factory/utils'
22
36
 
@@ -2698,14 +2712,18 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
2698
2712
  ...this.vasGrist.dirtyData.records[rowIndex],
2699
2713
  ...newRecords
2700
2714
  })
2701
- this.vasGrist.dirtyData.records.map(record => {
2702
- record.newSKU
2703
- ? record.outputQty
2704
- ? (record.newUomValue = record.outputQty * record.newUomValue)
2705
- : record.qty
2706
- ? (record.newUomValue = record.qty * record.newUomValue)
2707
- : record.newUomValue
2708
- : (record.newUomValue = null)
2715
+
2716
+ this.vasGrist.dirtyData.records.map((record, index) => {
2717
+ if (index === rowIndex && record.newSKU) {
2718
+ if (record.outputQty) {
2719
+ record.newUomValue = record.outputQty * record.newUomValue
2720
+ } else if (record.qty) {
2721
+ record.newUomValue = record.qty * record.newUomValue
2722
+ } else {
2723
+ record.newUomValue = null
2724
+ }
2725
+ }
2726
+ return record
2709
2727
  })
2710
2728
  this.vasData = {
2711
2729
  ...this.vasData,
@@ -24,7 +24,7 @@
24
24
 
25
25
  <br>
26
26
  For additional information about the aspects of the release, see the following link
27
- <a href="http://bit.ly/20230929_Hatio_Release">V4.3.327 Release Note</a>
27
+ <a href="https://bit.ly/20230929_Hatio_ReleaseNote">V4.3.327 Release Note</a>
28
28
  <br>
29
29
 
30
30
  Should you have any inquiries, feel free to contact <a href="mailto: support@hatio.asia">support@hatio.asia</a>! Stay safe and positively negative!
@@ -24,7 +24,7 @@
24
24
 
25
25
  <br>
26
26
  For additional information about the aspects of the release, see the following link
27
- <a href="http://bit.ly/20230929_Hatio_Release">V4.3.327 Release Note</a>
27
+ <a href="https://bit.ly/20230929_Hatio_ReleaseNote">V4.3.327 Release Note</a>
28
28
  <br>
29
29
 
30
30
  Should you have any inquiries, feel free to contact <a href="mailto: support@hatio.asia">support@hatio.asia</a>! Stay safe and positively negative!
@@ -24,7 +24,7 @@
24
24
 
25
25
  <br>
26
26
  For additional information about the aspects of the release, see the following link
27
- <a href="http://bit.ly/20230929_Hatio_Release">V4.3.327 Release Note</a>
27
+ <a href="https://bit.ly/20230929_Hatio_ReleaseNote">V4.3.327 Release Note</a>
28
28
  <br>
29
29
 
30
30
  Should you have any inquiries, feel free to contact <a href="mailto: support@hatio.asia">support@hatio.asia</a>! Stay safe and positively negative!
@@ -24,7 +24,7 @@
24
24
 
25
25
  <br>
26
26
  For additional information about the aspects of the release, see the following link
27
- <a href="http://bit.ly/20230929_Hatio_Release">V4.3.327 Release Note</a>
27
+ <a href="https://bit.ly/20230929_Hatio_ReleaseNote">V4.3.327 Release Note</a>
28
28
  <br>
29
29
 
30
30
  Should you have any inquiries, feel free to contact <a href="mailto: support@hatio.asia">support@hatio.asia</a>! Stay safe and positively negative!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.329",
3
+ "version": "4.3.330",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "ca8ce0b97d088d0f821f0ce6686542395a934d45"
120
+ "gitHead": "ad3bfe98841ad43e4c789cbd6cd0742321897c2a"
121
121
  }