@things-factory/operato-wms 4.0.24 → 4.0.28
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/bootstrap.js +1 -1
- package/client/pages/adjustment/transfer-inventory.js +32 -6
- package/client/pages/billing/claim-chit/claim-chit-detail.js +32 -35
- package/client/pages/billing/claim-chit/claim-chit-list.js +17 -17
- package/client/pages/billing/claim-chit/create-claim-chit.js +39 -30
- package/client/pages/billing/transport-summary-report.js +21 -23
- package/client/pages/bulk-operation/bulk-operation.js +189 -64
- package/client/pages/bulk-operation/validate-gan-popup.js +391 -0
- package/client/pages/bulk-operation/validate-ro-popup.js +44 -54
- package/client/pages/components/popup-unloading.js +47 -34
- package/client/pages/components/select-product-popup.js +74 -27
- package/client/pages/components/worksheet-information-popup.js +100 -0
- package/client/pages/inbound/expiry-date-popup.js +2 -2
- package/client/pages/inbound/inbound-reusable-pallet.js +21 -19
- package/client/pages/inbound/palletizing-pallets-popup.js +10 -9
- package/client/pages/inbound/putaway-product.js +196 -235
- package/client/pages/inbound/putaway-worksheet-generate-popup.js +4 -4
- package/client/pages/inbound/undo-unload-popup.js +295 -0
- package/client/pages/inbound/unload-product.js +236 -646
- package/client/pages/inbound/unloaded-inventories-popup.js +129 -0
- package/client/pages/inbound/vas-selector.js +9 -8
- package/client/pages/inbound/worksheet-unloading.js +15 -11
- package/client/pages/inventory/inventory-adjustment.js +9 -10
- package/client/pages/inventory-check/check-inventory-popup.js +20 -18
- package/client/pages/inventory-check/cycle-count-recheck-popup.js +25 -15
- package/client/pages/inventory-check/inspecting-product.js +2 -2
- package/client/pages/inventory-check/inventory-check-list.js +30 -19
- package/client/pages/inventory-check/search-popup.js +15 -14
- package/client/pages/inventory-check/worksheet-cycle-count.js +17 -15
- package/client/pages/master/location-list.js +61 -52
- package/client/pages/master/pallet-list.js +34 -30
- package/client/pages/master/print-location-label.js +142 -156
- package/client/pages/master/product/product-list.js +1 -1
- package/client/pages/master/warehouse-list.js +33 -29
- package/client/pages/master/worker-list.js +30 -30
- package/client/pages/order/arrival-notice/arrival-notice-detail.js +409 -21
- package/client/pages/order/arrival-notice/assign-buffer-location.js +1 -1
- package/client/pages/order/arrival-notice/create-arrival-notice.js +89 -13
- package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +90 -10
- package/client/pages/order/arrival-notice/edit-product-popup.js +2 -2
- package/client/pages/order/goods-received-note/customer-grn-list.js +9 -8
- package/client/pages/order/goods-received-note/customer-received-note.js +8 -7
- package/client/pages/order/goods-received-note/received-note-detail.js +7 -6
- package/client/pages/order/goods-received-note/received-note-list.js +9 -8
- package/client/pages/order/release-order/b2b/b2b-order-list.js +78 -2
- package/client/pages/order/release-order/b2b/b2b-order-requests.js +32 -16
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +49 -5
- package/client/pages/order/release-order/batch-generate-single-picking-worksheet-popup.js +314 -0
- package/client/pages/order/release-order/batch-picking-popup.js +19 -2
- package/client/pages/order/release-order/create-release-order.js +194 -89
- package/client/pages/order/release-order/release-extra-product-popup.js +3 -7
- package/client/pages/order/release-order/release-order-detail.js +392 -109
- package/client/pages/order/return-order/check-return-order.js +15 -13
- package/client/pages/order/return-order/create-return-order.js +3 -3
- package/client/pages/order/return-order/receive-return-order-requests.js +25 -22
- package/client/pages/order/return-order/rejected-return-order.js +8 -14
- package/client/pages/order/return-order/return-order-assign-buffer-location.js +16 -14
- package/client/pages/order/return-order/return-order-detail.js +35 -31
- package/client/pages/order/return-order/return-order-list.js +9 -8
- package/client/pages/order/return-order/return-order-requests.js +20 -18
- package/client/pages/order/reverse-kitting-order/reverse-kitting-order-list.js +9 -8
- package/client/pages/order/transfer-order/receive-transfer-order-request.js +67 -66
- package/client/pages/order/transfer-order/rejected-transfer-order.js +7 -6
- package/client/pages/order/transfer-order/transfer-order-detail.js +7 -6
- package/client/pages/order/transfer-order/transfer-order-requests.js +20 -18
- package/client/pages/order/transport-order/contact-point-selector-popup.js +20 -20
- package/client/pages/order/transport-order/create-delivery-order.js +1 -1
- package/client/pages/order/transport-order/delivery-note-popup.js +52 -46
- package/client/pages/order/transport-order/delivery-order-list.js +1 -1
- package/client/pages/order/transport-order/print-delivery-note.js +17 -16
- package/client/pages/order/transport-order/upload-delivery-note.js +21 -18
- package/client/pages/order/transport-order/view-delivery-note.js +19 -22
- package/client/pages/order/vas-order/create-vas-order.js +12 -11
- package/client/pages/order/vas-order/receive-vas-order.js +25 -22
- package/client/pages/order/vas-order/vas-order-detail.js +26 -23
- package/client/pages/order/vas-order/vas-order-list.js +9 -8
- package/client/pages/order/vas-order/vas-order-requests.js +11 -12
- package/client/pages/outbound/outbound-reusable-pallet.js +25 -33
- package/client/pages/outbound/packing-product.js +115 -234
- package/client/pages/outbound/picking-product.js +288 -380
- package/client/pages/outbound/single-outbound-worksheet.js +9 -8
- package/client/pages/outbound/sorting-product.js +66 -63
- package/client/pages/outbound/worksheet-loading.js +23 -17
- package/client/pages/outbound/worksheet-packing.js +18 -16
- package/client/pages/outbound/worksheet-picking.js +22 -18
- package/client/pages/report/custom-elccl/elccl-daily-collection-report.js +8 -9
- package/client/pages/report/custom-elccl/elccl-daily-order-inventory-report.js +26 -25
- package/client/pages/report/custom-elccl/elccl-delivery-order-summary.js +10 -9
- package/client/pages/report/custom-elccl/elccl-inventory-pallet-detail-report.js +13 -8
- package/client/pages/report/custom-elccl/elccl-inventory-report.js +11 -10
- package/client/pages/report/inventory-pallet-report.js +13 -12
- package/client/pages/report/job-sheet-list.js +9 -8
- package/client/pages/report/job-sheet-popup.js +9 -9
- package/client/pages/report/job-sheet-report.js +6 -6
- package/client/pages/system/location-sorting-rule.js +53 -46
- package/client/pages/vas/abstract-execute-vas.js +47 -34
- package/client/pages/vas/execute-pure-vas.js +66 -62
- package/client/pages/vas/execute-ref-vas.js +39 -41
- package/client/pages/vas/print-product-label.js +17 -9
- package/client/pages/vas/related-vas-list.js +7 -6
- package/client/pages/vas/target-inventory-assignment-popup.js +16 -14
- package/client/pages/vas/vas-pallet-label-popup.js +1 -1
- package/client/pages/vas/vas-worksheet-list.js +9 -8
- package/client/pages/vas/worksheet-ref-vas.js +7 -6
- package/client/pages/vas/worksheet-vas.js +16 -14
- package/client/route.js +16 -32
- package/dist-server/graphql/resolvers/reports/product-label-report.js +1 -0
- package/dist-server/graphql/resolvers/reports/product-label-report.js.map +1 -1
- package/package.json +65 -65
- package/server/graphql/resolvers/reports/product-label-report.ts +1 -0
- package/things-factory.config.js +0 -16
- package/translations/en.json +34 -2
- package/translations/ko.json +34 -3
- package/translations/ms.json +34 -3
- package/translations/zh.json +34 -3
- package/client/pages/inbound/location-selector.js +0 -224
- package/client/pages/master/picking-bin-list.js +0 -354
- package/client/pages/order/retail-replenishment-order/retail-replenishment-order-detail.js +0 -315
- package/client/pages/order/retail-replenishment-order/retail-replenishment-order-requests.js +0 -307
- package/client/pages/order/vas-order/rejected-vas-order.js +0 -300
|
@@ -2,12 +2,13 @@ import '@things-factory/barcode-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
import './scan-inventory-popup'
|
|
4
4
|
import './select-location-popup'
|
|
5
|
+
import '../components/worksheet-information-popup'
|
|
5
6
|
|
|
6
7
|
import gql from 'graphql-tag'
|
|
7
8
|
import { css, html } from 'lit-element'
|
|
8
9
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
9
10
|
|
|
10
|
-
import { MultiColumnFormStyles
|
|
11
|
+
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
11
12
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
12
13
|
import { openPopup } from '@things-factory/layout-base'
|
|
13
14
|
import { client, CustomAlert, PageView, store } from '@things-factory/shell'
|
|
@@ -27,88 +28,56 @@ const AVAIL_ORDER_TYPES = { ARRIVAL_NOTICE, CUSTOMER_RETURN, WAREHOUSE_RETURN }
|
|
|
27
28
|
class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
28
29
|
static get properties() {
|
|
29
30
|
return {
|
|
30
|
-
refOrderType: String,
|
|
31
|
-
orderNo: String,
|
|
32
31
|
config: Object,
|
|
33
32
|
data: Object,
|
|
33
|
+
incompleteLocationName: Boolean,
|
|
34
|
+
locations: Array,
|
|
35
|
+
orderNo: String,
|
|
36
|
+
refOrderType: String,
|
|
37
|
+
recommendLocationName: String,
|
|
38
|
+
_bizplaceName: String,
|
|
34
39
|
_enableCartonLabel: Boolean,
|
|
40
|
+
_expirationDate: Number,
|
|
41
|
+
_expirationPeriod: Number,
|
|
42
|
+
_locationType: String,
|
|
43
|
+
_operationType: String,
|
|
44
|
+
_orderNo: String,
|
|
35
45
|
_productName: String,
|
|
36
46
|
_productSku: String,
|
|
37
47
|
_selectedTaskStatus: String,
|
|
38
|
-
_operationType: String,
|
|
39
|
-
incompleteLocationName: Boolean,
|
|
40
|
-
locations: Array,
|
|
41
|
-
recommendLocationName: String,
|
|
42
48
|
_scanning: Boolean,
|
|
43
|
-
|
|
44
|
-
_expirationDate: Number,
|
|
45
|
-
_locationType: String
|
|
49
|
+
_worksheetInfo: Object
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
static get styles() {
|
|
50
54
|
return [
|
|
51
|
-
SingleColumnFormStyles,
|
|
52
55
|
MultiColumnFormStyles,
|
|
53
56
|
css`
|
|
54
|
-
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.grist {
|
|
60
|
-
background-color: var(--main-section-background-color);
|
|
61
|
-
display: flex;
|
|
57
|
+
data-grist {
|
|
62
58
|
overflow: auto;
|
|
63
59
|
flex: 1;
|
|
64
60
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
flex: 1;
|
|
68
|
-
overflow: hidden;
|
|
69
|
-
display: flex;
|
|
70
|
-
flex-direction: column;
|
|
61
|
+
#form-section {
|
|
62
|
+
background-color: white;
|
|
71
63
|
}
|
|
72
|
-
|
|
73
|
-
.right-column {
|
|
74
|
-
flex: 1;
|
|
75
|
-
overflow: auto;
|
|
64
|
+
:host {
|
|
76
65
|
display: flex;
|
|
77
66
|
flex-direction: column;
|
|
67
|
+
overflow: hidden;
|
|
78
68
|
}
|
|
79
|
-
|
|
80
|
-
data-grist {
|
|
81
|
-
flex: 1;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
69
|
h2 {
|
|
85
70
|
padding: var(--subtitle-padding);
|
|
86
71
|
font: var(--subtitle-font);
|
|
87
72
|
color: var(--subtitle-text-color);
|
|
88
73
|
border-bottom: var(--subtitle-border-bottom);
|
|
89
74
|
}
|
|
90
|
-
|
|
91
|
-
margin: var(--grist-title-margin);
|
|
92
|
-
border: var(--grist-title-border);
|
|
93
|
-
font: var(--grist-title-font);
|
|
94
|
-
color: var(--secondary-color);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.grist h2 mwc-icon {
|
|
75
|
+
legend mwc-icon {
|
|
98
76
|
vertical-align: middle;
|
|
99
77
|
margin: var(--grist-title-icon-margin);
|
|
100
78
|
font-size: var(--grist-title-icon-size);
|
|
101
79
|
color: var(--grist-title-icon-color);
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
h2 + data-grist {
|
|
105
|
-
padding-top: var(--grist-title-with-grid-padding);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@media (max-width: 460px) {
|
|
109
|
-
:host {
|
|
110
|
-
display: block;
|
|
111
|
-
}
|
|
80
|
+
cursor: pointer;
|
|
112
81
|
}
|
|
113
82
|
`
|
|
114
83
|
]
|
|
@@ -144,12 +113,12 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
144
113
|
}
|
|
145
114
|
}
|
|
146
115
|
|
|
147
|
-
get
|
|
148
|
-
return this.shadowRoot.querySelector('
|
|
116
|
+
get cartonInput() {
|
|
117
|
+
return this.shadowRoot.querySelector('barcode-scanable-input[name=cartonId]').shadowRoot.querySelector('input')
|
|
149
118
|
}
|
|
150
119
|
|
|
151
|
-
get
|
|
152
|
-
return this.shadowRoot.querySelector('
|
|
120
|
+
get grist() {
|
|
121
|
+
return this.shadowRoot.querySelector('data-grist')
|
|
153
122
|
}
|
|
154
123
|
|
|
155
124
|
get infoForm() {
|
|
@@ -160,18 +129,6 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
160
129
|
return this.shadowRoot.querySelector('form#input-form')
|
|
161
130
|
}
|
|
162
131
|
|
|
163
|
-
get grist() {
|
|
164
|
-
return this.shadowRoot.querySelector('data-grist')
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
get palletInput() {
|
|
168
|
-
return this.shadowRoot.querySelector('barcode-scanable-input[name=palletId]').shadowRoot.querySelector('input')
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
get cartonInput() {
|
|
172
|
-
return this.shadowRoot.querySelector('barcode-scanable-input[name=cartonId]').shadowRoot.querySelector('input')
|
|
173
|
-
}
|
|
174
|
-
|
|
175
132
|
get locationInput() {
|
|
176
133
|
return this.shadowRoot.querySelector('barcode-scanable-input[name=locationCode]').shadowRoot.querySelector('input')
|
|
177
134
|
}
|
|
@@ -180,19 +137,30 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
180
137
|
return this.shadowRoot.querySelector('select[name=newLocationCode]')
|
|
181
138
|
}
|
|
182
139
|
|
|
183
|
-
get
|
|
184
|
-
return this.shadowRoot.querySelector('
|
|
140
|
+
get orderTypeSelector() {
|
|
141
|
+
return this.shadowRoot.querySelector('select[name=orderType]')
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
get orderNoInput() {
|
|
145
|
+
return this.shadowRoot.querySelector('barcode-scanable-input[name=orderNo]').shadowRoot.querySelector('input')
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
get palletInput() {
|
|
149
|
+
return this.shadowRoot.querySelector('barcode-scanable-input[name=palletId]').shadowRoot.querySelector('input')
|
|
185
150
|
}
|
|
186
151
|
|
|
187
152
|
get qtyInput() {
|
|
188
153
|
return this.shadowRoot.querySelector('input[name=transferQty]')
|
|
189
154
|
}
|
|
190
155
|
|
|
156
|
+
get toPalletInput() {
|
|
157
|
+
return this.shadowRoot.querySelector('barcode-scanable-input[name=toPalletId]').shadowRoot.querySelector('input')
|
|
158
|
+
}
|
|
159
|
+
|
|
191
160
|
render() {
|
|
192
161
|
return html`
|
|
193
162
|
<form id="info-form" class="multi-column-form">
|
|
194
163
|
<fieldset>
|
|
195
|
-
<legend>${i18next.t('title.scan_area')}</legend>
|
|
196
164
|
<label>${i18next.t('label.order_type')}</label>
|
|
197
165
|
<select name="orderType" @change="${this.orderTypeChangeHandler.bind(this)}">
|
|
198
166
|
${Object.keys(AVAIL_ORDER_TYPES).map(key =>
|
|
@@ -224,101 +192,60 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
224
192
|
}}"
|
|
225
193
|
></barcode-scanable-input>
|
|
226
194
|
</fieldset>
|
|
195
|
+
</form>
|
|
227
196
|
|
|
197
|
+
<form id="input-form" class="multi-column-form" @keypress="${this._transactionHandler.bind(this)}">
|
|
228
198
|
<fieldset>
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
199
|
+
${this.recommendLocationName
|
|
200
|
+
? html` <label>${i18next.t('label.recommend_location')}</label>
|
|
201
|
+
<input name="recommendLocation" type="text" value=${this.recommendLocationName} readonly />`
|
|
202
|
+
: html``}
|
|
203
|
+
${this._enableCartonLabel
|
|
204
|
+
? html`
|
|
205
|
+
<label>${i18next.t('label.carton_id')}</label>
|
|
206
|
+
<barcode-scanable-input name="cartonId" custom-input></barcode-scanable-input>
|
|
207
|
+
`
|
|
208
|
+
: html`
|
|
209
|
+
<label>${i18next.t('label.lot_barcode')}</label>
|
|
210
|
+
<barcode-scanable-input name="palletId" .value=${this._pallet} custom-input></barcode-scanable-input>
|
|
211
|
+
`}
|
|
212
|
+
${this._operationType === OPERATION_TYPE.PUTAWAY
|
|
213
|
+
? html` <label>${i18next.t('label.location')}</label>
|
|
214
|
+
<barcode-scanable-input
|
|
215
|
+
name="locationCode"
|
|
216
|
+
.value=${this._location}
|
|
217
|
+
custom-input
|
|
218
|
+
></barcode-scanable-input>`
|
|
219
|
+
: ''}
|
|
220
|
+
${this._operationType === OPERATION_TYPE.TRANSFER
|
|
221
|
+
? html` <label>${i18next.t('label.to_lot_barcode')}</label>
|
|
222
|
+
<barcode-scanable-input
|
|
223
|
+
name="toPalletId"
|
|
224
|
+
.value=${this._location}
|
|
225
|
+
custom-input
|
|
226
|
+
></barcode-scanable-input>
|
|
227
|
+
|
|
228
|
+
<label>${i18next.t('label.qty')}</label>
|
|
229
|
+
<input type="number" min="1" name="transferQty" />`
|
|
230
|
+
: html``}
|
|
246
231
|
</fieldset>
|
|
247
232
|
</form>
|
|
248
233
|
|
|
249
|
-
<
|
|
250
|
-
<div
|
|
251
|
-
<
|
|
252
|
-
<data-grist
|
|
253
|
-
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
254
|
-
.config=${this.config}
|
|
255
|
-
.data=${this.data}
|
|
256
|
-
></data-grist>
|
|
257
|
-
</div>
|
|
258
|
-
|
|
259
|
-
<div class="right-column">
|
|
260
|
-
<form id="input-form" class="single-column-form" @keypress="${this._transactionHandler.bind(this)}">
|
|
261
|
-
<fieldset>
|
|
262
|
-
<legend>${i18next.t('label.product')}: ${this._productName}</legend>
|
|
263
|
-
|
|
264
|
-
<label>${i18next.t('label.batch_no')}</label>
|
|
265
|
-
<input name="batchId" readonly />
|
|
266
|
-
|
|
267
|
-
<label>${i18next.t('label.expiry_date')}</label>
|
|
268
|
-
<input name="expirationDate" type="date" readonly />
|
|
269
|
-
|
|
270
|
-
<label>${i18next.t('label.batch_no_ref')}</label>
|
|
271
|
-
<input name="batchIdRef" readonly />
|
|
272
|
-
|
|
273
|
-
<label>${i18next.t('label.packing_type')}</label>
|
|
274
|
-
<input name="packingTypeSize" readonly />
|
|
275
|
-
|
|
276
|
-
<label>${i18next.t('label.current_location')}</label>
|
|
277
|
-
<input name="location" readonly />
|
|
278
|
-
</fieldset>
|
|
279
|
-
|
|
234
|
+
<data-grist .mode=${isMobileDevice() ? 'LIST' : 'GRID'} .config=${this.config} .data=${this.data}>
|
|
235
|
+
<div slot="headroom" id="form-section">
|
|
236
|
+
<form id="info-form" class="multi-column-form">
|
|
280
237
|
<fieldset>
|
|
281
|
-
<legend
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
<label>${i18next.t('label.carton_id')}</label>
|
|
289
|
-
<barcode-scanable-input name="cartonId" custom-input></barcode-scanable-input>
|
|
290
|
-
`
|
|
291
|
-
: html`
|
|
292
|
-
<label>${i18next.t('label.lot_barcode')}</label>
|
|
293
|
-
<barcode-scanable-input
|
|
294
|
-
name="palletId"
|
|
295
|
-
.value=${this._pallet}
|
|
296
|
-
custom-input
|
|
297
|
-
></barcode-scanable-input>
|
|
298
|
-
`}
|
|
299
|
-
${this._operationType === OPERATION_TYPE.PUTAWAY
|
|
300
|
-
? html` <label>${i18next.t('label.location')}</label>
|
|
301
|
-
<barcode-scanable-input
|
|
302
|
-
name="locationCode"
|
|
303
|
-
.value=${this._location}
|
|
304
|
-
custom-input
|
|
305
|
-
></barcode-scanable-input>`
|
|
306
|
-
: ''}
|
|
307
|
-
${this._operationType === OPERATION_TYPE.TRANSFER
|
|
308
|
-
? html` <label>${i18next.t('label.to_lot_barcode')}</label>
|
|
309
|
-
<barcode-scanable-input
|
|
310
|
-
name="toPalletId"
|
|
311
|
-
.value=${this._location}
|
|
312
|
-
custom-input
|
|
313
|
-
></barcode-scanable-input>
|
|
314
|
-
|
|
315
|
-
<label>${i18next.t('label.qty')}</label>
|
|
316
|
-
<input type="number" min="1" name="transferQty" />`
|
|
317
|
-
: html``}
|
|
238
|
+
<legend>
|
|
239
|
+
${this._orderNo}
|
|
240
|
+
${this._orderNo
|
|
241
|
+
? html`(${this._bizplaceName})
|
|
242
|
+
<mwc-icon @click="${this._openWorksheetInformation.bind(this)}">info</mwc-icon>`
|
|
243
|
+
: ''}
|
|
244
|
+
</legend>
|
|
318
245
|
</fieldset>
|
|
319
246
|
</form>
|
|
320
247
|
</div>
|
|
321
|
-
</
|
|
248
|
+
</data-grist>
|
|
322
249
|
`
|
|
323
250
|
}
|
|
324
251
|
|
|
@@ -326,8 +253,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
326
253
|
super()
|
|
327
254
|
this.data = { records: [] }
|
|
328
255
|
this.refOrderType = AVAIL_ORDER_TYPES.ARRIVAL_NOTICE.value
|
|
329
|
-
this.
|
|
330
|
-
this.orderNo = ''
|
|
256
|
+
this._orderNo = ''
|
|
331
257
|
this._selectedOrderProduct = null
|
|
332
258
|
this._selectedTaskStatus = null
|
|
333
259
|
this.recommendLocationName = null
|
|
@@ -372,16 +298,11 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
372
298
|
this._selectedTaskStatus = null
|
|
373
299
|
this._selectedTaskStatus = record.status
|
|
374
300
|
this.recommendLocationName = null
|
|
375
|
-
this._productName = `${record.product.sku + ' - ' + record.product.name} ${
|
|
376
|
-
record.product.description ? `(${record.product.description})` : ''
|
|
377
|
-
}`
|
|
378
301
|
|
|
379
302
|
if (!record.completed && this.refOrderType !== AVAIL_ORDER_TYPES.WAREHOUSE_RETURN.value) {
|
|
380
303
|
this.recommendLocationName = (await this._getLocationRecommendation(record.name)) || null
|
|
381
304
|
}
|
|
382
305
|
|
|
383
|
-
this._fillUpForm(this.inputForm, record)
|
|
384
|
-
|
|
385
306
|
if (this._enableCartonLabel && record?.cartonId) this._focusOnCartonInput()
|
|
386
307
|
else this._focusOnPalletInput()
|
|
387
308
|
}
|
|
@@ -398,12 +319,6 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
398
319
|
header: i18next.t('field.completed'),
|
|
399
320
|
width: 40
|
|
400
321
|
},
|
|
401
|
-
{
|
|
402
|
-
type: 'object',
|
|
403
|
-
name: 'product',
|
|
404
|
-
header: i18next.t('field.product'),
|
|
405
|
-
width: 140
|
|
406
|
-
},
|
|
407
322
|
{
|
|
408
323
|
type: 'string',
|
|
409
324
|
name: 'palletId',
|
|
@@ -417,9 +332,9 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
417
332
|
width: 140
|
|
418
333
|
},
|
|
419
334
|
{
|
|
420
|
-
type: '
|
|
421
|
-
name: '
|
|
422
|
-
header: i18next.t('field.
|
|
335
|
+
type: 'object',
|
|
336
|
+
name: 'product',
|
|
337
|
+
header: i18next.t('field.product'),
|
|
423
338
|
width: 140
|
|
424
339
|
},
|
|
425
340
|
{
|
|
@@ -428,6 +343,24 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
428
343
|
header: i18next.t('field.batch_id'),
|
|
429
344
|
width: 140
|
|
430
345
|
},
|
|
346
|
+
{
|
|
347
|
+
type: 'string',
|
|
348
|
+
name: 'packingType',
|
|
349
|
+
header: i18next.t('field.packing_type'),
|
|
350
|
+
width: 140
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
type: 'string',
|
|
354
|
+
name: 'packingSize',
|
|
355
|
+
header: i18next.t('field.packing_size'),
|
|
356
|
+
width: 140
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
type: 'date',
|
|
360
|
+
name: 'expirationDate',
|
|
361
|
+
header: i18next.t('field.exp_date'),
|
|
362
|
+
width: 140
|
|
363
|
+
},
|
|
431
364
|
{
|
|
432
365
|
type: 'integer',
|
|
433
366
|
name: 'qty',
|
|
@@ -435,8 +368,8 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
435
368
|
width: 80
|
|
436
369
|
},
|
|
437
370
|
{
|
|
438
|
-
type: '
|
|
439
|
-
name: '
|
|
371
|
+
type: 'object',
|
|
372
|
+
name: 'reusablePallet',
|
|
440
373
|
header: i18next.t('field.reusable_pallet'),
|
|
441
374
|
width: 140
|
|
442
375
|
}
|
|
@@ -490,7 +423,10 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
490
423
|
bizplaceName
|
|
491
424
|
partnerDomainId
|
|
492
425
|
customerCompanyDomainId
|
|
426
|
+
bufferLocation
|
|
493
427
|
refNo
|
|
428
|
+
refNo2
|
|
429
|
+
refNo3
|
|
494
430
|
startedAt
|
|
495
431
|
}
|
|
496
432
|
worksheetDetailInfos {
|
|
@@ -528,10 +464,11 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
528
464
|
})
|
|
529
465
|
|
|
530
466
|
if (!response.errors) {
|
|
531
|
-
this.
|
|
467
|
+
this._orderNo = orderNo
|
|
532
468
|
const worksheetInfo = response.data.putawayWorksheet.worksheetInfo
|
|
533
469
|
const partnerDomainId = worksheetInfo.partnerDomainId
|
|
534
|
-
this.
|
|
470
|
+
this._worksheetInfo = worksheetInfo
|
|
471
|
+
this._bizplaceName = worksheetInfo.bizplaceName
|
|
535
472
|
|
|
536
473
|
this.data = {
|
|
537
474
|
records: response.data.putawayWorksheet.worksheetDetailInfos
|
|
@@ -579,7 +516,11 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
579
516
|
bizplaceName
|
|
580
517
|
partnerDomainId
|
|
581
518
|
customerCompanyDomainId
|
|
519
|
+
bufferLocation
|
|
582
520
|
refNo
|
|
521
|
+
refNo
|
|
522
|
+
refNo2
|
|
523
|
+
refNo3
|
|
583
524
|
startedAt
|
|
584
525
|
}
|
|
585
526
|
worksheetDetailInfos {
|
|
@@ -616,22 +557,17 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
616
557
|
})
|
|
617
558
|
|
|
618
559
|
if (!response.errors) {
|
|
619
|
-
this.
|
|
560
|
+
this._orderNo = orderNo
|
|
620
561
|
const worksheetInfo = response.data.putawayReturningWorksheet.worksheetInfo
|
|
621
|
-
this.
|
|
562
|
+
this._worksheetInfo = worksheetInfo
|
|
563
|
+
this._bizplaceName = worksheetInfo.bizplaceName
|
|
622
564
|
|
|
623
565
|
this.data = {
|
|
624
566
|
records: response.data.putawayReturningWorksheet.worksheetDetailInfos
|
|
625
567
|
.map(record => {
|
|
626
|
-
let reusablePalletName = ''
|
|
627
|
-
if (record.reusablePallet) {
|
|
628
|
-
reusablePalletName = record.reusablePallet.name
|
|
629
|
-
}
|
|
630
568
|
return {
|
|
631
569
|
...record,
|
|
632
570
|
completed: record.status === WORKSHEET_STATUS.DONE.value,
|
|
633
|
-
packingTypeSize: `${record.packingType}(${record.packingSize})`,
|
|
634
|
-
reusablePalletName: reusablePalletName,
|
|
635
571
|
expirationPeriod: record.product.expirationPeriod,
|
|
636
572
|
expirationDate: record.expirationDate
|
|
637
573
|
}
|
|
@@ -668,6 +604,8 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
668
604
|
partnerDomainId
|
|
669
605
|
customerCompanyDomainId
|
|
670
606
|
refNo
|
|
607
|
+
refNo2
|
|
608
|
+
refNo3
|
|
671
609
|
startedAt
|
|
672
610
|
}
|
|
673
611
|
worksheetDetailInfos {
|
|
@@ -698,17 +636,17 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
698
636
|
variables: { releaseGoodNo: orderNo }
|
|
699
637
|
})
|
|
700
638
|
if (!response.errors) {
|
|
701
|
-
this.
|
|
639
|
+
this._orderNo = orderNo
|
|
702
640
|
const worksheetInfo = response.data.returnWorksheet.worksheetInfo
|
|
703
|
-
this.
|
|
641
|
+
this._worksheetInfo = worksheetInfo
|
|
642
|
+
this._bizplaceName = worksheetInfo.bizplaceName
|
|
704
643
|
|
|
705
644
|
this.data = {
|
|
706
645
|
records: response.data.returnWorksheet.worksheetDetailInfos
|
|
707
646
|
.map(record => {
|
|
708
647
|
return {
|
|
709
648
|
...record,
|
|
710
|
-
completed: record.status === WORKSHEET_STATUS.DONE.value
|
|
711
|
-
packingTypeSize: `${record.packingType}(${record.packingSize})`
|
|
649
|
+
completed: record.status === WORKSHEET_STATUS.DONE.value
|
|
712
650
|
}
|
|
713
651
|
})
|
|
714
652
|
.sort((a, b) => {
|
|
@@ -740,7 +678,6 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
740
678
|
this.data = { records: [] }
|
|
741
679
|
this.infoForm.reset()
|
|
742
680
|
this.inputForm.reset()
|
|
743
|
-
this._productName = ''
|
|
744
681
|
this.orderNoInput.value = ''
|
|
745
682
|
this._selectedOrderProduct = null
|
|
746
683
|
this._selectedTaskStatus = null
|
|
@@ -749,28 +686,6 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
749
686
|
this.updateContext()
|
|
750
687
|
}
|
|
751
688
|
|
|
752
|
-
_fillUpForm(form, data) {
|
|
753
|
-
form.reset()
|
|
754
|
-
for (let key in data) {
|
|
755
|
-
Array.from(form.querySelectorAll('input')).forEach(field => {
|
|
756
|
-
if (field.name === key && field.type === 'checkbox') {
|
|
757
|
-
field.checked = data[key]
|
|
758
|
-
} else if (field.name === key && field.type === 'datetime-local') {
|
|
759
|
-
const datetime = Number(data[key])
|
|
760
|
-
const timezoneOffset = new Date(datetime).getTimezoneOffset() * 60000
|
|
761
|
-
field.value = new Date(datetime - timezoneOffset).toISOString().slice(0, -1)
|
|
762
|
-
} else if (field.name === key) {
|
|
763
|
-
if (data[key] instanceof Object) {
|
|
764
|
-
const objectData = data[key]
|
|
765
|
-
field.value = `${objectData.name} ${objectData.description ? `(${objectData.description})` : ''}`
|
|
766
|
-
} else {
|
|
767
|
-
field.value = data[key]
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
})
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
|
|
774
689
|
_transactionHandler(e) {
|
|
775
690
|
if (e.keyCode === 13) {
|
|
776
691
|
if (this.refOrderType === AVAIL_ORDER_TYPES.ARRIVAL_NOTICE.value) {
|
|
@@ -803,13 +718,21 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
803
718
|
if (this._enableCartonLabel) {
|
|
804
719
|
let worksheetDetail = this._getSelectedOrderProducts(this.cartonInput.value)
|
|
805
720
|
worksheetDetailNames.push(worksheetDetail[0].name)
|
|
806
|
-
if (worksheetDetail[0].
|
|
807
|
-
await this.
|
|
721
|
+
if (worksheetDetail[0].expirationDate) {
|
|
722
|
+
await this._checkExpiry(
|
|
723
|
+
worksheetDetail[0].expirationPeriod,
|
|
724
|
+
new Date(worksheetDetail[0].expirationDate),
|
|
725
|
+
locationDetails.type
|
|
726
|
+
)
|
|
808
727
|
}
|
|
809
728
|
} else {
|
|
810
729
|
worksheetDetailNames.push(this._selectedOrderProduct.name)
|
|
811
|
-
if (this._selectedOrderProduct.
|
|
812
|
-
await this.
|
|
730
|
+
if (this._selectedOrderProduct.expirationDate) {
|
|
731
|
+
await this._checkExpiry(
|
|
732
|
+
this._selectedOrderProduct.expirationPeriod,
|
|
733
|
+
new Date(this._selectedOrderProduct.expirationDate),
|
|
734
|
+
locationDetails.type
|
|
735
|
+
)
|
|
813
736
|
}
|
|
814
737
|
}
|
|
815
738
|
|
|
@@ -838,7 +761,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
838
761
|
})
|
|
839
762
|
|
|
840
763
|
if (!response.errors) {
|
|
841
|
-
this._fetchProducts(this.
|
|
764
|
+
this._fetchProducts(this._orderNo)
|
|
842
765
|
if (this._enableCartonLabel) {
|
|
843
766
|
this.cartonInput.value = ''
|
|
844
767
|
this._focusOnCartonInput()
|
|
@@ -874,15 +797,23 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
874
797
|
const locationDetails = await this._fetchLocation(this.locationInput.value.trim())
|
|
875
798
|
|
|
876
799
|
if (this._enableCartonLabel) {
|
|
877
|
-
worksheetDetailNames.push(worksheetDetail[0].name)
|
|
878
800
|
let worksheetDetail = this._getSelectedOrderProducts(this.cartonInput.value)
|
|
879
|
-
|
|
880
|
-
|
|
801
|
+
worksheetDetailNames.push(worksheetDetail[0].name)
|
|
802
|
+
if (worksheetDetail[0].expirationDate) {
|
|
803
|
+
await this._checkExpiry(
|
|
804
|
+
worksheetDetail[0].expirationPeriod,
|
|
805
|
+
new Date(worksheetDetail[0].expirationDate),
|
|
806
|
+
locationDetails.type
|
|
807
|
+
)
|
|
881
808
|
}
|
|
882
809
|
} else {
|
|
883
810
|
worksheetDetailNames.push(this._selectedOrderProduct.name)
|
|
884
|
-
if (this._selectedOrderProduct.
|
|
885
|
-
await this.
|
|
811
|
+
if (this._selectedOrderProduct.expirationDate) {
|
|
812
|
+
await this._checkExpiry(
|
|
813
|
+
this._selectedOrderProduct.expirationPeriod,
|
|
814
|
+
new Date(this._selectedOrderProduct.expirationDate),
|
|
815
|
+
locationDetails.type
|
|
816
|
+
)
|
|
886
817
|
}
|
|
887
818
|
}
|
|
888
819
|
|
|
@@ -911,7 +842,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
911
842
|
})
|
|
912
843
|
|
|
913
844
|
if (!response.errors) {
|
|
914
|
-
this._fetchProducts(this.
|
|
845
|
+
this._fetchProducts(this._orderNo)
|
|
915
846
|
if (this._enableCartonLabel) {
|
|
916
847
|
this.cartonInput.value = ''
|
|
917
848
|
this._focusOnCartonInput()
|
|
@@ -938,6 +869,19 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
938
869
|
}
|
|
939
870
|
}
|
|
940
871
|
|
|
872
|
+
_openWorksheetInformation() {
|
|
873
|
+
openPopup(
|
|
874
|
+
html`
|
|
875
|
+
<worksheet-information-popup .worksheetInformation="${this._worksheetInfo}"></worksheet-information-popup>
|
|
876
|
+
`,
|
|
877
|
+
{
|
|
878
|
+
backdrop: true,
|
|
879
|
+
size: 'large',
|
|
880
|
+
title: i18next.t('title.order_information')
|
|
881
|
+
}
|
|
882
|
+
)
|
|
883
|
+
}
|
|
884
|
+
|
|
941
885
|
async _warehouseReturnPutaway() {
|
|
942
886
|
if (this._scanning === false) {
|
|
943
887
|
this._scanning = true
|
|
@@ -945,8 +889,10 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
945
889
|
await this._validatePutaway()
|
|
946
890
|
if (!this.incompleteLocationName) {
|
|
947
891
|
let worksheetDetailNames = []
|
|
948
|
-
if (this._enableCartonLabel)
|
|
949
|
-
|
|
892
|
+
if (this._enableCartonLabel) {
|
|
893
|
+
const selectedWorksheetDetailName = this._getSelectedOrderProducts(this.cartonInput.value)
|
|
894
|
+
worksheetDetailNames.push(selectedWorksheetDetailName[0].name)
|
|
895
|
+
} else worksheetDetailNames.push(this._selectedOrderProduct.name)
|
|
950
896
|
|
|
951
897
|
const response = await client.mutate({
|
|
952
898
|
mutation: gql`
|
|
@@ -973,7 +919,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
973
919
|
})
|
|
974
920
|
|
|
975
921
|
if (!response.errors) {
|
|
976
|
-
this._fetchProducts(this.
|
|
922
|
+
this._fetchProducts(this._orderNo)
|
|
977
923
|
if (this._enableCartonLabel) {
|
|
978
924
|
this.cartonInput.value = ''
|
|
979
925
|
this._focusOnCartonInput()
|
|
@@ -1017,7 +963,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1017
963
|
})
|
|
1018
964
|
|
|
1019
965
|
if (!response.errors) {
|
|
1020
|
-
this._fetchProducts(this.
|
|
966
|
+
this._fetchProducts(this._orderNo)
|
|
1021
967
|
this._focusOnPalletInput()
|
|
1022
968
|
this._selectedTaskStatus = null
|
|
1023
969
|
this._selectedOrderProduct = null
|
|
@@ -1057,6 +1003,12 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1057
1003
|
this._focusOnCartonInput()
|
|
1058
1004
|
throw new Error(i18next.t('text.carton_id_is_empty'))
|
|
1059
1005
|
}
|
|
1006
|
+
|
|
1007
|
+
if (!this.data.records.map(record => record.cartonId).includes(this.cartonInput?.value)) {
|
|
1008
|
+
this.cartonInput.value = ''
|
|
1009
|
+
this._focusOnCartonInput()
|
|
1010
|
+
throw new Error(i18next.t('text.unable_to_find_matching_x', { state: { x: i18next.t('label.carton') } }))
|
|
1011
|
+
}
|
|
1060
1012
|
} else {
|
|
1061
1013
|
if (!this._selectedOrderProduct) throw new Error(i18next.t('text.target_is_not_selected'))
|
|
1062
1014
|
// 2. pallet id existing
|
|
@@ -1096,6 +1048,15 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1096
1048
|
}
|
|
1097
1049
|
}
|
|
1098
1050
|
|
|
1051
|
+
async _checkExpiry(expirationPeriod, expiryDate, locationType) {
|
|
1052
|
+
let date = new Date()
|
|
1053
|
+
let acceptBefore = new Date(date.setDate(date.getDate() + expirationPeriod))
|
|
1054
|
+
|
|
1055
|
+
if (expirationPeriod > 0) {
|
|
1056
|
+
if (expiryDate < acceptBefore && locationType !== 'QUARANTINE') await this._expiryAlert()
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1099
1060
|
_validateTransfer() {
|
|
1100
1061
|
// 1. validate for order selection
|
|
1101
1062
|
if (!this._selectedOrderProduct) throw new Error(i18next.t('text.target_is_not_selected'))
|
|
@@ -1274,7 +1235,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1274
1235
|
})
|
|
1275
1236
|
|
|
1276
1237
|
if (!response.errors) {
|
|
1277
|
-
this._fetchProducts(this.
|
|
1238
|
+
this._fetchProducts(this._orderNo)
|
|
1278
1239
|
if (this._enableCartonLabel) {
|
|
1279
1240
|
this.cartonInput.value = ''
|
|
1280
1241
|
this._focusOnCartonInput()
|
|
@@ -1319,7 +1280,7 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1319
1280
|
})
|
|
1320
1281
|
|
|
1321
1282
|
if (!response.errors) {
|
|
1322
|
-
this._fetchProducts(this.
|
|
1283
|
+
this._fetchProducts(this._orderNo)
|
|
1323
1284
|
if (this._enableCartonLabel) {
|
|
1324
1285
|
this.cartonInput.value = ''
|
|
1325
1286
|
this._focusOnCartonInput()
|
|
@@ -1364,12 +1325,12 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1364
1325
|
completePutaway(arrivalNoticeNo: $arrivalNoticeNo)
|
|
1365
1326
|
}
|
|
1366
1327
|
`,
|
|
1367
|
-
variables: { arrivalNoticeNo: this.
|
|
1328
|
+
variables: { arrivalNoticeNo: this._orderNo }
|
|
1368
1329
|
})
|
|
1369
1330
|
|
|
1370
1331
|
if (!response.errors) {
|
|
1371
1332
|
this._clearView()
|
|
1372
|
-
this.
|
|
1333
|
+
this._orderNo = ''
|
|
1373
1334
|
await CustomAlert({
|
|
1374
1335
|
title: i18next.t('title.completed'),
|
|
1375
1336
|
text: i18next.t('text.putaway_completed'),
|
|
@@ -1385,12 +1346,12 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1385
1346
|
completePutawayReturn(returnOrderNo: $returnOrderNo)
|
|
1386
1347
|
}
|
|
1387
1348
|
`,
|
|
1388
|
-
variables: { returnOrderNo: this.
|
|
1349
|
+
variables: { returnOrderNo: this._orderNo }
|
|
1389
1350
|
})
|
|
1390
1351
|
|
|
1391
1352
|
if (!response.errors) {
|
|
1392
1353
|
this._clearView()
|
|
1393
|
-
this.
|
|
1354
|
+
this._orderNo = ''
|
|
1394
1355
|
await CustomAlert({
|
|
1395
1356
|
title: i18next.t('title.completed'),
|
|
1396
1357
|
text: i18next.t('text.putaway_completed'),
|
|
@@ -1406,12 +1367,12 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1406
1367
|
completeReturn(releaseGoodNo: $releaseGoodNo)
|
|
1407
1368
|
}
|
|
1408
1369
|
`,
|
|
1409
|
-
variables: { releaseGoodNo: this.
|
|
1370
|
+
variables: { releaseGoodNo: this._orderNo }
|
|
1410
1371
|
})
|
|
1411
1372
|
|
|
1412
1373
|
if (!response.errors) {
|
|
1413
1374
|
this._clearView()
|
|
1414
|
-
this.
|
|
1375
|
+
this._orderNo = ''
|
|
1415
1376
|
await CustomAlert({
|
|
1416
1377
|
title: i18next.t('title.completed'),
|
|
1417
1378
|
text: i18next.t('text.putaway_completed'),
|