@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
|
@@ -6,7 +6,7 @@ import '@things-factory/import-ui'
|
|
|
6
6
|
import { openPopup } from '@things-factory/layout-base'
|
|
7
7
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
8
8
|
import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
|
|
9
|
-
import {
|
|
9
|
+
import { isMobileDevice } from '@things-factory/utils'
|
|
10
10
|
import gql from 'graphql-tag'
|
|
11
11
|
import { css, html } from 'lit-element'
|
|
12
12
|
|
|
@@ -232,19 +232,15 @@ class WarehouseList extends localize(i18next)(PageView) {
|
|
|
232
232
|
async fetchHandler({ page, limit, sorters = [] }) {
|
|
233
233
|
const response = await client.query({
|
|
234
234
|
query: gql`
|
|
235
|
-
query {
|
|
236
|
-
warehouses(${
|
|
237
|
-
filters: this.searchForm.queryFilters,
|
|
238
|
-
pagination: { page, limit },
|
|
239
|
-
sortings: sorters
|
|
240
|
-
})}) {
|
|
235
|
+
query warehouses($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
236
|
+
warehouses(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
241
237
|
items {
|
|
242
238
|
id
|
|
243
239
|
name
|
|
244
240
|
type
|
|
245
241
|
description
|
|
246
242
|
updatedAt
|
|
247
|
-
updater{
|
|
243
|
+
updater {
|
|
248
244
|
id
|
|
249
245
|
name
|
|
250
246
|
description
|
|
@@ -253,7 +249,12 @@ class WarehouseList extends localize(i18next)(PageView) {
|
|
|
253
249
|
total
|
|
254
250
|
}
|
|
255
251
|
}
|
|
256
|
-
|
|
252
|
+
`,
|
|
253
|
+
variables: {
|
|
254
|
+
filters: this.searchForm.queryFilters,
|
|
255
|
+
pagination: { page, limit },
|
|
256
|
+
sortings: sorters
|
|
257
|
+
}
|
|
257
258
|
})
|
|
258
259
|
|
|
259
260
|
return {
|
|
@@ -265,14 +266,15 @@ class WarehouseList extends localize(i18next)(PageView) {
|
|
|
265
266
|
async importHandler(patches) {
|
|
266
267
|
const response = await client.query({
|
|
267
268
|
query: gql`
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
})}) {
|
|
272
|
-
name
|
|
273
|
-
}
|
|
269
|
+
mutation updateMultipleWarehouse($patches: [WarehousePatch!]!) {
|
|
270
|
+
updateMultipleWarehouse(patches: $patches) {
|
|
271
|
+
name
|
|
274
272
|
}
|
|
275
|
-
|
|
273
|
+
}
|
|
274
|
+
`,
|
|
275
|
+
variables: {
|
|
276
|
+
patches
|
|
277
|
+
}
|
|
276
278
|
})
|
|
277
279
|
|
|
278
280
|
if (!response.errors) {
|
|
@@ -291,16 +293,17 @@ class WarehouseList extends localize(i18next)(PageView) {
|
|
|
291
293
|
async _saveWarehouse() {
|
|
292
294
|
let patches = this.dataGrist.exportPatchList({ flagName: 'cuFlag' })
|
|
293
295
|
if (patches && patches.length) {
|
|
294
|
-
const response = await client.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
})}) {
|
|
300
|
-
name
|
|
301
|
-
}
|
|
296
|
+
const response = await client.mutate({
|
|
297
|
+
mutation: gql`
|
|
298
|
+
mutation updateMultipleWarehouse($patches: [WarehousePatch!]!) {
|
|
299
|
+
updateMultipleWarehouse(patches: $patches) {
|
|
300
|
+
name
|
|
302
301
|
}
|
|
303
|
-
|
|
302
|
+
}
|
|
303
|
+
`,
|
|
304
|
+
variables: {
|
|
305
|
+
patches
|
|
306
|
+
}
|
|
304
307
|
})
|
|
305
308
|
|
|
306
309
|
if (!response.errors) {
|
|
@@ -329,10 +332,11 @@ class WarehouseList extends localize(i18next)(PageView) {
|
|
|
329
332
|
if (ids && ids.length > 0) {
|
|
330
333
|
const response = await client.query({
|
|
331
334
|
query: gql`
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
335
|
+
mutation deleteWarehouses($ids: [String!]!) {
|
|
336
|
+
deleteWarehouses(ids: $ids)
|
|
337
|
+
}
|
|
338
|
+
`,
|
|
339
|
+
variables: { ids }
|
|
336
340
|
})
|
|
337
341
|
|
|
338
342
|
if (!response.errors) {
|
|
@@ -6,7 +6,7 @@ import '@things-factory/import-ui'
|
|
|
6
6
|
import { openPopup } from '@things-factory/layout-base'
|
|
7
7
|
import { client, CustomAlert, PageView } from '@things-factory/shell'
|
|
8
8
|
import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
|
|
9
|
-
import {
|
|
9
|
+
import { isMobileDevice } from '@things-factory/utils'
|
|
10
10
|
import gql from 'graphql-tag'
|
|
11
11
|
import { css, html } from 'lit-element'
|
|
12
12
|
|
|
@@ -212,19 +212,15 @@ class WorkerList extends localize(i18next)(PageView) {
|
|
|
212
212
|
async fetchHandler({ page, limit, sorters = [] }) {
|
|
213
213
|
const response = await client.query({
|
|
214
214
|
query: gql`
|
|
215
|
-
query {
|
|
216
|
-
workers(${
|
|
217
|
-
filters: this.searchForm.queryFilters,
|
|
218
|
-
pagination: { page, limit },
|
|
219
|
-
sortings: sorters
|
|
220
|
-
})}) {
|
|
215
|
+
query workers($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
216
|
+
workers(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
221
217
|
items {
|
|
222
218
|
id
|
|
223
219
|
name
|
|
224
220
|
description
|
|
225
221
|
type
|
|
226
222
|
updatedAt
|
|
227
|
-
updater{
|
|
223
|
+
updater {
|
|
228
224
|
id
|
|
229
225
|
name
|
|
230
226
|
description
|
|
@@ -233,7 +229,12 @@ class WorkerList extends localize(i18next)(PageView) {
|
|
|
233
229
|
total
|
|
234
230
|
}
|
|
235
231
|
}
|
|
236
|
-
|
|
232
|
+
`,
|
|
233
|
+
variables: {
|
|
234
|
+
filters: this.searchForm.queryFilters,
|
|
235
|
+
pagination: { page, limit },
|
|
236
|
+
sortings: sorters
|
|
237
|
+
}
|
|
237
238
|
})
|
|
238
239
|
|
|
239
240
|
return {
|
|
@@ -245,14 +246,13 @@ class WorkerList extends localize(i18next)(PageView) {
|
|
|
245
246
|
async importHandler(patches) {
|
|
246
247
|
const response = await client.query({
|
|
247
248
|
query: gql`
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
})}) {
|
|
252
|
-
name
|
|
253
|
-
}
|
|
249
|
+
mutation updateMultipleWorker($patches: [WorkerPatch!]!) {
|
|
250
|
+
updateMultipleWorker(patches: $patches) {
|
|
251
|
+
name
|
|
254
252
|
}
|
|
255
|
-
|
|
253
|
+
}
|
|
254
|
+
`,
|
|
255
|
+
variables: { patches }
|
|
256
256
|
})
|
|
257
257
|
|
|
258
258
|
if (!response.errors) {
|
|
@@ -271,16 +271,15 @@ class WorkerList extends localize(i18next)(PageView) {
|
|
|
271
271
|
async _saveWorker() {
|
|
272
272
|
let patches = this.dataGrist.exportPatchList({ flagName: 'cuFlag' })
|
|
273
273
|
if (patches && patches.length) {
|
|
274
|
-
const response = await client.
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
})}) {
|
|
280
|
-
name
|
|
281
|
-
}
|
|
274
|
+
const response = await client.mutate({
|
|
275
|
+
mutation: gql`
|
|
276
|
+
mutation updateMultipleWorker($patches: [WorkerPatch!]!) {
|
|
277
|
+
updateMultipleWorker(patches: $patches) {
|
|
278
|
+
name
|
|
282
279
|
}
|
|
283
|
-
|
|
280
|
+
}
|
|
281
|
+
`,
|
|
282
|
+
variables: { patches }
|
|
284
283
|
})
|
|
285
284
|
|
|
286
285
|
if (!response.errors) {
|
|
@@ -308,12 +307,13 @@ class WorkerList extends localize(i18next)(PageView) {
|
|
|
308
307
|
if (result.value) {
|
|
309
308
|
const ids = this.dataGrist.selected.map(record => record.id)
|
|
310
309
|
if (ids && ids.length > 0) {
|
|
311
|
-
const response = await client.
|
|
312
|
-
|
|
313
|
-
mutation {
|
|
314
|
-
deleteWorkers($
|
|
310
|
+
const response = await client.mutate({
|
|
311
|
+
mutation: gql`
|
|
312
|
+
mutation deleteWorkers($ids: [String!]!) {
|
|
313
|
+
deleteWorkers(ids: $ids)
|
|
315
314
|
}
|
|
316
|
-
|
|
315
|
+
`,
|
|
316
|
+
variables: { ids }
|
|
317
317
|
})
|
|
318
318
|
|
|
319
319
|
if (!response.errors) {
|