@things-factory/operato-wms 4.3.636 → 4.3.637

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.
Files changed (91) hide show
  1. package/client/pages/adjustment/transfer-inventory.js +12 -7
  2. package/client/pages/bulk-operation/bulk-operation.js +22 -24
  3. package/client/pages/bulk-operation/validate-b2c-ro-popup.js +4 -14
  4. package/client/pages/bulk-operation/validate-gan-popup.js +11 -26
  5. package/client/pages/bulk-operation/validate-ro-popup.js +6 -16
  6. package/client/pages/components/list-view/product-list-view.js +1 -1
  7. package/client/pages/components/select-inventory-popup.js +5 -1
  8. package/client/pages/components/select-product-popup.js +9 -4
  9. package/client/pages/inbound/putaway/putaway-product.js +70 -92
  10. package/client/pages/inbound/putaway/putaway-replenishment-same-product-popup.js +3 -10
  11. package/client/pages/inbound/putaway/putaway-same-carton-popup.js +1 -1
  12. package/client/pages/inbound/putaway/putaway-worksheet-generate-popup.js +1 -1
  13. package/client/pages/inbound/putaway/undo-putaway-popup.js +16 -19
  14. package/client/pages/inbound/putaway/worksheet-putaway-return.js +1 -1
  15. package/client/pages/inbound/putaway/worksheet-putaway.js +3 -3
  16. package/client/pages/inbound/undo-unload-popup.js +1 -1
  17. package/client/pages/inbound/unload-product.js +37 -33
  18. package/client/pages/inbound/unloaded-inventories-popup.js +1 -1
  19. package/client/pages/inbound/worksheet-unloading-return.js +1 -1
  20. package/client/pages/inbound/worksheet-unloading.js +2 -2
  21. package/client/pages/inventory/inventory-adjustment.js +20 -5
  22. package/client/pages/inventory/inventory-by-product.js +43 -43
  23. package/client/pages/inventory/onhand-inventory.js +2 -2
  24. package/client/pages/inventory-check/add-extra-inventory-popup.js +10 -2
  25. package/client/pages/inventory-check/cycle-count-recheck-popup.js +2 -2
  26. package/client/pages/inventory-check/cycle-count-report.js +14 -19
  27. package/client/pages/inventory-check/inspecting-product.js +14 -2
  28. package/client/pages/order/arrival-notice/arrival-notice-detail.js +23 -27
  29. package/client/pages/order/arrival-notice/assign-buffer-location.js +2 -2
  30. package/client/pages/order/arrival-notice/check-arrived-notice.js +2 -2
  31. package/client/pages/order/arrival-notice/create-arrival-notice.js +33 -29
  32. package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +8 -8
  33. package/client/pages/order/arrival-notice/edit-product-popup.js +29 -27
  34. package/client/pages/order/arrival-notice/proceed-edit-product-popup.js +3 -3
  35. package/client/pages/order/arrival-notice/receive-arrival-notice.js +1 -1
  36. package/client/pages/order/arrival-notice/rejected-arrival-notice.js +1 -1
  37. package/client/pages/order/arrival-notice/view-product-changes-popup.js +3 -3
  38. package/client/pages/order/draft-release-good/draft-release-good-detail.js +2 -2
  39. package/client/pages/order/release-order/b2c/b2c-release-order-detail.js +92 -91
  40. package/client/pages/order/release-order/b2c/create-b2c-release-order.js +61 -56
  41. package/client/pages/order/release-order/create-release-order.js +64 -55
  42. package/client/pages/order/release-order/receive-release-order-request.js +1 -1
  43. package/client/pages/order/release-order/rejected-release-order.js +2 -2
  44. package/client/pages/order/release-order/release-extra-product-popup.js +11 -7
  45. package/client/pages/order/release-order/release-order-detail.js +158 -116
  46. package/client/pages/order/return-order/create-return-order.js +16 -3
  47. package/client/pages/order/return-order/return-order-inventory-popup.js +2 -1
  48. package/client/pages/outbound/inventory-assign-popup.js +2 -2
  49. package/client/pages/outbound/inventory-auto-assign-popup.js +1 -1
  50. package/client/pages/outbound/inventory-reassign-popup.js +6 -6
  51. package/client/pages/outbound/loading-product.js +3 -3
  52. package/client/pages/outbound/loading-v2/load-by-qty.js +2 -2
  53. package/client/pages/outbound/loading-v2/loading-execution-base.js +4 -4
  54. package/client/pages/outbound/packing-product.js +7 -26
  55. package/client/pages/outbound/picking-product.js +36 -16
  56. package/client/pages/outbound/picking-replacement-popup.js +4 -4
  57. package/client/pages/outbound/picking-v2/picking-execution-base.js +8 -4
  58. package/client/pages/outbound/sorting-product.js +5 -7
  59. package/client/pages/outbound/worksheet-batch-picking.js +30 -43
  60. package/client/pages/outbound/worksheet-loading.js +2 -2
  61. package/client/pages/outbound/worksheet-packing.js +1 -1
  62. package/client/pages/outbound/worksheet-picking.js +23 -19
  63. package/client/pages/outbound/worksheet-return.js +1 -1
  64. package/client/pages/outbound/worksheet-sorting.js +12 -23
  65. package/client/pages/outbound/worksheet-zone-picking.js +3 -3
  66. package/client/pages/report/replenishment-report.js +5 -14
  67. package/client/pages/report/volume-summary-report.js +6 -6
  68. package/dist-server/graphql/resolvers/outbound/sort-item.js +1 -1
  69. package/dist-server/graphql/resolvers/outbound/sort-item.js.map +1 -1
  70. package/dist-server/graphql/resolvers/reports/cycle-count-report.js +2 -1
  71. package/dist-server/graphql/resolvers/reports/cycle-count-report.js.map +1 -1
  72. package/dist-server/graphql/resolvers/zone-worksheet/zone-picking.js +18 -7
  73. package/dist-server/graphql/resolvers/zone-worksheet/zone-picking.js.map +1 -1
  74. package/dist-server/graphql/types/outbound/index.js +1 -1
  75. package/dist-server/graphql/types/reports/cycle-count-report.js +1 -1
  76. package/dist-server/graphql/types/reports/inbound-order-details-report.js +1 -1
  77. package/dist-server/graphql/types/reports/outbound-order-details-report.js +2 -2
  78. package/dist-server/graphql/types/zone-worksheet/index.js +1 -1
  79. package/package.json +16 -16
  80. package/server/graphql/resolvers/outbound/sort-item.ts +1 -1
  81. package/server/graphql/resolvers/reports/cycle-count-report.ts +2 -1
  82. package/server/graphql/resolvers/zone-worksheet/zone-picking.ts +20 -8
  83. package/server/graphql/types/outbound/index.ts +1 -1
  84. package/server/graphql/types/reports/cycle-count-report.ts +1 -1
  85. package/server/graphql/types/reports/inbound-order-details-report.ts +1 -1
  86. package/server/graphql/types/reports/outbound-order-details-report.ts +2 -2
  87. package/server/graphql/types/zone-worksheet/index.ts +1 -1
  88. package/translations/en.json +265 -259
  89. package/translations/ko.json +1 -0
  90. package/translations/ms.json +1580 -1463
  91. package/translations/zh.json +2354 -2150
