@things-factory/operato-wms 4.3.77 → 4.3.79-alpha.1
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/components/select-inventory-popup.js +7 -1
- package/client/pages/components/select-product-popup.js +10 -2
- package/client/pages/inventory/inventory-adjustment.js +259 -238
- package/client/pages/inventory/serial-number-list-popup.js +24 -7
- package/client/pages/inventory-check/create-cycle-count.js +2 -3
- package/client/pages/order/draft-release-good/draft-release-good-detail.js +7 -1
- package/client/pages/order/release-order/create-release-order.js +23 -0
- package/client/pages/order/release-order/release-extra-product-popup.js +4 -1
- package/client/pages/order/release-order/release-order-detail.js +7 -3
- package/client/pages/outbound/generate-worksheet-popup.js +21 -7
- package/client/pages/outbound/inventory-reassign-popup.js +6 -0
- package/client/pages/outbound/packing-product.js +94 -30
- package/client/pages/outbound/picking-product.js +11 -1
- package/client/util/index.js +1 -0
- package/client/util/page-settings.js +43 -0
- package/dist-server/graphql/resolvers/index.js +5 -4
- package/dist-server/graphql/resolvers/index.js.map +1 -1
- package/dist-server/graphql/resolvers/{extra → other}/add-release-good-products.js +7 -11
- package/dist-server/graphql/resolvers/other/add-release-good-products.js.map +1 -0
- package/dist-server/graphql/resolvers/{extra → other}/index.js +3 -1
- package/dist-server/graphql/resolvers/other/index.js.map +1 -0
- package/dist-server/graphql/resolvers/other/page-settings.js +87 -0
- package/dist-server/graphql/resolvers/other/page-settings.js.map +1 -0
- package/dist-server/graphql/types/index.js +7 -2
- package/dist-server/graphql/types/index.js.map +1 -1
- package/dist-server/graphql/types/other/index.js +19 -0
- package/dist-server/graphql/types/other/index.js.map +1 -0
- package/dist-server/graphql/types/other/page-setting.js +36 -0
- package/dist-server/graphql/types/other/page-setting.js.map +1 -0
- package/helps/release-note.ko.md +6 -19
- package/helps/release-note.md +6 -19
- package/helps/release-note.ms.md +6 -19
- package/helps/release-note.zh.md +6 -19
- package/package.json +50 -50
- package/server/graphql/resolvers/index.ts +5 -4
- package/server/graphql/resolvers/{extra → other}/add-release-good-products.ts +8 -12
- package/server/graphql/resolvers/other/index.ts +10 -0
- package/server/graphql/resolvers/other/page-settings.ts +105 -0
- package/server/graphql/types/index.ts +8 -2
- package/server/graphql/types/other/index.ts +19 -0
- package/server/graphql/types/other/page-setting.ts +33 -0
- package/translations/en.json +11 -3
- package/translations/ko.json +9 -1
- package/translations/ms.json +9 -1
- package/translations/zh.json +9 -1
- package/dist-server/graphql/resolvers/extra/add-release-good-products.js.map +0 -1
- package/dist-server/graphql/resolvers/extra/index.js.map +0 -1
- package/dist-server/graphql/types/extra/index.js +0 -11
- package/dist-server/graphql/types/extra/index.js.map +0 -1
- package/server/graphql/resolvers/extra/index.ts +0 -5
- package/server/graphql/types/extra/index.ts +0 -7
|
@@ -446,6 +446,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
446
446
|
items {
|
|
447
447
|
id
|
|
448
448
|
productId
|
|
449
|
+
productDetailId
|
|
449
450
|
batchId
|
|
450
451
|
batchIdRef
|
|
451
452
|
groupType
|
|
@@ -493,6 +494,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
493
494
|
palletId
|
|
494
495
|
cartonId
|
|
495
496
|
productId
|
|
497
|
+
productDetailId
|
|
496
498
|
productSKU
|
|
497
499
|
productName
|
|
498
500
|
productBrand
|
|
@@ -540,7 +542,6 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
540
542
|
this.dispatchEvent(
|
|
541
543
|
new CustomEvent('selected', {
|
|
542
544
|
detail: {
|
|
543
|
-
productDetailId: selectedProduct.id,
|
|
544
545
|
packingType: selectedProduct.packingType,
|
|
545
546
|
uom: selectedProduct.uom,
|
|
546
547
|
uomValue: selectedProduct.uomValue,
|
|
@@ -555,6 +556,9 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
555
556
|
packingSize: selectedProduct.packingSize,
|
|
556
557
|
primaryUnit: selectedProduct.uom,
|
|
557
558
|
primaryValue: selectedProduct.uomValue
|
|
559
|
+
},
|
|
560
|
+
productDetail: {
|
|
561
|
+
id: selectedProduct.productDetailId
|
|
558
562
|
}
|
|
559
563
|
}
|
|
560
564
|
})
|
|
@@ -582,6 +586,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
582
586
|
remainQty: itm.remainQty,
|
|
583
587
|
remainUomValueWithUom: itm.remainUomValueWithUom,
|
|
584
588
|
productId: itm.productId,
|
|
589
|
+
productId: itm.productDetailId,
|
|
585
590
|
remainUomValue: itm.remainUomValue,
|
|
586
591
|
batchId: itm.batchId,
|
|
587
592
|
batchIdRef: itm.batchIdRef,
|
|
@@ -603,6 +608,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
603
608
|
remainQty: itm.remainQty,
|
|
604
609
|
remainUomValueWithUom: itm.remainUomValueWithUom,
|
|
605
610
|
productId: itm.productId,
|
|
611
|
+
productDetailId: itm.productDetailId,
|
|
606
612
|
remainUomValue: itm.remainUomValue,
|
|
607
613
|
batchId: itm.batchId,
|
|
608
614
|
batchIdRef: itm.batchIdRef,
|
|
@@ -121,7 +121,8 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
121
121
|
pagination: { pages: [10, 20, 50, 100] },
|
|
122
122
|
rows: {
|
|
123
123
|
appendable: false,
|
|
124
|
-
selectable: { multiple: this.selectMultipleProducts ? this.selectMultipleProducts : false }
|
|
124
|
+
selectable: { multiple: this.selectMultipleProducts ? this.selectMultipleProducts : false },
|
|
125
|
+
handlers: { dblclick: this._dblClickHandler.bind(this) }
|
|
125
126
|
},
|
|
126
127
|
columns: [
|
|
127
128
|
{ type: 'gutter', gutterName: 'sequence' },
|
|
@@ -229,6 +230,7 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
229
230
|
response.data.productDetails.items.map(item => {
|
|
230
231
|
return {
|
|
231
232
|
...item,
|
|
233
|
+
productName: item.product.name,
|
|
232
234
|
productId: item.product.id,
|
|
233
235
|
sku: item.product.sku,
|
|
234
236
|
brand: item.product.brand,
|
|
@@ -240,7 +242,13 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
240
242
|
}
|
|
241
243
|
}
|
|
242
244
|
|
|
243
|
-
|
|
245
|
+
_dblClickHandler(columns, data, column, record, rowIndex, target) {
|
|
246
|
+
if (this.selectMultipleProducts) return
|
|
247
|
+
this.dispatchEvent(new CustomEvent('selected', { detail: record }))
|
|
248
|
+
history.back()
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
selectProduct(record) {
|
|
244
252
|
if (this.selectMultipleProducts !== true) {
|
|
245
253
|
const selectedProduct = this.productGrist.selected[0]
|
|
246
254
|
if (selectedProduct) {
|