@things-factory/operato-wms 4.3.629 → 4.3.630

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,19 +10,37 @@ import './select-product-batch'
10
10
  import './serial-number-list-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
  import orderBy from 'lodash-es/orderBy'
15
18
  import { connect } from 'pwa-helpers/connect-mixin.js'
16
19
 
17
20
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
18
- import { i18next, localize } from '@things-factory/i18n-base'
21
+ import {
22
+ i18next,
23
+ localize
24
+ } from '@things-factory/i18n-base'
19
25
  import { openPopup } from '@things-factory/layout-base'
20
- import { client, CustomAlert, PageView, store } from '@things-factory/shell'
26
+ import {
27
+ client,
28
+ CustomAlert,
29
+ PageView,
30
+ store
31
+ } from '@things-factory/shell'
21
32
  import { CommonButtonStyles } from '@things-factory/styles'
22
- import { isMobileDevice, sleep } from '@things-factory/utils'
33
+ import {
34
+ isMobileDevice,
35
+ sleep
36
+ } from '@things-factory/utils'
23
37
 
24
38
  import { fetchSettingRule } from '../../fetch-setting-value'
25
- import { ARRIVAL_NOTICE, RETURN_ORDER, VAS_TYPE } from '../constants'
39
+ import {
40
+ ARRIVAL_NOTICE,
41
+ RETURN_ORDER,
42
+ VAS_TYPE
43
+ } from '../constants'
26
44
 
27
45
  const AVAIL_ORDER_TYPES = { ARRIVAL_NOTICE, RETURN_ORDER }
28
46
  class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
@@ -302,6 +320,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
302
320
  <label>${i18next.t('label.product_barcode')}</label>
303
321
  <barcode-scanable-input
304
322
  name="productBarcode"
323
+ .value=${this._productBarcode}
305
324
  without-enter
306
325
  custom-input
307
326
  ?scan-only=${this._pageSettings?.cameraScanOnly}
@@ -920,6 +939,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
920
939
  const worksheetInfo = response.data.unloadingReturnWorksheet.worksheetInfo
921
940
  this._worksheetInfo = worksheetInfo
922
941
  this._bizplaceName = worksheetInfo?.bizplaceName
942
+ this._productBarcodeScanned = null
923
943
 
924
944
  this.orderProductData = {
925
945
  records: orderBy(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.629",
3
+ "version": "4.3.630",
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": "4ddcb5a24ebd10c7729dbd3bb67907872cb2cefb"
120
+ "gitHead": "13f51c6a139e8803d4ec5cf23b52cf125b9ca4bf"
121
121
  }