@@ -10,27 +10,13 @@ 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 {
14
- css,
15
- html
16
- } from 'lit-element'
13
+ import { css, html } from 'lit-element'
17
14
 
18
15
  import { getCodeByName } from '@things-factory/code-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'
16
+ import { MultiColumnFormStyles, SingleColumnFormStyles } from '@things-factory/form-ui'
17
+ import { i18next, localize } from '@things-factory/i18n-base'
27
18
  import { openPopup } from '@things-factory/layout-base'
28
- import {
29
- client,
30
- CustomAlert,
31
- navigate,
32
- PageView
33
- } from '@things-factory/shell'
19
+ import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
34
20
  import { CommonButtonStyles } from '@things-factory/styles'
35
21
  import { isMobileDevice } from '@things-factory/utils'
36
22
 
@@ -302,39 +288,38 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
302
288
  }
303
289
  }
304
290
 
305
- .new-line{
291
+ .new-line {
306
292
  grid-column: span 12 / auto !important;
307
293
  }
308
294
 
309
295
  .header-with-checkbox {
310
296
  display: flex;
311
297
  align-self: flex-end;
312
- align-items: center;
298
+ align-items: center;
313
299
  grid-column: span 36 / auto !important;
314
300
  text-align: left !important;
315
301
  margin-top: 10px !important;
316
302
  font-weight: 600 !important;
317
303
  margin-right: 2px; /* Spacing between header and checkbox */
318
304
  }
319
-
320
305
 
321
306
  .checkbox-container label {
322
307
  margin-left: 1px;
323
308
  }
324
309
 
325
- .checkbox-wrapper{
310
+ .checkbox-wrapper {
326
311
  margin-top: 10px;
327
312
  }
328
313
 
329
314
  .checkbox-wrapper::before {
330
- content: "("; /* Left bracket */
315
+ content: '('; /* Left bracket */
331
316
  margin-left: 1px;
332
317
  font-size: 0.9em; /* Adjust size as needed */
333
318
  font-weight: 100 !important;
334
319
  }
335
320
 
336
321
  .checkbox-wrapper::after {
337
- content: ")"; /* Right bracket */
322
+ content: ')'; /* Right bracket */
338
323
  margin-left: 1em; /* Space between bracket and checkbox */
339
324
  font-size: 0.9em; /* Adjust size as needed */
340
325
  font-weight: 100 !important;
@@ -348,7 +333,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
348
333
  #matchDeliveryAddress {
349
334
  margin-top: 5px !important;
350
335
  }
351
-
352
336
  `
353
337
  ]
354
338
  }
@@ -629,26 +613,28 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
629
613
  <div class="checkbox-wrapper">
630
614
  <input type="checkbox" id="matchDeliveryAddress" name="matchDeliveryAddressInput"
631
615
  @click=${e => {
632
- e.currentTarget.checked ? (this._disableBillingAddress = true) : (this._disableBillingAddress = false)
616
+ e.currentTarget.checked
617
+ ? (this._disableBillingAddress = true)
618
+ : (this._disableBillingAddress = false)
633
619
  }} />
634
620
  <label for="matchDeliveryAddress">${i18next.t('label.use_as_billing_address')}</label>
635
621
  </div>
636
622
  </div>
637
623
 
638
624
 
639
- <label>${i18next.t("label.address_1")}</label>
625
+ <label>${i18next.t('label.address_1')}</label>
640
626
  <textarea name="deliveryAddress1" required .value="${this._deliveryAddress1}"></textarea>
641
627
 
642
- <label>${i18next.t("label.address_2")}</label>
628
+ <label>${i18next.t('label.address_2')}</label>
643
629
  <textarea name="deliveryAddress2" required .value="${this._deliveryAddress2}"></textarea>
644
630
 
645
- <label>${i18next.t("label.address_3")}</label>
631
+ <label>${i18next.t('label.address_3')}</label>
646
632
  <textarea name="deliveryAddress3" required .value="${this._deliveryAddress3}"></textarea>
647
633
 
648
- <label>${i18next.t("label.address_4")}</label>
634
+ <label>${i18next.t('label.address_4')}</label>
649
635
  <textarea name="deliveryAddress4" required .value="${this._deliveryAddress4}"></textarea>
650
636
 
651
- <label>${i18next.t("label.address_5")}</label>
637
+ <label>${i18next.t('label.address_5')}</label>
652
638
  <textarea name="deliveryAddress5" required .value="${this._deliveryAddress5}"></textarea>
653
639
 
654
640
  <label>${i18next.t('label.country')}</label>
@@ -693,22 +679,34 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
693
679
  <input name="city" required .value="${this._deliveryCity}" />
694
680
 
695
681
  <!-- billing -->
696
- <label ?hidden=${this._disableBillingAddress} class="section-header">${i18next.t('label.billing_address')}</label>
682
+ <label ?hidden=${this._disableBillingAddress} class="section-header">${i18next.t(
683
+ 'label.billing_address'
684
+ )}</label>
697
685
 
698
686
  <label ?hidden=${this._disableBillingAddress}>${i18next.t('label.address_1')}</label>
699
- <textarea ?hidden=${this._disableBillingAddress} name="billingAddress" required .value="${this._billingAddress}"></textarea>
687
+ <textarea ?hidden=${this._disableBillingAddress} name="billingAddress" required .value="${
688
+ this._billingAddress
689
+ }"></textarea>
700
690
 
701
691
  <label ?hidden=${this._disableBillingAddress}>${i18next.t('label.address_2')}</label>
702
- <textarea ?hidden=${this._disableBillingAddress} name="billingAddress2" required .value="${this._billingAddress2}"></textarea>
692
+ <textarea ?hidden=${this._disableBillingAddress} name="billingAddress2" required .value="${
693
+ this._billingAddress2
694
+ }"></textarea>
703
695
 
704
696
  <label ?hidden=${this._disableBillingAddress}>${i18next.t('label.address_3')}</label>
705
- <textarea ?hidden=${this._disableBillingAddress} name="billingAddress3" required .value="${this._billingAddress3}"></textarea>
697
+ <textarea ?hidden=${this._disableBillingAddress} name="billingAddress3" required .value="${
698
+ this._billingAddress3
699
+ }"></textarea>
706
700
 
707
701
  <label ?hidden=${this._disableBillingAddress}>${i18next.t('label.address_4')}</label>
708
- <textarea ?hidden=${this._disableBillingAddress} name="billingAddress4" required .value="${this._billingAddress4}"></textarea>
702
+ <textarea ?hidden=${this._disableBillingAddress} name="billingAddress4" required .value="${
703
+ this._billingAddress4
704
+ }"></textarea>
709
705
 
710
706
  <label ?hidden=${this._disableBillingAddress}>${i18next.t('label.address_5')}</label>
711
- <textarea ?hidden=${this._disableBillingAddress} name="billingAddress5" required .value="${this._billingAddress5}"></textarea>
707
+ <textarea ?hidden=${this._disableBillingAddress} name="billingAddress5" required .value="${
708
+ this._billingAddress5
709
+ }"></textarea>
712
710
 
713
711
  <label ?hidden=${this._disableBillingAddress}>${i18next.t('label.country')}</label>
714
712
  <select ?hidden=${this._disableBillingAddress}
@@ -723,17 +721,19 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
723
721
 
724
722
  <label ?hidden=${this._disableBillingAddress}>${i18next.t('label.zip_postal_code')}</label>
725
723
 
726
- ${
724
+ ${
727
725
  this._switchBillingCountryInput
728
726
  ? html`
729
- <input ?hidden=${this._disableBillingAddress}
727
+ <input
728
+ ?hidden=${this._disableBillingAddress}
730
729
  ?disabled=${this._disableBillingAddress ? true : false}
731
730
  name="billingPostalCode"
732
731
  required
733
732
  .value=""
734
733
  />
735
734
  `
736
- : html`<select ?hidden=${this._disableBillingAddress}
735
+ : html`<select
736
+ ?hidden=${this._disableBillingAddress}
737
737
  ?disabled=${this._disableBillingAddress ? true : false}
738
738
  name="billingPostalCode"
739
739
  @change=${e => {
@@ -754,7 +754,9 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
754
754
  .value="${this._billingState}" />
755
755
 
756
756
  <label ?hidden=${this._disableBillingAddress}>${i18next.t('label.city')}</label>
757
- <input ?hidden=${this._disableBillingAddress} ?disabled=${this._disableBillingAddress ? true : false} name="billingCity" required
757
+ <input ?hidden=${this._disableBillingAddress} ?disabled=${
758
+ this._disableBillingAddress ? true : false
759
+ } name="billingCity" required
758
760
  .value="${this._billingCity}" />
759
761
 
760
762
  </form>
@@ -1089,7 +1091,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
1089
1091
  this.initProperties()
1090
1092
  this._getAllPostCode()
1091
1093
  this.fetchCountry()
1092
- this._disableBillingAddress = true;
1094
+ this._disableBillingAddress = true
1093
1095
  this._pickingStd = PICKING_STANDARD.SELECT_BY_PRODUCT.value
1094
1096
  this._bundleSettingData = []
1095
1097
  this._vasExpanded = false
@@ -1452,7 +1454,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
1452
1454
  this._deliveryAddress2 = ''
1453
1455
  this._deliveryAddress3 = ''
1454
1456
  this._deliveryAddress4 = ''
1455
- this._deliveryAddress5 = ''
1457
+ this._deliveryAddress5 = ''
1456
1458
  this._billingAddress = ''
1457
1459
  this._billingAddress2 = ''
1458
1460
  this._billingAddress3 = ''
@@ -1617,13 +1619,13 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
1617
1619
  width: 100
1618
1620
  },
1619
1621
  {
1620
- type: 'integer',
1622
+ type: 'float',
1621
1623
  name: 'remainQty',
1622
1624
  header: i18next.t('field.available_qty'),
1623
1625
  width: 140
1624
1626
  },
1625
1627
  {
1626
- type: 'integer',
1628
+ type: 'float',
1627
1629
  name: 'releaseQty',
1628
1630
  header: i18next.t('field.release_qty'),
1629
1631
  imex: { header: i18next.t('field.release_qty'), key: 'releaseQty', width: 25, type: 'float' },
@@ -1783,13 +1785,13 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
1783
1785
  width: 100
1784
1786
  },
1785
1787
  {
1786
- type: 'integer',
1788
+ type: 'float',
1787
1789
  name: 'remainQty',
1788
1790
  header: i18next.t('field.available_qty'),
1789
1791
  width: 100
1790
1792
  },
1791
1793
  {
1792
- type: 'integer',
1794
+ type: 'float',
1793
1795
  name: 'releaseQty',
1794
1796
  header: i18next.t('field.release_qty'),
1795
1797
  record: { editable: true, options: { min: 0 } },
@@ -1853,7 +1855,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
1853
1855
 
1854
1856
  roundedUomValue = releaseQty * (e.detail.after.remainUomValue / e.detail.after.remainQty)
1855
1857
 
1856
- roundedUomValue = parseFloat(roundedUomValue.toFixed(2))
1858
+ roundedUomValue = parseFloat(roundedUomValue.toFixed(3))
1857
1859
  }
1858
1860
  } else {
1859
1861
  let packageUomValue = e.detail.record.remainUomValue / e.detail.record.remainQty
@@ -1864,13 +1866,13 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
1864
1866
  e.detail.record.remainQty > 0
1865
1867
  ) {
1866
1868
  if (columnName === 'releaseQty') {
1867
- releaseQty = e.detail.after || 0
1869
+ releaseQty = parseFloat((e.detail.after || 0).toFixed(3))
1868
1870
  } else {
1869
1871
  releaseQty = Math.round(e.detail.after / packageUomValue)
1870
1872
  }
1871
1873
 
1872
1874
  roundedUomValue = releaseQty * packageUomValue
1873
- roundedUomValue = parseFloat(roundedUomValue.toFixed(2))
1875
+ roundedUomValue = parseFloat(roundedUomValue.toFixed(3))
1874
1876
  this.releaseQty = releaseQty
1875
1877
  this.releaseUomValue = roundedUomValue
1876
1878
  }
@@ -1950,7 +1952,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
1950
1952
 
1951
1953
  productGroup.forEach(group => {
1952
1954
  if (group.productId === record.productId) {
1953
- releaseUomValue = Math.round(releaseUomValue * 100) / 100
1955
+ releaseUomValue = Math.round(releaseUomValue * 1000) / 1000
1954
1956
 
1955
1957
  if (releaseQty > record.remainQty || Number.isNaN(releaseQty)) {
1956
1958
  releaseQty = record.remainQty
@@ -2002,7 +2004,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
2002
2004
 
2003
2005
  // await this.bundleGrist.updateComplete
2004
2006
  this.releaseQty = totalReleaseQty
2005
- this.releaseUomValue = Math.round(totalReleaseUomValue * 100) / 100
2007
+ this.releaseUomValue = Math.round(totalReleaseUomValue * 1000) / 1000
2006
2008
  }
2007
2009
  }
2008
2010
 
@@ -2421,7 +2423,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
2421
2423
  shippingOrderInfo.billingAddress3 = shippingOrderInfo.deliveryAddress3
2422
2424
  shippingOrderInfo.billingAddress4 = shippingOrderInfo.deliveryAddress4
2423
2425
  shippingOrderInfo.billingAddress5 = shippingOrderInfo.deliveryAddress5
2424
- shippingOrderInfo.billingCountry = shippingOrderInfo.country
2426
+ shippingOrderInfo.billingCountry = shippingOrderInfo.country
2425
2427
  shippingOrderInfo.billingPostalCode = shippingOrderInfo.postalCode
2426
2428
  shippingOrderInfo.billingCity = shippingOrderInfo.city
2427
2429
  shippingOrderInfo.billingState = shippingOrderInfo.state
@@ -2701,6 +2703,13 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
2701
2703
  }
2702
2704
  }
2703
2705
 
2706
+ if (inventories.some(record => record.isInventoryDecimal === false && record.releaseQty % 1 !== 0)) {
2707
+ const invalidRecord = inventories.find(
2708
+ record => record.isInventoryDecimal === false && record.releaseQty % 1 !== 0
2709
+ )
2710
+ throw new Error(i18next.t('text.decimal_quantities_not_allowed_for_sku', { sku: invalidRecord.productSKU }))
2711
+ }
2712
+
2704
2713
  if (inventories.some(record => record.locationType == 'DAMAGE') && recall == false) {
2705
2714
  throw new Error(i18next.t('text.there_are_damaged_inventories'))
2706
2715
  }
@@ -3750,7 +3759,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
3750
3759
  width: 150
3751
3760
  },
3752
3761
  {
3753
- type: 'integer',
3762
+ type: 'float',
3754
3763
  name: 'releaseQty',
3755
3764
  header: i18next.t('field.release_qty'),
3756
3765
  imex: { header: i18next.t('field.release_qty'), key: 'releaseQty', width: 25, type: 'float' },
@@ -4203,4 +4212,4 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
4203
4212
  }
4204
4213
  }
4205
4214
 
4206
- window.customElements.define('create-release-order', CreateReleaseOrder)
4215
+ window.customElements.define('create-release-order', CreateReleaseOrder)
@@ -414,7 +414,7 @@ class ReceiveReleaseOrderRequest extends connect(store)(localize(i18next)(PageVi
414
414
  width: 150
415
415
  },
416
416
  {
417
- type: 'integer',
417
+ type: 'float',
418
418
  name: 'releaseQty',
419
419
  header: i18next.t('field.release_qty'),
420
420
  record: { options: { min: 0 } },
@@ -342,13 +342,13 @@ class RejectedReleaseOrder extends localize(i18next)(PageView) {
342
342
  width: 150
343
343
  },
344
344
  {
345
- type: 'integer',
345
+ type: 'float',
346
346
  name: 'qty',
347
347
  header: i18next.t('field.available_qty'),
348
348
  width: 100
349
349
  },
350
350
  {
351
- type: 'integer',
351
+ type: 'float',
352
352
  name: 'releaseQty',
353
353
  header: i18next.t('field.release_qty'),
354
354
  record: { options: { min: 0 } },
@@ -278,13 +278,13 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
278
278
  width: 100
279
279
  },
280
280
  {
281
- type: 'integer',
281
+ type: 'float',
282
282
  name: 'addableQty',
283
283
  header: i18next.t('field.addable_qty'),
284
284
  width: 100
285
285
  },
286
286
  {
287
- type: 'integer',
287
+ type: 'float',
288
288
  name: 'releaseQty',
289
289
  header: i18next.t('field.release_qty'),
290
290
  record: { editable: true, options: { min: 0 } },
@@ -345,7 +345,11 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
345
345
  { name: 'status', operator: 'eq', value: INVENTORY_STATUS.STORED.value },
346
346
  { name: 'bizplace_id', value: this.bizplace, operator: 'eq' },
347
347
  { name: 'recall', value: this.recall ? this.recall : false, operator: '' },
348
- { name: 'invFilter', value: this.existingInventoryGrist.dirtyData.records.map(itm => itm.inventory.id), operator: 'eq' }
348
+ {
349
+ name: 'invFilter',
350
+ value: this.existingInventoryGrist.dirtyData.records.map(itm => itm.inventory.id),
351
+ operator: 'eq'
352
+ }
349
353
  ],
350
354
  locationSortingRules
351
355
  },
@@ -401,13 +405,13 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
401
405
  width: 150
402
406
  },
403
407
  {
404
- type: 'integer',
408
+ type: 'float',
405
409
  name: 'remainQty',
406
410
  header: i18next.t('field.available_qty'),
407
411
  width: 100
408
412
  },
409
413
  {
410
- type: 'integer',
414
+ type: 'float',
411
415
  name: 'releaseQty',
412
416
  header: i18next.t('field.release_qty'),
413
417
  record: { editable: true, options: { min: 0 } },
@@ -643,7 +647,7 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
643
647
  }
644
648
 
645
649
  roundedUom = releaseQty * packageUom
646
- roundedUom = parseFloat(roundedUom.toFixed(2))
650
+ roundedUom = parseFloat(roundedUom.toFixed(3))
647
651
  }
648
652
  } else {
649
653
  releaseQty = afterValue
@@ -677,7 +681,7 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
677
681
  }
678
682
  }
679
683
  roundedUomValue = releaseQty * packageUomValue
680
- roundedUomValue = parseFloat(roundedUomValue.toFixed(2))
684
+ roundedUomValue = parseFloat(roundedUomValue.toFixed(3))
681
685
  } else {
682
686
  releaseQty = e.detail.after
683
687
  roundedUomValue = e.detail.after