@things-factory/operato-wms 4.3.435 → 4.3.437
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.
- package/client/pages/constants/setting.js +1 -0
- package/client/pages/order/release-order/create-release-order.js +0 -3
- package/client/pages/outbound/item-label-popup.js +202 -0
- package/client/pages/outbound/worksheet-picking.js +43 -18
- package/dist-server/graphql/resolvers/board-setting/board-settings.js +1 -0
- package/dist-server/graphql/resolvers/board-setting/board-settings.js.map +1 -1
- package/dist-server/opa-app-setting-constants.js +2 -1
- package/dist-server/opa-app-setting-constants.js.map +1 -1
- package/package.json +8 -8
- package/server/graphql/resolvers/board-setting/board-settings.ts +2 -0
- package/server/opa-app-setting-constants.ts +1 -0
- package/translations/en.json +2 -0
- package/translations/ko.json +2 -0
- package/translations/ms.json +2 -0
- package/translations/zh.json +2 -0
|
@@ -2,6 +2,7 @@ export const CARTON_LABEL_SETTING_KEY = 'carton-label'
|
|
|
2
2
|
export const HOME_DASHBOARD_SETTING_KEY = 'dashboard'
|
|
3
3
|
export const LOCATION_LABEL_SETTING_KEY = 'location-label'
|
|
4
4
|
export const PALLET_LABEL_SETTING_KEY = 'pallet-label'
|
|
5
|
+
export const ITEM_LABEL_SETTING_KEY = 'item-label'
|
|
5
6
|
export const PRODUCT_LABEL_SETTING_KEY = 'product-label'
|
|
6
7
|
export const REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label'
|
|
7
8
|
export const INTENALIZED_AWB_SETTING_KEY = 'internalized-awb-label'
|
|
@@ -2075,9 +2075,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2075
2075
|
if (decimalPlaces > 2) {
|
|
2076
2076
|
throw new Error(i18next.t('text.cannot_add_more_than_2_decimal_places'))
|
|
2077
2077
|
}
|
|
2078
|
-
|
|
2079
|
-
const totalOutputQty = changeRecord.newUomValue / initialRecord.newOrgUomValue
|
|
2080
|
-
changeRecord.outputQty = Math.trunc(totalOutputQty) //return only the whole number
|
|
2081
2078
|
} else if (changedColumn === 'vasQty') {
|
|
2082
2079
|
if (changeRecord.vasQty <= 0 || isNaN(changeRecord.vasQty)) {
|
|
2083
2080
|
throw new Error(i18next.t('text.invalid_quantity_input'))
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import '@things-factory/grist-ui'
|
|
2
|
+
import {
|
|
3
|
+
css,
|
|
4
|
+
html,
|
|
5
|
+
LitElement
|
|
6
|
+
} from 'lit-element'
|
|
7
|
+
import { connect } from 'pwa-helpers/connect-mixin'
|
|
8
|
+
|
|
9
|
+
import { DirectPrinter } from '@things-factory/barcode-base'
|
|
10
|
+
import {
|
|
11
|
+
i18next,
|
|
12
|
+
localize
|
|
13
|
+
} from '@things-factory/i18n-base'
|
|
14
|
+
import {
|
|
15
|
+
client,
|
|
16
|
+
store
|
|
17
|
+
} from '@things-factory/shell'
|
|
18
|
+
import { isMobileDevice } from '@things-factory/utils'
|
|
19
|
+
|
|
20
|
+
import { ITEM_LABEL_SETTING_KEY } from '../constants'
|
|
21
|
+
|
|
22
|
+
class ItemLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
|
|
23
|
+
static get properties() {
|
|
24
|
+
return {
|
|
25
|
+
config: Object,
|
|
26
|
+
data: Object,
|
|
27
|
+
items: Object,
|
|
28
|
+
_itemLabel: Object
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static get styles() {
|
|
33
|
+
return [
|
|
34
|
+
css`
|
|
35
|
+
:host {
|
|
36
|
+
padding: 10px;
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
overflow-x: overlay;
|
|
40
|
+
background-color: var(--main-section-background-color);
|
|
41
|
+
}
|
|
42
|
+
.grist {
|
|
43
|
+
background-color: var(--main-section-background-color);
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
flex: 1;
|
|
47
|
+
overflow-y: auto;
|
|
48
|
+
}
|
|
49
|
+
data-grist {
|
|
50
|
+
overflow-y: hidden;
|
|
51
|
+
flex: 1;
|
|
52
|
+
}
|
|
53
|
+
.button-container {
|
|
54
|
+
padding: var(--button-container-padding);
|
|
55
|
+
margin: var(--button-container-margin);
|
|
56
|
+
text-align: var(--button-container-align);
|
|
57
|
+
background-color: var(--button-container-background);
|
|
58
|
+
height: var(--button-container-height);
|
|
59
|
+
}
|
|
60
|
+
`
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
firstUpdated() {
|
|
65
|
+
this.config = {
|
|
66
|
+
pagination: { infinite: true },
|
|
67
|
+
rows: { selectable: { multiple: true }, appendable: false },
|
|
68
|
+
list: { fields: ['batchId', 'sku', 'printQty'] },
|
|
69
|
+
columns: [
|
|
70
|
+
{ type: 'gutter', gutterName: 'sequence' },
|
|
71
|
+
{ type: 'gutter', gutterName: 'row-selector', multiple: true },
|
|
72
|
+
{
|
|
73
|
+
type: 'string',
|
|
74
|
+
name: 'batchId',
|
|
75
|
+
header: i18next.t('field.batch_no'),
|
|
76
|
+
width: 150
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
type: 'string',
|
|
80
|
+
name: 'sku',
|
|
81
|
+
header: i18next.t('field.sku'),
|
|
82
|
+
width: 80
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: 'object',
|
|
86
|
+
name: 'product',
|
|
87
|
+
header: i18next.t('field.product'),
|
|
88
|
+
width: 250
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
type: 'integer',
|
|
92
|
+
name: 'printQty',
|
|
93
|
+
header: i18next.t('field.print_qty'),
|
|
94
|
+
record: { editable: true },
|
|
95
|
+
width: 80
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
get dataGrist() {
|
|
102
|
+
return this.shadowRoot.querySelector('data-grist')
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
render() {
|
|
106
|
+
return html`
|
|
107
|
+
<div class="grist">
|
|
108
|
+
<data-grist
|
|
109
|
+
id="grist"
|
|
110
|
+
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
111
|
+
.config=${this.config}
|
|
112
|
+
.data="${this.data}"
|
|
113
|
+
></data-grist>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<div class="button-container">
|
|
117
|
+
<mwc-button raised @click="${this._printLabel.bind(this)}" label="${i18next.t('button.print')}"></mwc-button>
|
|
118
|
+
</div>
|
|
119
|
+
`
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
updated(changeProps) {
|
|
123
|
+
if (changeProps.has('items')) {
|
|
124
|
+
if (this.items && this.items.records && this.items.records.length) {
|
|
125
|
+
this.data = {
|
|
126
|
+
records: this.items.records
|
|
127
|
+
.map(record => ({ ...record, startSeq: 1 }))
|
|
128
|
+
.sort((a, b) => a.product.sku.localeCompare(b.product.sku))
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
async _printLabel() {
|
|
136
|
+
try {
|
|
137
|
+
let itemId = this._itemLabel && this._itemLabel.id
|
|
138
|
+
|
|
139
|
+
let _targetRows = this._validate()
|
|
140
|
+
|
|
141
|
+
for (let i = 0; i < _targetRows.length; i++) {
|
|
142
|
+
let searchParams = new URLSearchParams()
|
|
143
|
+
|
|
144
|
+
searchParams.append('attentionTo', _targetRows[i].attentionTo)
|
|
145
|
+
searchParams.append('city', _targetRows[i].city)
|
|
146
|
+
searchParams.append('refNo', _targetRows[i].refNo)
|
|
147
|
+
searchParams.append('releaseQty', _targetRows[i].releaseQty)
|
|
148
|
+
searchParams.append('releaseDate', _targetRows[i].releaseDate)
|
|
149
|
+
|
|
150
|
+
try {
|
|
151
|
+
const response = await fetch(`label-command/${itemId}?${searchParams.toString()}`, {
|
|
152
|
+
method: 'GET'
|
|
153
|
+
})
|
|
154
|
+
|
|
155
|
+
if (response.status !== 200) {
|
|
156
|
+
throw `Error : Can't get label command from server (response: ${response.status})`
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
let command = await response.text()
|
|
160
|
+
|
|
161
|
+
if (!this.printer) {
|
|
162
|
+
this.printer = new DirectPrinter()
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
await this.printer.print(command)
|
|
166
|
+
} catch (ex) {
|
|
167
|
+
delete this.printer
|
|
168
|
+
throw ex
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
} catch (e) {
|
|
173
|
+
this._showToast(e)
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
_validate() {
|
|
178
|
+
let _targetRows = this.dataGrist.selected.length > 0 ? this.dataGrist.selected : this.dataGrist.dirtyData.records
|
|
179
|
+
if (!_targetRows.every(row => row.printQty)) throw new Error(i18next.t('text.print_qty_is_empty'))
|
|
180
|
+
return _targetRows
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
stateChanged(state) {
|
|
184
|
+
let itemLabelSetting = state.dashboard[ITEM_LABEL_SETTING_KEY]
|
|
185
|
+
this._itemLabel = (itemLabelSetting && itemLabelSetting.board) || {}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
_showToast({ type, message }) {
|
|
189
|
+
document.dispatchEvent(
|
|
190
|
+
new CustomEvent('notify', {
|
|
191
|
+
detail: {
|
|
192
|
+
type,
|
|
193
|
+
message
|
|
194
|
+
}
|
|
195
|
+
})
|
|
196
|
+
)
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
window.customElements.define('item-label-popup', ItemLabelPopup)
|
|
@@ -3,27 +3,17 @@ import '@things-factory/grist-ui'
|
|
|
3
3
|
import './inventory-assign-popup'
|
|
4
4
|
import './inventory-auto-assign-popup'
|
|
5
5
|
import './select-operator-popup'
|
|
6
|
+
import './item-label-popup'
|
|
6
7
|
import './inventory-reassign-popup'
|
|
7
8
|
|
|
8
9
|
import gql from 'graphql-tag'
|
|
9
|
-
import {
|
|
10
|
-
css,
|
|
11
|
-
html
|
|
12
|
-
} from 'lit-element'
|
|
10
|
+
import { css, html } from 'lit-element'
|
|
13
11
|
|
|
14
12
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
15
13
|
import { getRenderer } from '@things-factory/grist-ui'
|
|
16
|
-
import {
|
|
17
|
-
i18next,
|
|
18
|
-
localize
|
|
19
|
-
} from '@things-factory/i18n-base'
|
|
14
|
+
import { i18next, localize } from '@things-factory/i18n-base'
|
|
20
15
|
import { openPopup } from '@things-factory/layout-base'
|
|
21
|
-
import {
|
|
22
|
-
client,
|
|
23
|
-
CustomAlert,
|
|
24
|
-
navigate,
|
|
25
|
-
PageView
|
|
26
|
-
} from '@things-factory/shell'
|
|
16
|
+
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
27
17
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
28
18
|
import { isMobileDevice } from '@things-factory/utils'
|
|
29
19
|
|
|
@@ -149,16 +139,23 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
149
139
|
title: i18next.t('button.back'),
|
|
150
140
|
action: () => history.back(),
|
|
151
141
|
...CommonButtonStyles.back
|
|
152
|
-
},
|
|
142
|
+
},
|
|
153
143
|
{
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
144
|
+
title: i18next.t('button.select_operator'),
|
|
145
|
+
action: this._selectOperator.bind(this),
|
|
146
|
+
...CommonButtonStyles.add
|
|
157
147
|
}
|
|
158
148
|
]
|
|
159
149
|
if (this.crossDocking) {
|
|
160
150
|
actions = this._updateCrossDockingContext()
|
|
161
151
|
}
|
|
152
|
+
if (this._printItemLabel) {
|
|
153
|
+
actions.push({
|
|
154
|
+
title: i18next.t('button.add_label'),
|
|
155
|
+
action: this._openItemLabelPrintPopup.bind(this),
|
|
156
|
+
...CommonButtonStyles.label
|
|
157
|
+
})
|
|
158
|
+
}
|
|
162
159
|
|
|
163
160
|
if (this.undoable) {
|
|
164
161
|
actions.push({
|
|
@@ -662,6 +659,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
662
659
|
|
|
663
660
|
async pageInitialized() {
|
|
664
661
|
this._worksheetPickingAssignment = await fetchSettingRule('enable-worksheet-picking-activation-assignment')
|
|
662
|
+
this._printItemLabel = await fetchSettingRule('enable-item-label')
|
|
665
663
|
}
|
|
666
664
|
|
|
667
665
|
get form() {
|
|
@@ -709,6 +707,8 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
709
707
|
refNo
|
|
710
708
|
refNo2
|
|
711
709
|
refNo3
|
|
710
|
+
attentionTo
|
|
711
|
+
city
|
|
712
712
|
ownTransport
|
|
713
713
|
crossDocking
|
|
714
714
|
courierOption
|
|
@@ -863,6 +863,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
863
863
|
const orderVass = worksheet?.orderVass
|
|
864
864
|
const releaseGood = worksheet?.releaseGood
|
|
865
865
|
|
|
866
|
+
this.releaseGood = worksheet?.releaseGood
|
|
866
867
|
this.worksheetDetails = worksheet.worksheetDetails
|
|
867
868
|
this._worksheetStatus = worksheet.status
|
|
868
869
|
this.worksheetType = worksheet?.type
|
|
@@ -1598,6 +1599,30 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
1598
1599
|
)
|
|
1599
1600
|
}
|
|
1600
1601
|
|
|
1602
|
+
async _openItemLabelPrintPopup() {
|
|
1603
|
+
const _items = {
|
|
1604
|
+
records: this.worksheetDetails.map(itm => {
|
|
1605
|
+
return {
|
|
1606
|
+
batchId: itm.targetInventory.batchId,
|
|
1607
|
+
sku: itm.targetInventory.product.sku,
|
|
1608
|
+
product: itm.targetInventory.product,
|
|
1609
|
+
printQty: itm.targetInventory.releaseQty,
|
|
1610
|
+
releaseQty: itm.targetInventory.releaseQty,
|
|
1611
|
+
attentionTo: this.releaseGood.attentionTo?.toUpperCase() || '-',
|
|
1612
|
+
refNo: this.releaseGood.refNo || '-',
|
|
1613
|
+
city: this.releaseGood.city?.toUpperCase() || '-',
|
|
1614
|
+
releaseDate: this.releaseGood.releaseDate
|
|
1615
|
+
}
|
|
1616
|
+
})
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
openPopup(html` <item-label-popup .items="${_items}"></item-label-popup> `, {
|
|
1620
|
+
backdrop: true,
|
|
1621
|
+
size: 'large',
|
|
1622
|
+
title: i18next.t('title.select_item_label')
|
|
1623
|
+
})
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1601
1626
|
async assignWorker() {
|
|
1602
1627
|
const response = await client.mutate({
|
|
1603
1628
|
mutation: gql`
|
|
@@ -28,6 +28,7 @@ exports.boardSettingsResolver = {
|
|
|
28
28
|
opa_app_setting_constants_1.LOCATION_LABEL_SETTING_KEY,
|
|
29
29
|
opa_app_setting_constants_1.PRODUCT_LABEL_SETTING_KEY,
|
|
30
30
|
opa_app_setting_constants_1.PALLET_LABEL_SETTING_KEY,
|
|
31
|
+
opa_app_setting_constants_1.ITEM_LABEL_SETTING_KEY,
|
|
31
32
|
opa_app_setting_constants_1.REUSABLE_PALLET_LABEL_SETTING_KEY,
|
|
32
33
|
HOME_BOARD,
|
|
33
34
|
opa_app_setting_constants_1.CARTON_LABEL_SETTING_KEY,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-settings.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/board-setting/board-settings.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAEvC,yDAAgD;AAChD,iEAAqD;AACrD,+DAAsD;AAGtD,
|
|
1
|
+
{"version":3,"file":"board-settings.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/board-setting/board-settings.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAEvC,yDAAgD;AAChD,iEAAqD;AACrD,+DAAsD;AAGtD,kFAW2C;AAE9B,QAAA,qBAAqB,GAAG;IACnC,KAAK,CAAC,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Y = exports.PRODUCT_LABEL_SETTING_KEY = exports.HOME_DASHBOARD_PREFIX = exports.REUSABLE_PALLET_LABEL_SETTING_KEY = exports.CARTON_LABEL_SETTING_KEY = exports.PALLET_LABEL_SETTING_KEY = exports.LOCATION_LABEL_SETTING_KEY = void 0;
|
|
3
|
+
exports.TOTE_LABEL_SETTING_KEY = exports.ROUTE_LABEL_SETTING_KEY = exports.INTENALIZED_AWB_SETTING_KEY = exports.ITEM_LABEL_SETTING_KEY = exports.PRODUCT_LABEL_SETTING_KEY = exports.HOME_DASHBOARD_PREFIX = exports.REUSABLE_PALLET_LABEL_SETTING_KEY = exports.CARTON_LABEL_SETTING_KEY = exports.PALLET_LABEL_SETTING_KEY = exports.LOCATION_LABEL_SETTING_KEY = void 0;
|
|
4
4
|
exports.LOCATION_LABEL_SETTING_KEY = 'location-label';
|
|
5
5
|
exports.PALLET_LABEL_SETTING_KEY = 'pallet-label';
|
|
6
6
|
exports.CARTON_LABEL_SETTING_KEY = 'carton-label';
|
|
7
7
|
exports.REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label';
|
|
8
8
|
exports.HOME_DASHBOARD_PREFIX = 'dashboard';
|
|
9
9
|
exports.PRODUCT_LABEL_SETTING_KEY = 'product-label';
|
|
10
|
+
exports.ITEM_LABEL_SETTING_KEY = 'item-label';
|
|
10
11
|
exports.INTENALIZED_AWB_SETTING_KEY = 'internalized-awb-label';
|
|
11
12
|
exports.ROUTE_LABEL_SETTING_KEY = 'route-label';
|
|
12
13
|
exports.TOTE_LABEL_SETTING_KEY = 'tote-label';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opa-app-setting-constants.js","sourceRoot":"","sources":["../server/opa-app-setting-constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,gBAAgB,CAAA;AAC7C,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,iCAAiC,GAAG,uBAAuB,CAAA;AAC3D,QAAA,qBAAqB,GAAG,WAAW,CAAA;AACnC,QAAA,yBAAyB,GAAG,eAAe,CAAA;AAC3C,QAAA,2BAA2B,GAAG,wBAAwB,CAAA;AACtD,QAAA,uBAAuB,GAAG,aAAa,CAAA;AACvC,QAAA,sBAAsB,GAAG,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"opa-app-setting-constants.js","sourceRoot":"","sources":["../server/opa-app-setting-constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,gBAAgB,CAAA;AAC7C,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,iCAAiC,GAAG,uBAAuB,CAAA;AAC3D,QAAA,qBAAqB,GAAG,WAAW,CAAA;AACnC,QAAA,yBAAyB,GAAG,eAAe,CAAA;AAC3C,QAAA,sBAAsB,GAAG,YAAY,CAAA;AACrC,QAAA,2BAA2B,GAAG,wBAAwB,CAAA;AACtD,QAAA,uBAAuB,GAAG,aAAa,CAAA;AACvC,QAAA,sBAAsB,GAAG,YAAY,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.437",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -80,18 +80,18 @@
|
|
|
80
80
|
"@things-factory/grist-ui": "^4.3.434",
|
|
81
81
|
"@things-factory/help": "^4.3.434",
|
|
82
82
|
"@things-factory/i18n-base": "^4.3.434",
|
|
83
|
-
"@things-factory/id-rule-base": "^4.3.
|
|
83
|
+
"@things-factory/id-rule-base": "^4.3.437",
|
|
84
84
|
"@things-factory/import-ui": "^4.3.434",
|
|
85
85
|
"@things-factory/import-ui-excel": "^4.3.434",
|
|
86
86
|
"@things-factory/menu-ui": "^4.3.434",
|
|
87
87
|
"@things-factory/more-ui": "^4.3.434",
|
|
88
|
-
"@things-factory/notification": "^4.3.
|
|
88
|
+
"@things-factory/notification": "^4.3.437",
|
|
89
89
|
"@things-factory/pdf": "^4.3.381",
|
|
90
90
|
"@things-factory/print-proxy-service": "^4.3.434",
|
|
91
91
|
"@things-factory/print-ui": "^4.3.434",
|
|
92
92
|
"@things-factory/product-base": "^4.3.434",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.434",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.437",
|
|
95
95
|
"@things-factory/scene-data-transform": "^4.3.381",
|
|
96
96
|
"@things-factory/scene-excel": "^4.3.381",
|
|
97
97
|
"@things-factory/scene-firebase": "^4.3.381",
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
"@things-factory/scene-mqtt": "^4.3.381",
|
|
104
104
|
"@things-factory/scene-restful": "^4.3.381",
|
|
105
105
|
"@things-factory/scene-visualizer": "^4.3.381",
|
|
106
|
-
"@things-factory/setting-ui": "^4.3.
|
|
106
|
+
"@things-factory/setting-ui": "^4.3.437",
|
|
107
107
|
"@things-factory/system-ui": "^4.3.434",
|
|
108
108
|
"@things-factory/transport-base": "^4.3.434",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.434",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.437",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.437"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.381",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"cypress-localstorage-commands": "^1.6.1",
|
|
118
118
|
"eslint-plugin-cypress": "^2.12.1"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "943a024dfb0194f842b97405190fc1e438f8a0dd"
|
|
121
121
|
}
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
HOME_DASHBOARD_PREFIX,
|
|
11
11
|
LOCATION_LABEL_SETTING_KEY,
|
|
12
12
|
PALLET_LABEL_SETTING_KEY,
|
|
13
|
+
ITEM_LABEL_SETTING_KEY,
|
|
13
14
|
PRODUCT_LABEL_SETTING_KEY,
|
|
14
15
|
REUSABLE_PALLET_LABEL_SETTING_KEY,
|
|
15
16
|
INTENALIZED_AWB_SETTING_KEY,
|
|
@@ -43,6 +44,7 @@ export const boardSettingsResolver = {
|
|
|
43
44
|
LOCATION_LABEL_SETTING_KEY,
|
|
44
45
|
PRODUCT_LABEL_SETTING_KEY,
|
|
45
46
|
PALLET_LABEL_SETTING_KEY,
|
|
47
|
+
ITEM_LABEL_SETTING_KEY,
|
|
46
48
|
REUSABLE_PALLET_LABEL_SETTING_KEY,
|
|
47
49
|
HOME_BOARD,
|
|
48
50
|
CARTON_LABEL_SETTING_KEY,
|
|
@@ -4,6 +4,7 @@ export const CARTON_LABEL_SETTING_KEY = 'carton-label'
|
|
|
4
4
|
export const REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label'
|
|
5
5
|
export const HOME_DASHBOARD_PREFIX = 'dashboard'
|
|
6
6
|
export const PRODUCT_LABEL_SETTING_KEY = 'product-label'
|
|
7
|
+
export const ITEM_LABEL_SETTING_KEY = 'item-label'
|
|
7
8
|
export const INTENALIZED_AWB_SETTING_KEY = 'internalized-awb-label'
|
|
8
9
|
export const ROUTE_LABEL_SETTING_KEY = 'route-label'
|
|
9
10
|
export const TOTE_LABEL_SETTING_KEY = 'tote-label'
|
package/translations/en.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"button.activate": "activate",
|
|
4
4
|
"button.add_edit": "add & edit",
|
|
5
5
|
"button.add_new_product": "add new product",
|
|
6
|
+
"button.add_label": "add label",
|
|
6
7
|
"button.add_x": "add {state.x}",
|
|
7
8
|
"button.adjust_inventory": "adjust inventory",
|
|
8
9
|
"button.adjust": "adjust",
|
|
@@ -1631,6 +1632,7 @@
|
|
|
1631
1632
|
"text.selected_inventory_not_using_carton_label": "selected inventory not using carton label",
|
|
1632
1633
|
"text.selected_item_qty_is_less_than_order_release_qty": "selected item qty is less than order release qty",
|
|
1633
1634
|
"text.selected_item_qty_is_more_than_order_release_qty": "selected item qty is more than order release qty",
|
|
1635
|
+
"title.select_item_label": "select item label",
|
|
1634
1636
|
"text.selected_qty_is_less_than_expected": "selected qty is less than expected",
|
|
1635
1637
|
"text.selected_qty_is_more_than_expected": "selected qty is more than expected",
|
|
1636
1638
|
"text.selected_release_order(s)_is_not_in_pending_worksheet_status": "selected release order(s) is not in pending worksheet status",
|
package/translations/ko.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"button.activate": "활성화",
|
|
6
6
|
"button.add_edit": "추가 & 수정",
|
|
7
7
|
"button.add_new_product": "[ko]add new product",
|
|
8
|
+
"button.add_label": "[ko]add label",
|
|
8
9
|
"button.add_x": "{state.x} 추가",
|
|
9
10
|
"button.adjust_inventory": "인벤토리 조정",
|
|
10
11
|
"button.adjust": "적용",
|
|
@@ -2142,6 +2143,7 @@
|
|
|
2142
2143
|
"title.select_destination": "목적지 선택",
|
|
2143
2144
|
"title.select_driver": "운송기사 선택",
|
|
2144
2145
|
"title.select_item": "항목 선택",
|
|
2146
|
+
"title.select_item_label": "[ko]select item label",
|
|
2145
2147
|
"title.select_location": "[ko] select location",
|
|
2146
2148
|
"title.select_product_batch": "[ko]select product batch",
|
|
2147
2149
|
"title.select_transport_order": "select transport order",
|
package/translations/ms.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"button.activate": "aktifkan",
|
|
6
6
|
"button.add_edit": "tambah & sunting",
|
|
7
7
|
"button.add_new_product": "[ms]add new product",
|
|
8
|
+
"button.add_label": "[ms]add label",
|
|
8
9
|
"button.add_x": "tambah {state.x}",
|
|
9
10
|
"button.adjust_inventory": "ubah inventori",
|
|
10
11
|
"button.adjust": "ubah suai",
|
|
@@ -2030,6 +2031,7 @@
|
|
|
2030
2031
|
"title.select_destination": "pilih destinasi",
|
|
2031
2032
|
"title.select_driver": "pilih pemandu",
|
|
2032
2033
|
"title.select_item": "pilih barang",
|
|
2034
|
+
"title.select_item_label": "[ms]select item label",
|
|
2033
2035
|
"title.select_location": "[ms] select location",
|
|
2034
2036
|
"title.select_product_batch": "[ms]select product batch",
|
|
2035
2037
|
"title.select_truck": "pilih trak",
|
package/translations/zh.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"button.activate": "activate",
|
|
5
5
|
"button.add_edit": "add & edit",
|
|
6
6
|
"button.add_new_product": "[zh]add new product",
|
|
7
|
+
"button.add_label": "[zh]add label",
|
|
7
8
|
"button.add_x": "add {state.x}",
|
|
8
9
|
"button.adjust_inventory": "adjust inventory",
|
|
9
10
|
"button.adjust": "adjust",
|
|
@@ -1985,6 +1986,7 @@
|
|
|
1985
1986
|
"title.select_destination": "select destination",
|
|
1986
1987
|
"title.select_driver": "select driver",
|
|
1987
1988
|
"title.select_item": "select item",
|
|
1989
|
+
"title.select_item_label": "[zh]select item label",
|
|
1988
1990
|
"title.select_location": "[zh] select location",
|
|
1989
1991
|
"title.select_product_batch": "[zh]select product batch",
|
|
1990
1992
|
"title.select_truck": "select truck",
|