@things-factory/operato-wms 4.0.11 → 4.0.12
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/adjustment/transfer-inventory.js +368 -165
- package/client/pages/bulk-operation/bulk-operation.js +316 -0
- package/client/pages/bulk-operation/validate-ro-popup.js +445 -0
- package/client/pages/components/select-product-popup.js +15 -2
- package/client/pages/constants/inventory.js +1 -0
- package/client/pages/constants/location.js +33 -6
- package/client/pages/constants/order.js +10 -0
- package/client/pages/constants/worksheet.js +2 -2
- package/client/pages/inbound/inbound-worksheet.js +78 -9
- package/client/pages/inbound/putaway-product.js +214 -139
- package/client/pages/inbound/putaway-worksheet-generate-popup.js +24 -2
- package/client/pages/inbound/unload-product.js +153 -61
- package/client/pages/inbound/worksheet-putaway-return.js +22 -5
- package/client/pages/inbound/worksheet-putaway.js +21 -8
- package/client/pages/inbound/worksheet-unloading-return.js +22 -5
- package/client/pages/inbound/worksheet-unloading.js +8 -0
- package/client/pages/inventory/inventory-adjustment-approval.js +11 -19
- package/client/pages/inventory/inventory-adjustment.js +88 -73
- package/client/pages/inventory/inventory-by-product-detail.js +3 -5
- package/client/pages/inventory/inventory-by-product.js +8 -0
- package/client/pages/inventory/inventory-history-by-pallet.js +12 -5
- package/client/pages/inventory/inventory-history.js +10 -0
- package/client/pages/inventory/onhand-inventory.js +11 -2
- package/client/pages/inventory-check/create-cycle-count.js +12 -6
- package/client/pages/inventory-check/cycle-count-report.js +8 -0
- package/client/pages/inventory-check/inspecting-product.js +146 -80
- package/client/pages/inventory-check/worksheet-cycle-count.js +14 -0
- package/client/pages/manifest/create-loading-manifest.js +314 -0
- package/client/pages/manifest/dispatcher-verification-popup.js +86 -0
- package/client/pages/manifest/loading-manifest-detail.js +345 -0
- package/client/pages/manifest/loading-manifest-list.js +305 -0
- package/client/pages/master/location-list.js +58 -17
- package/client/pages/master/product/product-detail-bizplace-setting-popup.js +2 -2
- package/client/pages/master/product/product-details-popup.js +2 -2
- package/client/pages/master/product/product-list.js +5 -5
- package/client/pages/order/arrival-notice/arrival-notice-detail.js +134 -115
- package/client/pages/order/arrival-notice/arrival-notice-list.js +87 -6
- package/client/pages/order/arrival-notice/arrival-notice-requests.js +83 -6
- package/client/pages/order/arrival-notice/assign-buffer-location.js +8 -1
- package/client/pages/order/arrival-notice/check-arrived-notice.js +9 -1
- package/client/pages/order/arrival-notice/create-arrival-notice.js +38 -3
- package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +290 -25
- package/client/pages/order/arrival-notice/edit-product-popup.js +36 -5
- package/client/pages/order/arrival-notice/receive-arrival-notice.js +8 -1
- package/client/pages/order/goods-received-note/received-note-list.js +138 -6
- package/client/pages/order/release-order/b2b/b2b-order-list.js +45 -5
- package/client/pages/order/release-order/b2b/b2b-order-requests.js +52 -12
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +244 -24
- package/client/pages/order/release-order/bulk-print-packing-list.js +23 -0
- package/client/pages/order/release-order/create-release-order.js +55 -8
- package/client/pages/order/release-order/receive-release-order-request.js +35 -24
- package/client/pages/order/release-order/release-extra-product-popup.js +204 -63
- package/client/pages/order/release-order/release-order-detail.js +301 -74
- package/client/pages/order/return-order/check-return-order.js +9 -1
- package/client/pages/order/return-order/create-return-order.js +14 -2
- package/client/pages/order/return-order/receive-return-order-requests.js +9 -1
- package/client/pages/order/return-order/return-order-detail.js +15 -6
- package/client/pages/order/return-order/return-order-inventory-popup.js +7 -0
- package/client/pages/order/reverse-kitting-order/reverse-kitting-order-detail.js +115 -50
- package/client/pages/order/reverse-kitting-order/reverse-kitting-order-list.js +1 -6
- package/client/pages/order/reverse-kitting-order/reverse-kitting-pallet-label-popup.js +239 -0
- package/client/pages/order/transport-order/delivery-order-list.js +102 -59
- package/client/pages/outbound/inventory-assign-popup.js +23 -6
- package/client/pages/outbound/inventory-auto-assign-popup.js +22 -6
- package/client/pages/outbound/loading-product.js +4 -1
- package/client/pages/outbound/merged-outbound-worksheet.js +43 -1
- package/client/pages/outbound/packing-product.js +4 -1
- package/client/pages/outbound/packing-worksheet-list.js +39 -1
- package/client/pages/outbound/picking-product.js +803 -431
- package/client/pages/outbound/picking-replacement-popup.js +1 -1
- package/client/pages/outbound/serial-number-popup.js +280 -0
- package/client/pages/outbound/single-outbound-worksheet.js +47 -1
- package/client/pages/outbound/worksheet-batch-picking.js +22 -8
- package/client/pages/outbound/worksheet-loading.js +22 -5
- package/client/pages/outbound/worksheet-packing.js +8 -0
- package/client/pages/outbound/worksheet-picking.js +62 -8
- package/client/pages/outbound/worksheet-return.js +9 -1
- package/client/pages/outbound/worksheet-sorting.js +9 -1
- package/client/pages/report/custom-elccl/elccl-inventory-report.js +31 -30
- package/client/pages/report/custom-elccl/elccl-inventory-summary-report.js +23 -26
- package/client/pages/report/inventory-pallet-storage-report.js +11 -10
- package/client/pages/report/inventory-report.js +41 -43
- package/client/pages/report/inventory-summary-report.js +25 -28
- package/client/pages/report/product-label-report.js +401 -0
- package/client/pages/support/inventory-comparison.js +296 -0
- package/client/pages/vas/print-product-label.js +298 -132
- package/client/pages/vas/reverse-kitting/execute-reverse-kitting.js +32 -12
- package/client/pages/vas/reverse-kitting/popup-combination-sets.js +106 -10
- package/client/pages/vas/reverse-kitting/popup-reverse-kitting-template.js +130 -19
- package/client/pages/vas/vas-pallet-label-popup.js +5 -8
- package/client/route.js +28 -0
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.js +1 -1
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.js.map +1 -1
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-summary-report.js +64 -54
- package/dist-server/graphql/resolvers/custom/elccl/elccl-inventory-history-summary-report.js.map +1 -1
- package/dist-server/graphql/resolvers/extra/add-release-good-products.js +34 -9
- package/dist-server/graphql/resolvers/extra/add-release-good-products.js.map +1 -1
- package/dist-server/graphql/resolvers/index.js +5 -1
- package/dist-server/graphql/resolvers/index.js.map +1 -1
- package/dist-server/graphql/resolvers/inventory-comparison/index.js +6 -0
- package/dist-server/graphql/resolvers/inventory-comparison/index.js.map +1 -0
- package/dist-server/graphql/resolvers/inventory-comparison/inventory-comparison-list.js +78 -0
- package/dist-server/graphql/resolvers/inventory-comparison/inventory-comparison-list.js.map +1 -0
- package/dist-server/graphql/resolvers/reports/index.js +2 -1
- package/dist-server/graphql/resolvers/reports/index.js.map +1 -1
- package/dist-server/graphql/resolvers/reports/product-label-report.js +56 -0
- package/dist-server/graphql/resolvers/reports/product-label-report.js.map +1 -0
- package/dist-server/graphql/resolvers/shipping-provider/index.js +6 -0
- package/dist-server/graphql/resolvers/shipping-provider/index.js.map +1 -0
- package/dist-server/graphql/resolvers/shipping-provider/shipping-providers.js +20 -0
- package/dist-server/graphql/resolvers/shipping-provider/shipping-providers.js.map +1 -0
- package/dist-server/graphql/types/custom/elccl/elccl-inventory-report.js +1 -1
- package/dist-server/graphql/types/index.js +8 -2
- package/dist-server/graphql/types/index.js.map +1 -1
- package/dist-server/graphql/types/inventory-comparison/index.js +13 -0
- package/dist-server/graphql/types/inventory-comparison/index.js.map +1 -0
- package/dist-server/graphql/types/inventory-comparison/inventory-comparison-list.js +14 -0
- package/dist-server/graphql/types/inventory-comparison/inventory-comparison-list.js.map +1 -0
- package/dist-server/graphql/types/inventory-comparison/inventory-comparison.js +18 -0
- package/dist-server/graphql/types/inventory-comparison/inventory-comparison.js.map +1 -0
- package/dist-server/graphql/types/reports/index.js +6 -1
- package/dist-server/graphql/types/reports/index.js.map +1 -1
- package/dist-server/graphql/types/reports/product-label-report-list.js +14 -0
- package/dist-server/graphql/types/reports/product-label-report-list.js.map +1 -0
- package/dist-server/graphql/types/reports/product-label-report.js +16 -0
- package/dist-server/graphql/types/reports/product-label-report.js.map +1 -0
- package/dist-server/graphql/types/shipping-provider/index.js +10 -0
- package/dist-server/graphql/types/shipping-provider/index.js.map +1 -0
- package/dist-server/graphql/types/shipping-provider/shipping-provider-list.js +13 -0
- package/dist-server/graphql/types/shipping-provider/shipping-provider-list.js.map +1 -0
- package/dist-server/graphql/types/shipping-provider/shipping-provider.js +13 -0
- package/dist-server/graphql/types/shipping-provider/shipping-provider.js.map +1 -0
- package/package.json +65 -65
- package/server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.ts +4 -2
- package/server/graphql/resolvers/custom/elccl/elccl-inventory-history-summary-report.ts +75 -65
- package/server/graphql/resolvers/extra/add-release-good-products.ts +57 -15
- package/server/graphql/resolvers/index.ts +5 -1
- package/server/graphql/resolvers/inventory-comparison/index.ts +5 -0
- package/server/graphql/resolvers/inventory-comparison/inventory-comparison-list.ts +99 -0
- package/server/graphql/resolvers/reports/index.ts +3 -1
- package/server/graphql/resolvers/reports/product-label-report.ts +56 -0
- package/server/graphql/resolvers/shipping-provider/index.ts +5 -0
- package/server/graphql/resolvers/shipping-provider/shipping-providers.ts +20 -0
- package/server/graphql/types/custom/elccl/elccl-inventory-report.ts +1 -1
- package/server/graphql/types/index.ts +8 -2
- package/server/graphql/types/inventory-comparison/index.ts +11 -0
- package/server/graphql/types/inventory-comparison/inventory-comparison-list.ts +8 -0
- package/server/graphql/types/inventory-comparison/inventory-comparison.ts +12 -0
- package/server/graphql/types/reports/index.ts +6 -1
- package/server/graphql/types/reports/product-label-report-list.ts +8 -0
- package/server/graphql/types/reports/product-label-report.ts +10 -0
- package/server/graphql/types/shipping-provider/index.ts +8 -0
- package/server/graphql/types/shipping-provider/shipping-provider-list.ts +7 -0
- package/server/graphql/types/shipping-provider/shipping-provider.ts +7 -0
- package/things-factory.config.js +30 -0
- package/translations/en.json +91 -11
- package/translations/ko.json +109 -11
- package/translations/ms.json +111 -12
- package/translations/zh.json +123 -26
|
@@ -72,9 +72,6 @@ class ExecuteReverseKitting extends connect(store)(localize(i18next)(PageView))
|
|
|
72
72
|
? html`<form class="multi-column-form" id="info-form">
|
|
73
73
|
<fieldset>
|
|
74
74
|
<legend>${`${i18next.t('title.order_no')}: ${this._orderNo}`}</legend>
|
|
75
|
-
|
|
76
|
-
<!-- <label>${i18next.t('label.company')}</label>
|
|
77
|
-
<input name="bizplaceName" readonly /> -->
|
|
78
75
|
</fieldset>
|
|
79
76
|
</form>
|
|
80
77
|
|
|
@@ -109,8 +106,11 @@ class ExecuteReverseKitting extends connect(store)(localize(i18next)(PageView))
|
|
|
109
106
|
|
|
110
107
|
get completable() {
|
|
111
108
|
let completable = false
|
|
112
|
-
|
|
113
|
-
|
|
109
|
+
const orderDataWithIssues = this.orderData.records.filter(orderReverseKitting => !orderReverseKitting.completed)
|
|
110
|
+
if (!orderDataWithIssues?.length) {
|
|
111
|
+
completable = this.orderData.records.every(record => record.completed)
|
|
112
|
+
} else {
|
|
113
|
+
completable = orderDataWithIssues.every(record => record.issue)
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
return completable
|
|
@@ -131,7 +131,7 @@ class ExecuteReverseKitting extends connect(store)(localize(i18next)(PageView))
|
|
|
131
131
|
pageInitialized() {
|
|
132
132
|
this.orderGristConfig = {
|
|
133
133
|
pagination: { infinite: true },
|
|
134
|
-
list: { fields: ['completed', 'batchId', 'palletId', 'product', 'qty'] },
|
|
134
|
+
list: { fields: ['completed', 'batchId', 'palletId', 'product', 'qty', 'issue'] },
|
|
135
135
|
rows: {
|
|
136
136
|
appendable: false,
|
|
137
137
|
handlers: {
|
|
@@ -179,6 +179,13 @@ class ExecuteReverseKitting extends connect(store)(localize(i18next)(PageView))
|
|
|
179
179
|
header: i18next.t('field.uom_value'),
|
|
180
180
|
label: true,
|
|
181
181
|
width: 60
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
type: 'string',
|
|
185
|
+
name: 'issue',
|
|
186
|
+
header: i18next.t('field.issue'),
|
|
187
|
+
label: true,
|
|
188
|
+
width: 200
|
|
182
189
|
}
|
|
183
190
|
]
|
|
184
191
|
}
|
|
@@ -236,6 +243,7 @@ class ExecuteReverseKitting extends connect(store)(localize(i18next)(PageView))
|
|
|
236
243
|
otherTarget
|
|
237
244
|
operationGuide
|
|
238
245
|
status
|
|
246
|
+
issue
|
|
239
247
|
description
|
|
240
248
|
remark
|
|
241
249
|
}
|
|
@@ -336,7 +344,6 @@ class ExecuteReverseKitting extends connect(store)(localize(i18next)(PageView))
|
|
|
336
344
|
|
|
337
345
|
_clearView() {
|
|
338
346
|
this.orderData = { records: [] }
|
|
339
|
-
this.inputForm.reset()
|
|
340
347
|
this._selectedParentInventory = null
|
|
341
348
|
this.updateContext()
|
|
342
349
|
}
|
|
@@ -346,11 +353,24 @@ class ExecuteReverseKitting extends connect(store)(localize(i18next)(PageView))
|
|
|
346
353
|
}
|
|
347
354
|
|
|
348
355
|
_openPopupCombinationSets(record) {
|
|
349
|
-
openPopup(
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
356
|
+
openPopup(
|
|
357
|
+
html`
|
|
358
|
+
<popup-combination-sets
|
|
359
|
+
.orderNo="${this._orderNo}"
|
|
360
|
+
.data="${record}"
|
|
361
|
+
@order-reverse-kitting-data="${e => {
|
|
362
|
+
this.fetchReverseKittingOrder(this._orderNo)
|
|
363
|
+
}}"
|
|
364
|
+
></popup-combination-sets>
|
|
365
|
+
`,
|
|
366
|
+
{
|
|
367
|
+
backdrop: true,
|
|
368
|
+
escapable: false,
|
|
369
|
+
closable: false,
|
|
370
|
+
size: 'large',
|
|
371
|
+
title: record.palletId
|
|
372
|
+
}
|
|
373
|
+
)
|
|
354
374
|
}
|
|
355
375
|
|
|
356
376
|
_showToast({ type, message }) {
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import '../../vas/reverse-kitting/popup-reverse-kitting-template'
|
|
2
|
+
import '../../components/popup-note'
|
|
2
3
|
|
|
4
|
+
import gql from 'graphql-tag'
|
|
3
5
|
import { css, html, LitElement } from 'lit-element'
|
|
4
6
|
|
|
5
7
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
6
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
7
9
|
import { openPopup } from '@things-factory/layout-base'
|
|
10
|
+
import { client } from '@things-factory/shell'
|
|
8
11
|
import { isMobileDevice } from '@things-factory/utils'
|
|
9
12
|
|
|
10
13
|
class PopupCombinationSets extends localize(i18next)(LitElement) {
|
|
@@ -53,12 +56,15 @@ class PopupCombinationSets extends localize(i18next)(LitElement) {
|
|
|
53
56
|
font-size: var(--grist-title-icon-size);
|
|
54
57
|
color: var(--grist-title-icon-color);
|
|
55
58
|
}
|
|
59
|
+
.grist {
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
flex: 1;
|
|
63
|
+
overflow-y: auto;
|
|
64
|
+
}
|
|
56
65
|
.button-container {
|
|
57
|
-
padding:
|
|
58
|
-
|
|
59
|
-
text-align: var(--button-container-align);
|
|
60
|
-
background-color: var(--button-container-background);
|
|
61
|
-
height: var(--button-container-height);
|
|
66
|
+
padding: 10px 0 12px 0;
|
|
67
|
+
text-align: center;
|
|
62
68
|
}
|
|
63
69
|
`
|
|
64
70
|
]
|
|
@@ -129,11 +135,23 @@ class PopupCombinationSets extends localize(i18next)(LitElement) {
|
|
|
129
135
|
></data-grist>
|
|
130
136
|
</div>`
|
|
131
137
|
: ''}
|
|
138
|
+
${this.data
|
|
139
|
+
? html`<div class="button-container">
|
|
140
|
+
<mwc-button
|
|
141
|
+
raised
|
|
142
|
+
@click=${this._openIssueNote.bind(this)}
|
|
143
|
+
label="${i18next.t('button.issue')}"
|
|
144
|
+
></mwc-button>
|
|
145
|
+
<mwc-button raised @click=${this._closePopup.bind(this)} label="${i18next.t('button.back')}"></mwc-button>
|
|
146
|
+
</div>`
|
|
147
|
+
: html`<div class="button-container">
|
|
148
|
+
<mwc-button raised @click=${this._closePopup.bind(this)} label="${i18next.t('button.back')}"></mwc-button>
|
|
149
|
+
</div>`}
|
|
132
150
|
`
|
|
133
151
|
}
|
|
134
152
|
|
|
135
153
|
async fetchReverseKittingOrder() {
|
|
136
|
-
if (!this.
|
|
154
|
+
if (!this.orderNo) return
|
|
137
155
|
const response = await client.query({
|
|
138
156
|
query: gql`
|
|
139
157
|
query executingReverseKittingOrder($name: String!) {
|
|
@@ -190,15 +208,30 @@ class PopupCombinationSets extends localize(i18next)(LitElement) {
|
|
|
190
208
|
}
|
|
191
209
|
}
|
|
192
210
|
`,
|
|
193
|
-
variables: { name: this.
|
|
211
|
+
variables: { name: this.orderNo }
|
|
194
212
|
})
|
|
195
213
|
|
|
196
214
|
if (!response.errors) {
|
|
197
215
|
const reverseKittingOrder = response.data.executingReverseKittingOrder
|
|
198
216
|
const orderReverseKittings = reverseKittingOrder.orderReverseKittings
|
|
199
217
|
|
|
200
|
-
this.data = {
|
|
201
|
-
|
|
218
|
+
// this.data = {
|
|
219
|
+
// records: orderReverseKittings.map(orderReverseKitting => {
|
|
220
|
+
// const inventory = orderReverseKitting.inventory
|
|
221
|
+
// return {
|
|
222
|
+
// ...orderReverseKitting,
|
|
223
|
+
// batchId: inventory.batchId,
|
|
224
|
+
// palletId: inventory.palletId,
|
|
225
|
+
// location: inventory.location,
|
|
226
|
+
// product: inventory.product
|
|
227
|
+
// }
|
|
228
|
+
// })
|
|
229
|
+
// }
|
|
230
|
+
|
|
231
|
+
const previousOrderReverseKittingName = this.data.name
|
|
232
|
+
const matchedOrderReverseKitting = orderReverseKittings
|
|
233
|
+
.filter(item => item.name === previousOrderReverseKittingName)
|
|
234
|
+
.map(orderReverseKitting => {
|
|
202
235
|
const inventory = orderReverseKitting.inventory
|
|
203
236
|
return {
|
|
204
237
|
...orderReverseKitting,
|
|
@@ -208,12 +241,38 @@ class PopupCombinationSets extends localize(i18next)(LitElement) {
|
|
|
208
241
|
product: inventory.product
|
|
209
242
|
}
|
|
210
243
|
})
|
|
211
|
-
|
|
244
|
+
|
|
245
|
+
this.data = { ...matchedOrderReverseKitting[0] }
|
|
212
246
|
|
|
213
247
|
this.getProductCombination()
|
|
214
248
|
}
|
|
215
249
|
}
|
|
216
250
|
|
|
251
|
+
async updateReverseKittingIssue(orderReverseKitting, issue) {
|
|
252
|
+
try {
|
|
253
|
+
if (!issue) return
|
|
254
|
+
const response = await client.mutate({
|
|
255
|
+
mutation: gql`
|
|
256
|
+
mutation updateOrderReverseKitting($id: String!, $patch: OrderReverseKittingPatch!) {
|
|
257
|
+
updateOrderReverseKitting(id: $id, patch: $patch) {
|
|
258
|
+
id
|
|
259
|
+
name
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
`,
|
|
263
|
+
variables: { id: orderReverseKitting.id, patch: { issue } }
|
|
264
|
+
})
|
|
265
|
+
|
|
266
|
+
if (!response.errors) {
|
|
267
|
+
this._showToast({ message: i18next.t('text.issue_updated') })
|
|
268
|
+
this.dispatchEvent(new CustomEvent('order-reverse-kitting-data', { detail: this.data }))
|
|
269
|
+
history.back()
|
|
270
|
+
}
|
|
271
|
+
} catch (e) {
|
|
272
|
+
this._showToast(e)
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
217
276
|
getProductCombination() {
|
|
218
277
|
let operationGuide = JSON.parse(this.data.operationGuide)
|
|
219
278
|
this.productCombinationSets = {
|
|
@@ -229,6 +288,25 @@ class PopupCombinationSets extends localize(i18next)(LitElement) {
|
|
|
229
288
|
}
|
|
230
289
|
}
|
|
231
290
|
|
|
291
|
+
_openIssueNote() {
|
|
292
|
+
openPopup(
|
|
293
|
+
html`
|
|
294
|
+
<popup-note
|
|
295
|
+
.title="${i18next.t('title.issue')}"
|
|
296
|
+
.value="${this.data.issue}"
|
|
297
|
+
@submit="${async e => {
|
|
298
|
+
await this.updateReverseKittingIssue(this.data, e.detail.value)
|
|
299
|
+
}}"
|
|
300
|
+
></popup-note>
|
|
301
|
+
`,
|
|
302
|
+
{
|
|
303
|
+
backdrop: true,
|
|
304
|
+
size: 'medium',
|
|
305
|
+
title: i18next.t('title.issue')
|
|
306
|
+
}
|
|
307
|
+
)
|
|
308
|
+
}
|
|
309
|
+
|
|
232
310
|
_openPopupReverseKittingTemplate(record) {
|
|
233
311
|
openPopup(
|
|
234
312
|
html`
|
|
@@ -242,11 +320,29 @@ class PopupCombinationSets extends localize(i18next)(LitElement) {
|
|
|
242
320
|
`,
|
|
243
321
|
{
|
|
244
322
|
backdrop: true,
|
|
323
|
+
escapable: false,
|
|
324
|
+
closable: false,
|
|
245
325
|
size: 'large',
|
|
246
326
|
title: i18next.t('title.reverse_kitting')
|
|
247
327
|
}
|
|
248
328
|
)
|
|
249
329
|
}
|
|
330
|
+
|
|
331
|
+
_closePopup() {
|
|
332
|
+
this.dispatchEvent(new CustomEvent('order-reverse-kitting-data', { detail: {} }))
|
|
333
|
+
history.back()
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
_showToast({ type, message }) {
|
|
337
|
+
document.dispatchEvent(
|
|
338
|
+
new CustomEvent('notify', {
|
|
339
|
+
detail: {
|
|
340
|
+
type,
|
|
341
|
+
message
|
|
342
|
+
}
|
|
343
|
+
})
|
|
344
|
+
)
|
|
345
|
+
}
|
|
250
346
|
}
|
|
251
347
|
|
|
252
348
|
window.customElements.define('popup-combination-sets', PopupCombinationSets)
|
|
@@ -7,7 +7,7 @@ import { css, html, LitElement } from 'lit-element'
|
|
|
7
7
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
9
|
import { openPopup } from '@things-factory/layout-base'
|
|
10
|
-
import { client } from '@things-factory/shell'
|
|
10
|
+
import { client, CustomAlert } from '@things-factory/shell'
|
|
11
11
|
import { isMobileDevice } from '@things-factory/utils'
|
|
12
12
|
|
|
13
13
|
class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
@@ -20,8 +20,11 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
20
20
|
actualQty: Number,
|
|
21
21
|
incompleteLocationName: Boolean,
|
|
22
22
|
locations: Array,
|
|
23
|
+
_selectedInventory: Object,
|
|
23
24
|
reverseKittingInventoriesConfig: Object,
|
|
24
|
-
_reverseKittingInventories: Array
|
|
25
|
+
_reverseKittingInventories: Array,
|
|
26
|
+
_palletId: String,
|
|
27
|
+
_locationCode: String
|
|
25
28
|
}
|
|
26
29
|
}
|
|
27
30
|
|
|
@@ -62,11 +65,8 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
62
65
|
color: var(--grist-title-icon-color);
|
|
63
66
|
}
|
|
64
67
|
.button-container {
|
|
65
|
-
padding:
|
|
66
|
-
|
|
67
|
-
text-align: var(--button-container-align);
|
|
68
|
-
background-color: var(--button-container-background);
|
|
69
|
-
height: var(--button-container-height);
|
|
68
|
+
padding: 10px 0 12px 0;
|
|
69
|
+
text-align: center;
|
|
70
70
|
}
|
|
71
71
|
`
|
|
72
72
|
]
|
|
@@ -99,13 +99,23 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
99
99
|
<legend>${this.productSku} [ ${this.actualQty} / ${this.qty} ]</legend>
|
|
100
100
|
|
|
101
101
|
<label>${i18next.t('label.lot_id')}</label>
|
|
102
|
-
<barcode-scanable-input
|
|
102
|
+
<barcode-scanable-input
|
|
103
|
+
name="palletId"
|
|
104
|
+
value="${this._palletId}"
|
|
105
|
+
without-enter
|
|
106
|
+
custom-input
|
|
107
|
+
></barcode-scanable-input>
|
|
103
108
|
|
|
104
109
|
<label>${i18next.t('label.qty')}</label>
|
|
105
|
-
<input name="qty" type="number" min="1" />
|
|
110
|
+
<input name="qty" type="number" value="" min="1" />
|
|
106
111
|
|
|
107
112
|
<label>${i18next.t('label.location')}</label>
|
|
108
|
-
<barcode-scanable-input
|
|
113
|
+
<barcode-scanable-input
|
|
114
|
+
name="locationCode"
|
|
115
|
+
value="${this._locationCode}"
|
|
116
|
+
without-enter
|
|
117
|
+
custom-input
|
|
118
|
+
></barcode-scanable-input>
|
|
109
119
|
</fieldset>
|
|
110
120
|
</form>
|
|
111
121
|
|
|
@@ -118,12 +128,32 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
118
128
|
.config=${this.reverseKittingInventoriesConfig}
|
|
119
129
|
.data=${this._reverseKittingInventories}
|
|
120
130
|
></data-grist>
|
|
121
|
-
</div
|
|
122
|
-
|
|
131
|
+
</div>
|
|
132
|
+
<div class="button-container">
|
|
133
|
+
<mwc-button
|
|
134
|
+
raised
|
|
135
|
+
@click=${this._confirmInventory.bind(this)}
|
|
136
|
+
label="${i18next.t('button.confirm')}"
|
|
137
|
+
></mwc-button>
|
|
138
|
+
<mwc-button
|
|
139
|
+
raised
|
|
140
|
+
@click=${this._undoInventory.bind(this)}
|
|
141
|
+
label="${i18next.t('button.undo')}"
|
|
142
|
+
></mwc-button>
|
|
143
|
+
</div> `
|
|
144
|
+
: html`<div class="button-container">
|
|
145
|
+
<mwc-button
|
|
146
|
+
raised
|
|
147
|
+
@click=${this._confirmInventory.bind(this)}
|
|
148
|
+
label="${i18next.t('button.confirm')}"
|
|
149
|
+
></mwc-button>
|
|
150
|
+
</div> `}
|
|
123
151
|
`
|
|
124
152
|
}
|
|
125
153
|
|
|
126
154
|
async firstUpdated() {
|
|
155
|
+
this._palletId = ''
|
|
156
|
+
this._locationCode = ''
|
|
127
157
|
this.productSku = this.data.productSku
|
|
128
158
|
this.qty = this.data.qty
|
|
129
159
|
this.actualQty = this.data.actualQty
|
|
@@ -133,7 +163,10 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
133
163
|
appendable: false,
|
|
134
164
|
handlers: {
|
|
135
165
|
click: (columns, data, column, record, rowIndex) => {
|
|
136
|
-
|
|
166
|
+
this._selectedInventory = record
|
|
167
|
+
this._palletId = record.palletId
|
|
168
|
+
this._locationCode = record.locationCode
|
|
169
|
+
this._fillUpForm(this.inputForm, record)
|
|
137
170
|
}
|
|
138
171
|
}
|
|
139
172
|
},
|
|
@@ -202,8 +235,11 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
202
235
|
async _fetchInventories() {
|
|
203
236
|
const response = await client.query({
|
|
204
237
|
query: gql`
|
|
205
|
-
query reverseKittingInventories($orderReverseKittingName: String
|
|
206
|
-
reverseKittingInventories(
|
|
238
|
+
query reverseKittingInventories($orderReverseKittingName: String!, $productDetailId: String) {
|
|
239
|
+
reverseKittingInventories(
|
|
240
|
+
orderReverseKittingName: $orderReverseKittingName
|
|
241
|
+
productDetailId: $productDetailId
|
|
242
|
+
) {
|
|
207
243
|
batchId
|
|
208
244
|
packingType
|
|
209
245
|
bizplace {
|
|
@@ -218,6 +254,11 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
218
254
|
qty
|
|
219
255
|
expirationDate
|
|
220
256
|
status
|
|
257
|
+
location {
|
|
258
|
+
id
|
|
259
|
+
name
|
|
260
|
+
description
|
|
261
|
+
}
|
|
221
262
|
product {
|
|
222
263
|
id
|
|
223
264
|
name
|
|
@@ -227,7 +268,7 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
227
268
|
}
|
|
228
269
|
}
|
|
229
270
|
`,
|
|
230
|
-
variables: { orderReverseKittingName: this.orderReverseKittingName }
|
|
271
|
+
variables: { orderReverseKittingName: this.orderReverseKittingName, productDetailId: this.data.productDetailId }
|
|
231
272
|
})
|
|
232
273
|
|
|
233
274
|
if (!response.errors) {
|
|
@@ -237,15 +278,24 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
237
278
|
return {
|
|
238
279
|
...reverseKittingInventory,
|
|
239
280
|
sku: reverseKittingInventory.product.sku,
|
|
240
|
-
packingTypeSize: `${reverseKittingInventory.packingType}(${reverseKittingInventory.packingSize})
|
|
281
|
+
packingTypeSize: `${reverseKittingInventory.packingType}(${reverseKittingInventory.packingSize})`,
|
|
282
|
+
locationCode: reverseKittingInventory.location.name
|
|
241
283
|
}
|
|
242
284
|
}) || []
|
|
243
285
|
}
|
|
286
|
+
|
|
287
|
+
let totalActualQty = 0
|
|
288
|
+
response.data.reverseKittingInventories.forEach(inventory => {
|
|
289
|
+
totalActualQty += inventory.qty
|
|
290
|
+
})
|
|
291
|
+
|
|
292
|
+
this.actualQty = totalActualQty
|
|
244
293
|
}
|
|
245
294
|
}
|
|
246
295
|
|
|
247
296
|
async _executeReverseKitting(e) {
|
|
248
297
|
if (e.keyCode === 13) {
|
|
298
|
+
e.preventDefault()
|
|
249
299
|
try {
|
|
250
300
|
await this._validateReverseKitting()
|
|
251
301
|
if (!this.incompleteLocationName) {
|
|
@@ -266,8 +316,8 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
266
316
|
}
|
|
267
317
|
})
|
|
268
318
|
if (!response.errors) {
|
|
269
|
-
this.
|
|
270
|
-
|
|
319
|
+
this._clearView()
|
|
320
|
+
await this._fetchInventories()
|
|
271
321
|
}
|
|
272
322
|
} else {
|
|
273
323
|
this._openSelectLocationPopup()
|
|
@@ -278,6 +328,46 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
278
328
|
}
|
|
279
329
|
}
|
|
280
330
|
|
|
331
|
+
async _undoInventory() {
|
|
332
|
+
try {
|
|
333
|
+
this._validateSelectedInventory()
|
|
334
|
+
const result = await CustomAlert({
|
|
335
|
+
title: i18next.t('title.are_you_sure'),
|
|
336
|
+
text: i18next.t('text.undo_x', { state: { x: this._palletId } }),
|
|
337
|
+
confirmButton: { text: i18next.t('button.confirm') },
|
|
338
|
+
cancelButton: { text: i18next.t('button.cancel') }
|
|
339
|
+
})
|
|
340
|
+
|
|
341
|
+
if (!result.value) {
|
|
342
|
+
return
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
let response = await client.mutate({
|
|
346
|
+
mutation: gql`
|
|
347
|
+
mutation undoReverseKittingInventory($orderReverseKittingName: String!, $palletId: String!) {
|
|
348
|
+
undoReverseKittingInventory(orderReverseKittingName: $orderReverseKittingName, palletId: $palletId)
|
|
349
|
+
}
|
|
350
|
+
`,
|
|
351
|
+
variables: {
|
|
352
|
+
orderReverseKittingName: this.orderReverseKittingName,
|
|
353
|
+
palletId: this._palletId.trim()
|
|
354
|
+
}
|
|
355
|
+
})
|
|
356
|
+
|
|
357
|
+
if (!response.errors) {
|
|
358
|
+
this._clearView()
|
|
359
|
+
await this._fetchInventories()
|
|
360
|
+
}
|
|
361
|
+
} catch (e) {
|
|
362
|
+
this._showToast(e)
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
_confirmInventory() {
|
|
367
|
+
this.dispatchEvent(new CustomEvent('updated', { detail: {} }))
|
|
368
|
+
history.back()
|
|
369
|
+
}
|
|
370
|
+
|
|
281
371
|
_fillUpForm(form, data) {
|
|
282
372
|
for (let key in data) {
|
|
283
373
|
Array.from(form.querySelectorAll('input')).forEach(field => {
|
|
@@ -299,12 +389,25 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
299
389
|
}
|
|
300
390
|
}
|
|
301
391
|
|
|
392
|
+
_clearView() {
|
|
393
|
+
this.inputForm.reset()
|
|
394
|
+
this._palletId = ''
|
|
395
|
+
this._locationCode = ''
|
|
396
|
+
}
|
|
397
|
+
|
|
302
398
|
async _validateReverseKitting() {
|
|
303
399
|
if (!this.palletInput.value) {
|
|
304
400
|
this._focusOnPalletInput()
|
|
305
401
|
throw new Error(i18next.t('text.lot_id_is_empty'))
|
|
306
402
|
}
|
|
307
403
|
|
|
404
|
+
if (!this.qtyInput.value) {
|
|
405
|
+
this._focusOnQtyInput()
|
|
406
|
+
throw new Error(i18next.t('text.qty_is_empty'))
|
|
407
|
+
} else {
|
|
408
|
+
if (!this.qtyInput.checkValidity()) throw new Error(i18next.t('text.qty_invalid'))
|
|
409
|
+
}
|
|
410
|
+
|
|
308
411
|
// 4. location code existing
|
|
309
412
|
if (!this.locationInput.value) {
|
|
310
413
|
this._focusOnLocationInput()
|
|
@@ -327,6 +430,10 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
327
430
|
}
|
|
328
431
|
}
|
|
329
432
|
|
|
433
|
+
_validateSelectedInventory() {
|
|
434
|
+
if (!this._selectedInventory) throw new Error(i18next.t('text.target_does_not_selected'))
|
|
435
|
+
}
|
|
436
|
+
|
|
330
437
|
async _fetchLocations(zone, row, column) {
|
|
331
438
|
const filters = [
|
|
332
439
|
{
|
|
@@ -420,6 +527,10 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
|
|
|
420
527
|
setTimeout(() => this.palletInput.focus(), 100)
|
|
421
528
|
}
|
|
422
529
|
|
|
530
|
+
_focusOnQtyInput() {
|
|
531
|
+
setTimeout(() => this.qtyInput.focus(), 100)
|
|
532
|
+
}
|
|
533
|
+
|
|
423
534
|
_focusOnLocationInput() {
|
|
424
535
|
setTimeout(() => this.locationInput.focus(), 100)
|
|
425
536
|
}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import '@things-factory/grist-ui'
|
|
2
|
-
|
|
3
|
-
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html, LitElement } from 'lit-element'
|
|
5
|
-
import { connect } from 'pwa-helpers/connect-mixin'
|
|
6
|
-
|
|
7
1
|
import { DirectPrinter } from '@things-factory/barcode-base'
|
|
2
|
+
import '@things-factory/grist-ui'
|
|
8
3
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
4
|
import { client, store } from '@things-factory/shell'
|
|
10
5
|
import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
|
|
11
|
-
|
|
6
|
+
import gql from 'graphql-tag'
|
|
7
|
+
import { css, html, LitElement } from 'lit-element'
|
|
8
|
+
import { connect } from 'pwa-helpers/connect-mixin'
|
|
12
9
|
import { PALLET_LABEL_SETTING_KEY } from '../constants'
|
|
13
10
|
|
|
14
11
|
class VasPalletLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
|
|
@@ -262,7 +259,7 @@ class VasPalletLabelPopup extends connect(store)(localize(i18next)(LitElement))
|
|
|
262
259
|
]
|
|
263
260
|
const response = await client.query({
|
|
264
261
|
query: gql`
|
|
265
|
-
query products($filters: [Filter
|
|
262
|
+
query products($filters: [Filter]) {
|
|
266
263
|
products(filters: $filters) {
|
|
267
264
|
items {
|
|
268
265
|
sku
|
package/client/route.js
CHANGED
|
@@ -212,6 +212,18 @@ export default function route(page) {
|
|
|
212
212
|
import('./pages/order/release-order/bulk-print-packing-list')
|
|
213
213
|
return page
|
|
214
214
|
|
|
215
|
+
case 'create_loading_manifest':
|
|
216
|
+
import('./pages/manifest/create-loading-manifest')
|
|
217
|
+
return page
|
|
218
|
+
|
|
219
|
+
case 'loading_manifest_list':
|
|
220
|
+
import('./pages/manifest/loading-manifest-list')
|
|
221
|
+
return page
|
|
222
|
+
|
|
223
|
+
case 'loading_manifest_detail':
|
|
224
|
+
import('./pages/manifest/loading-manifest-detail')
|
|
225
|
+
return page
|
|
226
|
+
|
|
215
227
|
/**
|
|
216
228
|
* GRN Menus Section
|
|
217
229
|
*/
|
|
@@ -452,6 +464,10 @@ export default function route(page) {
|
|
|
452
464
|
import('./pages/report/outbound-order-details-report')
|
|
453
465
|
return page
|
|
454
466
|
|
|
467
|
+
case 'product_label_report':
|
|
468
|
+
import('./pages/report/product-label-report')
|
|
469
|
+
return page
|
|
470
|
+
|
|
455
471
|
/**
|
|
456
472
|
* Custom ELCCL Menus Section
|
|
457
473
|
*/
|
|
@@ -479,6 +495,13 @@ export default function route(page) {
|
|
|
479
495
|
import('./pages/report/custom-elccl/elccl-delivery-order-summary')
|
|
480
496
|
return page
|
|
481
497
|
|
|
498
|
+
/**
|
|
499
|
+
* Support
|
|
500
|
+
*/
|
|
501
|
+
case 'inventory_comparison':
|
|
502
|
+
import('./pages/support/inventory-comparison')
|
|
503
|
+
return page
|
|
504
|
+
|
|
482
505
|
/** Custom VAS */
|
|
483
506
|
case 'reverse_kitting_orders':
|
|
484
507
|
import('./pages/order/reverse-kitting-order/reverse-kitting-order-list')
|
|
@@ -491,5 +514,10 @@ export default function route(page) {
|
|
|
491
514
|
case 'execute_reverse_kitting':
|
|
492
515
|
import('./pages/vas/reverse-kitting/execute-reverse-kitting')
|
|
493
516
|
return page
|
|
517
|
+
|
|
518
|
+
/* Bulk Operations */
|
|
519
|
+
case 'bulk_operation':
|
|
520
|
+
import('./pages/bulk-operation/bulk-operation')
|
|
521
|
+
return page
|
|
494
522
|
}
|
|
495
523
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elccl-inventory-history-report.js","sourceRoot":"","sources":["../../../../../server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"elccl-inventory-history-report.js","sourceRoot":"","sources":["../../../../../server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.ts"],"names":[],"mappings":"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"}
|