@things-factory/operato-wms 4.3.79-alpha.1 → 4.3.79
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 +2 -8
- package/client/pages/components/select-product-popup.js +2 -10
- package/client/pages/inventory-check/create-cycle-count.js +3 -2
- package/client/pages/order/draft-release-good/draft-release-good-detail.js +1 -7
- package/client/pages/order/release-order/create-release-order.js +19 -29
- package/client/pages/order/release-order/release-extra-product-popup.js +1 -4
- package/client/pages/order/release-order/release-order-detail.js +1 -5
- package/client/pages/outbound/inventory-reassign-popup.js +0 -6
- package/client/pages/outbound/picking-product.js +1 -11
- package/dist-server/graphql/resolvers/other/add-release-good-products.js +11 -7
- package/dist-server/graphql/resolvers/other/add-release-good-products.js.map +1 -1
- package/package.json +50 -50
- package/server/graphql/resolvers/other/add-release-good-products.ts +12 -8
- package/translations/en.json +2 -2
- package/translations/ko.json +2 -2
- package/translations/ms.json +2 -2
- package/translations/zh.json +1 -1
|
@@ -422,7 +422,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
if (paneType === 'product') {
|
|
425
|
-
const data = this.inventoryData
|
|
425
|
+
const data = this.inventoryData.filter(res => res.batchId !== null)
|
|
426
426
|
|
|
427
427
|
if (data?.length > 0) {
|
|
428
428
|
const remapData = data.map(res => {
|
|
@@ -446,7 +446,6 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
446
446
|
items {
|
|
447
447
|
id
|
|
448
448
|
productId
|
|
449
|
-
productDetailId
|
|
450
449
|
batchId
|
|
451
450
|
batchIdRef
|
|
452
451
|
groupType
|
|
@@ -494,7 +493,6 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
494
493
|
palletId
|
|
495
494
|
cartonId
|
|
496
495
|
productId
|
|
497
|
-
productDetailId
|
|
498
496
|
productSKU
|
|
499
497
|
productName
|
|
500
498
|
productBrand
|
|
@@ -542,6 +540,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
542
540
|
this.dispatchEvent(
|
|
543
541
|
new CustomEvent('selected', {
|
|
544
542
|
detail: {
|
|
543
|
+
productDetailId: selectedProduct.id,
|
|
545
544
|
packingType: selectedProduct.packingType,
|
|
546
545
|
uom: selectedProduct.uom,
|
|
547
546
|
uomValue: selectedProduct.uomValue,
|
|
@@ -556,9 +555,6 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
556
555
|
packingSize: selectedProduct.packingSize,
|
|
557
556
|
primaryUnit: selectedProduct.uom,
|
|
558
557
|
primaryValue: selectedProduct.uomValue
|
|
559
|
-
},
|
|
560
|
-
productDetail: {
|
|
561
|
-
id: selectedProduct.productDetailId
|
|
562
558
|
}
|
|
563
559
|
}
|
|
564
560
|
})
|
|
@@ -586,7 +582,6 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
586
582
|
remainQty: itm.remainQty,
|
|
587
583
|
remainUomValueWithUom: itm.remainUomValueWithUom,
|
|
588
584
|
productId: itm.productId,
|
|
589
|
-
productId: itm.productDetailId,
|
|
590
585
|
remainUomValue: itm.remainUomValue,
|
|
591
586
|
batchId: itm.batchId,
|
|
592
587
|
batchIdRef: itm.batchIdRef,
|
|
@@ -608,7 +603,6 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
|
|
|
608
603
|
remainQty: itm.remainQty,
|
|
609
604
|
remainUomValueWithUom: itm.remainUomValueWithUom,
|
|
610
605
|
productId: itm.productId,
|
|
611
|
-
productDetailId: itm.productDetailId,
|
|
612
606
|
remainUomValue: itm.remainUomValue,
|
|
613
607
|
batchId: itm.batchId,
|
|
614
608
|
batchIdRef: itm.batchIdRef,
|
|
@@ -121,8 +121,7 @@ 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 }
|
|
125
|
-
handlers: { dblclick: this._dblClickHandler.bind(this) }
|
|
124
|
+
selectable: { multiple: this.selectMultipleProducts ? this.selectMultipleProducts : false }
|
|
126
125
|
},
|
|
127
126
|
columns: [
|
|
128
127
|
{ type: 'gutter', gutterName: 'sequence' },
|
|
@@ -230,7 +229,6 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
230
229
|
response.data.productDetails.items.map(item => {
|
|
231
230
|
return {
|
|
232
231
|
...item,
|
|
233
|
-
productName: item.product.name,
|
|
234
232
|
productId: item.product.id,
|
|
235
233
|
sku: item.product.sku,
|
|
236
234
|
brand: item.product.brand,
|
|
@@ -242,13 +240,7 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
|
|
|
242
240
|
}
|
|
243
241
|
}
|
|
244
242
|
|
|
245
|
-
|
|
246
|
-
if (this.selectMultipleProducts) return
|
|
247
|
-
this.dispatchEvent(new CustomEvent('selected', { detail: record }))
|
|
248
|
-
history.back()
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
selectProduct(record) {
|
|
243
|
+
selectProduct() {
|
|
252
244
|
if (this.selectMultipleProducts !== true) {
|
|
253
245
|
const selectedProduct = this.productGrist.selected[0]
|
|
254
246
|
if (selectedProduct) {
|
|
@@ -166,7 +166,6 @@ class CreateCycleCount extends localize(i18next)(PageView) {
|
|
|
166
166
|
descriptionField: 'productName',
|
|
167
167
|
select: [
|
|
168
168
|
{ name: 'productId', hidden: true },
|
|
169
|
-
{ name: 'productDetailId', hidden: true },
|
|
170
169
|
{ name: 'remainUomValue', hidden: true },
|
|
171
170
|
{ name: 'uom', hidden: true },
|
|
172
171
|
{ name: 'batchId', header: i18next.t('field.batch_id') },
|
|
@@ -554,7 +553,9 @@ class CreateCycleCount extends localize(i18next)(PageView) {
|
|
|
554
553
|
return {
|
|
555
554
|
batchId: itm.batchId,
|
|
556
555
|
batchIdRef: itm.batchIdRef,
|
|
557
|
-
|
|
556
|
+
packingSize: itm.packingSize,
|
|
557
|
+
packingType: itm.packingType,
|
|
558
|
+
productId: itm.productId
|
|
558
559
|
}
|
|
559
560
|
}) || []
|
|
560
561
|
|
|
@@ -543,8 +543,7 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
543
543
|
let returnObj = {
|
|
544
544
|
...record,
|
|
545
545
|
...record.product,
|
|
546
|
-
product: { ...record.product, id: record.product
|
|
547
|
-
productDetail: { id: record.productDetail?.id || record.product.productDetailId },
|
|
546
|
+
product: { ...record.product, id: record.product.id || record.product.productId },
|
|
548
547
|
name: record.name ? record.name : idx,
|
|
549
548
|
releaseQty: record.releaseQty < 0 ? 0 : record.releaseQty,
|
|
550
549
|
id: record.id
|
|
@@ -598,7 +597,6 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
598
597
|
select: [
|
|
599
598
|
{ name: 'id', hidden: true },
|
|
600
599
|
{ name: 'productId', hidden: true },
|
|
601
|
-
{ name: 'productDetailId', hidden: true },
|
|
602
600
|
{ name: 'remainUomValue', hidden: true },
|
|
603
601
|
{
|
|
604
602
|
name: 'groupType',
|
|
@@ -818,9 +816,6 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
818
816
|
sku
|
|
819
817
|
description
|
|
820
818
|
}
|
|
821
|
-
productDetail {
|
|
822
|
-
id
|
|
823
|
-
}
|
|
824
819
|
packingType
|
|
825
820
|
packingSize
|
|
826
821
|
uomValue
|
|
@@ -1047,7 +1042,6 @@ class DraftReleaseGoodDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
1047
1042
|
id: record.id ? record.id.toString() : null,
|
|
1048
1043
|
name: record.name ? record.name.toString() : null,
|
|
1049
1044
|
product: { id: record.product.id },
|
|
1050
|
-
productDetail: { id: record.productDetail.id },
|
|
1051
1045
|
packingType: record.packingType,
|
|
1052
1046
|
uomValue: record?.uomValue ? record.uomValue : 0,
|
|
1053
1047
|
uom: record.uom,
|
|
@@ -1265,7 +1265,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
1265
1265
|
imex: { header: i18next.t('field.inventory_list'), key: 'productName', width: 50, type: 'string' },
|
|
1266
1266
|
handlers: {
|
|
1267
1267
|
click: (columns, data, column, record, rowIndex) => {
|
|
1268
|
-
this._openBulkProductSelection('product')
|
|
1268
|
+
this._openBulkProductSelection('product', rowIndex)
|
|
1269
1269
|
}
|
|
1270
1270
|
},
|
|
1271
1271
|
width: 350
|
|
@@ -1377,7 +1377,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
1377
1377
|
imex: { header: i18next.t('field.inventory_list'), key: 'productName', width: 50, type: 'string' },
|
|
1378
1378
|
handlers: {
|
|
1379
1379
|
click: (columns, data, column, record, rowIndex) => {
|
|
1380
|
-
this._openBulkProductSelection('pallet')
|
|
1380
|
+
this._openBulkProductSelection('pallet', rowIndex)
|
|
1381
1381
|
}
|
|
1382
1382
|
},
|
|
1383
1383
|
width: 350
|
|
@@ -1554,9 +1554,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
1554
1554
|
product: {
|
|
1555
1555
|
id: record?.inventory?.productId,
|
|
1556
1556
|
name: record?.inventory?.productName
|
|
1557
|
-
},
|
|
1558
|
-
productDetail: {
|
|
1559
|
-
id: record?.inventory?.productDetailId
|
|
1560
1557
|
}
|
|
1561
1558
|
}
|
|
1562
1559
|
}
|
|
@@ -1789,7 +1786,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
1789
1786
|
bundleId
|
|
1790
1787
|
bundleQty
|
|
1791
1788
|
productId
|
|
1792
|
-
productDetailId
|
|
1793
1789
|
productSku
|
|
1794
1790
|
productName
|
|
1795
1791
|
productDescription
|
|
@@ -2064,7 +2060,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2064
2060
|
if (!this.vasGrist.dirtyData.records.every(record => record.ready)) throw new Error('there_is_not_ready_vas')
|
|
2065
2061
|
}
|
|
2066
2062
|
|
|
2067
|
-
_openBulkProductSelection(type) {
|
|
2063
|
+
_openBulkProductSelection(type, rowIndex) {
|
|
2068
2064
|
if (this._bizplaceId) {
|
|
2069
2065
|
openPopup(
|
|
2070
2066
|
html`
|
|
@@ -2079,9 +2075,22 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2079
2075
|
for (let i = 0; i < e.detail.multipleProducts.length; i++) {
|
|
2080
2076
|
newRecords.push(e.detail.multipleProducts[i])
|
|
2081
2077
|
}
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2078
|
+
|
|
2079
|
+
if (newRecords.length > 1) {
|
|
2080
|
+
this.inventoryData = {
|
|
2081
|
+
...this.inventoryData,
|
|
2082
|
+
records: [...this.inventoryGrist.dirtyData.records, ...newRecords]
|
|
2083
|
+
}
|
|
2084
|
+
} else {
|
|
2085
|
+
// update existing inventory data records
|
|
2086
|
+
this.inventoryGrist.dirtyData.records.splice(rowIndex, 1, {
|
|
2087
|
+
...this.inventoryGrist.dirtyData.records[rowIndex],
|
|
2088
|
+
...newRecords[0]
|
|
2089
|
+
})
|
|
2090
|
+
this.inventoryData = {
|
|
2091
|
+
...this.inventoryData,
|
|
2092
|
+
records: [...this.inventoryGrist.dirtyData.records]
|
|
2093
|
+
}
|
|
2085
2094
|
}
|
|
2086
2095
|
}}"
|
|
2087
2096
|
></select-inventory-popup>
|
|
@@ -2107,7 +2116,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2107
2116
|
packingType: record?.inventory?.packingType,
|
|
2108
2117
|
packingSize: record?.inventory?.packingSize,
|
|
2109
2118
|
productId: record?.inventory?.productId,
|
|
2110
|
-
productDetailId: record?.inventory?.productDetailId,
|
|
2111
2119
|
groupType: record?.inventory?.groupType,
|
|
2112
2120
|
releaseQty: record.releaseQty || 0,
|
|
2113
2121
|
releaseUomValue: record.releaseUomValue || 0
|
|
@@ -2282,7 +2290,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2282
2290
|
bundleReleaseDetail = bundleReleaseDetail.records.map(item => {
|
|
2283
2291
|
return {
|
|
2284
2292
|
product: { id: item.productId, name: item.productName },
|
|
2285
|
-
productDetail: { id: item.productDetailId },
|
|
2286
2293
|
batchId: item.batchId,
|
|
2287
2294
|
packingType: item.packingType,
|
|
2288
2295
|
packingSize: item.packingSize,
|
|
@@ -2319,17 +2326,11 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2319
2326
|
id: record.inventory.productId,
|
|
2320
2327
|
name: record.inventory.productName
|
|
2321
2328
|
}
|
|
2322
|
-
newRecord.productDetail = {
|
|
2323
|
-
id: record.inventory.productDetailId
|
|
2324
|
-
}
|
|
2325
2329
|
} else {
|
|
2326
2330
|
newRecord.product = {
|
|
2327
2331
|
id: record.inventory.productId || record.inventory.product.id,
|
|
2328
2332
|
name: record.inventory.productName || record.inventory.product.name
|
|
2329
2333
|
}
|
|
2330
|
-
newRecord.productDetail = {
|
|
2331
|
-
id: record.inventory.productDetailId || record.inventory.productDetail.id
|
|
2332
|
-
}
|
|
2333
2334
|
newRecord.inventory = { id: record.id }
|
|
2334
2335
|
}
|
|
2335
2336
|
|
|
@@ -2624,10 +2625,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2624
2625
|
name
|
|
2625
2626
|
description
|
|
2626
2627
|
}
|
|
2627
|
-
productDetail {
|
|
2628
|
-
id
|
|
2629
|
-
name
|
|
2630
|
-
}
|
|
2631
2628
|
}
|
|
2632
2629
|
}
|
|
2633
2630
|
}
|
|
@@ -2647,7 +2644,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2647
2644
|
op.inventory = {
|
|
2648
2645
|
batchId: op.batchId,
|
|
2649
2646
|
productId: op.product.id,
|
|
2650
|
-
productDetailId: op.productDetail.id,
|
|
2651
2647
|
product: op.product,
|
|
2652
2648
|
productName: op.product.name,
|
|
2653
2649
|
palletId: i18next.t('label.cross_docking'),
|
|
@@ -2732,7 +2728,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2732
2728
|
batchId
|
|
2733
2729
|
batchIdRef
|
|
2734
2730
|
productId
|
|
2735
|
-
productDetailId
|
|
2736
2731
|
productSKU
|
|
2737
2732
|
productName
|
|
2738
2733
|
remainQty
|
|
@@ -2749,7 +2744,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2749
2744
|
batchId
|
|
2750
2745
|
batchIdRef
|
|
2751
2746
|
productId
|
|
2752
|
-
productDetailId
|
|
2753
2747
|
productSKU
|
|
2754
2748
|
productName
|
|
2755
2749
|
remainQty
|
|
@@ -2764,10 +2758,6 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2764
2758
|
name
|
|
2765
2759
|
sku
|
|
2766
2760
|
}
|
|
2767
|
-
productDetail {
|
|
2768
|
-
id
|
|
2769
|
-
name
|
|
2770
|
-
}
|
|
2771
2761
|
}
|
|
2772
2762
|
}
|
|
2773
2763
|
`,
|
|
@@ -356,7 +356,6 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
|
|
|
356
356
|
{ name: 'palletId', header: i18next.t('field.lot_id') },
|
|
357
357
|
{ name: 'cartonId', header: i18next.t('field.carton_id') },
|
|
358
358
|
{ name: 'product', type: 'object', queryName: 'products' },
|
|
359
|
-
{ name: 'productDetail', type: 'object', queryName: 'products', hidden: true },
|
|
360
359
|
{ name: 'batchId', header: i18next.t('field.batch_id') },
|
|
361
360
|
{
|
|
362
361
|
name: 'location',
|
|
@@ -847,7 +846,6 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
|
|
|
847
846
|
} else {
|
|
848
847
|
newRecord.product = { id: record.inventory.product.id, name: record.inventory.product.name }
|
|
849
848
|
newRecord.inventory = { id: record.id }
|
|
850
|
-
newRecord.productDetail = { id: record.inventory.productDetail.id }
|
|
851
849
|
}
|
|
852
850
|
|
|
853
851
|
return newRecord
|
|
@@ -867,14 +865,13 @@ export class ReleaseExtraProductPopup extends localize(i18next)(LitElement) {
|
|
|
867
865
|
status: ORDER_INVENTORY_STATUS.PENDING.value
|
|
868
866
|
}
|
|
869
867
|
|
|
870
|
-
if (record.isCrossDocking)
|
|
868
|
+
if (record.isCrossDocking) newRecord.crossDocking = true
|
|
871
869
|
|
|
872
870
|
if (this._pickingStd === PICKING_STANDARD.SELECT_BY_PRODUCT.value) {
|
|
873
871
|
existRecord.product = { id: record.inventory.productId, name: record.inventory.productName }
|
|
874
872
|
} else {
|
|
875
873
|
existRecord.product = { id: record.inventory.product.id, name: record.inventory.product.name }
|
|
876
874
|
existRecord.inventory = { id: record.id }
|
|
877
|
-
existRecord.productDetail = { id: record.inventory.productDetail.id }
|
|
878
875
|
}
|
|
879
876
|
|
|
880
877
|
return existRecord
|
|
@@ -1266,9 +1266,6 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1266
1266
|
name
|
|
1267
1267
|
description
|
|
1268
1268
|
}
|
|
1269
|
-
productDetail {
|
|
1270
|
-
id
|
|
1271
|
-
}
|
|
1272
1269
|
productName
|
|
1273
1270
|
packingType
|
|
1274
1271
|
packingSize
|
|
@@ -1355,7 +1352,6 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1355
1352
|
name: inventoryInfo.name,
|
|
1356
1353
|
palletId: inventoryInfo.palletId,
|
|
1357
1354
|
product: inventoryInfo.product,
|
|
1358
|
-
productDetail: inventoryInfo.productDetail,
|
|
1359
1355
|
batchId: inventoryInfo.batchId,
|
|
1360
1356
|
batchIdRef: inventoryInfo.batchIdRef,
|
|
1361
1357
|
location: inventoryInfo.location,
|
|
@@ -1622,7 +1618,7 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1622
1618
|
try {
|
|
1623
1619
|
const response = await client.mutate({
|
|
1624
1620
|
mutation: gql`
|
|
1625
|
-
mutation generateReleaseGoodWorksheet($releaseGoodNo: String!, $currentStatus: String) {
|
|
1621
|
+
mutation generateReleaseGoodWorksheet($releaseGoodNo: String!, $currentStatus: String) {
|
|
1626
1622
|
generateReleaseGoodWorksheet(releaseGoodNo: $releaseGoodNo, currentStatus: $currentStatus) {
|
|
1627
1623
|
pickingWorksheet {
|
|
1628
1624
|
name
|
|
@@ -502,9 +502,6 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
502
502
|
description
|
|
503
503
|
sku
|
|
504
504
|
}
|
|
505
|
-
productDetail {
|
|
506
|
-
id
|
|
507
|
-
}
|
|
508
505
|
releaseGood {
|
|
509
506
|
id
|
|
510
507
|
name
|
|
@@ -1028,7 +1025,6 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
1028
1025
|
$worksheetNo: String!
|
|
1029
1026
|
$batchId: String!
|
|
1030
1027
|
$productId: String!
|
|
1031
|
-
$productDetailId: String!
|
|
1032
1028
|
$packingType: String!
|
|
1033
1029
|
$packingSize: Float!
|
|
1034
1030
|
$orderProductId: String!
|
|
@@ -1038,7 +1034,6 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
1038
1034
|
worksheetNo: $worksheetNo
|
|
1039
1035
|
batchId: $batchId
|
|
1040
1036
|
productId: $productId
|
|
1041
|
-
productDetailId: $productDetailId
|
|
1042
1037
|
packingType: $packingType
|
|
1043
1038
|
packingSize: $packingSize
|
|
1044
1039
|
orderProductId: $orderProductId
|
|
@@ -1050,7 +1045,6 @@ class InventoryReassignPopup extends localize(i18next)(LitElement) {
|
|
|
1050
1045
|
worksheetNo: this.worksheetNo,
|
|
1051
1046
|
batchId: this._selectedOrderProduct?.batchId,
|
|
1052
1047
|
productId: this._selectedOrderProduct?.product?.id,
|
|
1053
|
-
productDetailId: this._selectedOrderProduct?.productDetail?.id,
|
|
1054
1048
|
packingType: this._selectedOrderProduct?.packingType,
|
|
1055
1049
|
packingSize: this._selectedOrderProduct?.packingSize,
|
|
1056
1050
|
orderProductId: this._selectedOrderProduct?.id,
|
|
@@ -704,9 +704,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
704
704
|
description
|
|
705
705
|
isRequireSerialNumberScanningOutbound
|
|
706
706
|
}
|
|
707
|
-
productDetail {
|
|
708
|
-
id
|
|
709
|
-
}
|
|
710
707
|
}
|
|
711
708
|
}
|
|
712
709
|
}
|
|
@@ -847,9 +844,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
847
844
|
description
|
|
848
845
|
sku
|
|
849
846
|
}
|
|
850
|
-
productDetail {
|
|
851
|
-
id
|
|
852
|
-
}
|
|
853
847
|
}
|
|
854
848
|
}
|
|
855
849
|
}
|
|
@@ -952,7 +946,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
952
946
|
}
|
|
953
947
|
record.locationName = record?.location?.name
|
|
954
948
|
record.product = record?.relatedOrderInv && record?.relatedOrderInv?.product
|
|
955
|
-
record.productDetail = record?.relatedOrderInv.productDetail
|
|
956
949
|
|
|
957
950
|
if (this._crossDocking) {
|
|
958
951
|
record.batchId = record.relatedOrderInv.batchId
|
|
@@ -1401,7 +1394,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1401
1394
|
batchId: this._selectedOrderInventory.batchId,
|
|
1402
1395
|
packingType: this._selectedOrderInventory.packingType,
|
|
1403
1396
|
packingSize: this._selectedOrderInventory.packingSize,
|
|
1404
|
-
|
|
1397
|
+
product: { id: this._selectedOrderInventory.product.id }
|
|
1405
1398
|
},
|
|
1406
1399
|
binLocationName:
|
|
1407
1400
|
this._hasBinPicking && (!this.toteNo || this.tote == '') ? this.binLocationInput.value : null,
|
|
@@ -1862,9 +1855,6 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1862
1855
|
name
|
|
1863
1856
|
description
|
|
1864
1857
|
}
|
|
1865
|
-
productDetail {
|
|
1866
|
-
id
|
|
1867
|
-
}
|
|
1868
1858
|
}
|
|
1869
1859
|
}
|
|
1870
1860
|
}
|
|
@@ -29,7 +29,7 @@ exports.addReleaseGoodProducts = {
|
|
|
29
29
|
curOrderInv.domain = domain;
|
|
30
30
|
curOrderInv.bizplace = bizplace;
|
|
31
31
|
curOrderInv.releaseGood = releaseGood;
|
|
32
|
-
curOrderInv.
|
|
32
|
+
curOrderInv.product = await tx.getRepository(product_base_1.Product).findOne(oi.product.id);
|
|
33
33
|
let existingOrderInv;
|
|
34
34
|
if ((_a = curOrderInv === null || curOrderInv === void 0 ? void 0 : curOrderInv.inventory) === null || _a === void 0 ? void 0 : _a.id) {
|
|
35
35
|
const foundInv = await tx.getRepository(warehouse_base_1.Inventory).findOne(curOrderInv.inventory.id);
|
|
@@ -37,8 +37,9 @@ exports.addReleaseGoodProducts = {
|
|
|
37
37
|
existingOrderInv = await tx.getRepository(sales_base_1.OrderInventory).findOne({
|
|
38
38
|
where: {
|
|
39
39
|
releaseGood,
|
|
40
|
-
|
|
40
|
+
product: curOrderInv.product,
|
|
41
41
|
batchId: curOrderInv.batchId,
|
|
42
|
+
packingType: curOrderInv.packingType,
|
|
42
43
|
inventory: foundInv
|
|
43
44
|
}
|
|
44
45
|
});
|
|
@@ -131,6 +132,7 @@ exports.addReleaseGoodProducts = {
|
|
|
131
132
|
newOrderInv.status = pickingWorksheet ? sales_base_1.ORDER_INVENTORY_STATUS.PICKING : sales_base_1.ORDER_INVENTORY_STATUS.PENDING;
|
|
132
133
|
newOrderInv.name = sales_base_1.OrderNoGenerator.orderInventory();
|
|
133
134
|
newOrderInv.releaseGood = releaseGood;
|
|
135
|
+
newOrderInv.product = await tx.getRepository(product_base_1.Product).findOne(oi.product.id);
|
|
134
136
|
newOrderInv.creator = user;
|
|
135
137
|
newOrderInv.updater = user;
|
|
136
138
|
let existingOrderInv;
|
|
@@ -139,7 +141,8 @@ exports.addReleaseGoodProducts = {
|
|
|
139
141
|
domain,
|
|
140
142
|
releaseGood,
|
|
141
143
|
batchId: oi.batchId,
|
|
142
|
-
|
|
144
|
+
packingType: oi.packingType,
|
|
145
|
+
product: newOrderInv.product
|
|
143
146
|
}
|
|
144
147
|
});
|
|
145
148
|
// check if it is release by inventory (has inventory value) or product
|
|
@@ -153,8 +156,9 @@ exports.addReleaseGoodProducts = {
|
|
|
153
156
|
existingOrderInv = await tx.getRepository(sales_base_1.OrderInventory).findOne({
|
|
154
157
|
where: {
|
|
155
158
|
releaseGood,
|
|
156
|
-
|
|
159
|
+
product: newOrderInv.product,
|
|
157
160
|
batchId: newOrderInv.batchId,
|
|
161
|
+
packingType: newOrderInv.packingType,
|
|
158
162
|
inventory: foundInv
|
|
159
163
|
}
|
|
160
164
|
});
|
|
@@ -173,8 +177,9 @@ exports.addReleaseGoodProducts = {
|
|
|
173
177
|
existingOrderInv = await tx.getRepository(sales_base_1.OrderInventory).findOne({
|
|
174
178
|
where: {
|
|
175
179
|
releaseGood,
|
|
176
|
-
|
|
177
|
-
batchId: newOrderInv.batchId
|
|
180
|
+
product: newOrderInv.product,
|
|
181
|
+
batchId: newOrderInv.batchId,
|
|
182
|
+
packingType: newOrderInv.packingType
|
|
178
183
|
}
|
|
179
184
|
});
|
|
180
185
|
}
|
|
@@ -214,7 +219,6 @@ exports.addReleaseGoodProducts = {
|
|
|
214
219
|
savedOrderInv.packingType = newOrderInv.packingType;
|
|
215
220
|
savedOrderInv.uom = newOrderInv.uom;
|
|
216
221
|
savedOrderInv.product = newOrderInv.product;
|
|
217
|
-
savedOrderInv.productDetail = newOrderInv.productDetail;
|
|
218
222
|
savedOrderInv.inventory = newOrderInv.inventory;
|
|
219
223
|
savedOrderInv.status = newOrderInv.status;
|
|
220
224
|
savedOrderInv.releaseGood = newOrderInv.releaseGood;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-release-good-products.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/other/add-release-good-products.ts"],"names":[],"mappings":";;;AAAA,qCAAg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F,IAAI,eAAe,GAAW,gBAAgB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE;oBAC5E,KAAK,IAAI,YAAY,CAAC,UAAU,CAAA;oBAChC,OAAO,KAAK,CAAA;gBACd,CAAC,EAAE,CAAC,CAAC,CAAA;gBAEL,IAAI,oBAAoB,GAAW,gBAAgB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE;oBACjF,KAAK,IAAI,YAAY,CAAC,eAAe,CAAA;oBACrC,OAAO,KAAK,CAAA;gBACd,CAAC,EAAE,CAAC,CAAC,CAAA;gBAEL,IAAI,YAAY,GAAQ;oBACtB,UAAU,EAAE,eAAe;oBAC3B,eAAe,EAAE,oBAAoB;iBACtC,CAAA;gBAED,IAAI,eAAe,IAAI,CAAC,EAAE;oBACxB,YAAY,CAAC,MAAM,GAAG,iCAAoB,CAAC,UAAU,CAAA;iBACtD;gBAED,MAAM,EAAE,CAAC,aAAa,CAAC,yBAAY,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;YAC1E,CAAC,CAAC,CACH,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
|
1
|
+
{"version":3,"file":"add-release-good-products.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/other/add-release-good-products.ts"],"names":[],"mappings":";;;AAAA,qCAAgD;AAIhD,+DAAsD;AACtD,2DAOmC;AAEnC,mEAA0D;AAC1D,mEAMuC;AAE1B,QAAA,sBAAsB,GAAG;IACpC,KAAK,CAAC,sBAAsB,CAAC,CAAM,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,EAAE,OAAY;;QACrG,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAsD,OAAO,CAAC,KAAK,CAAA;Y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,EAAE,YAAY,EAAE,EAAE;oBAC5E,KAAK,IAAI,YAAY,CAAC,UAAU,CAAA;oBAChC,OAAO,KAAK,CAAA;gBACd,CAAC,EAAE,CAAC,CAAC,CAAA;gBAEL,IAAI,oBAAoB,GAAW,gBAAgB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE;oBACjF,KAAK,IAAI,YAAY,CAAC,eAAe,CAAA;oBACrC,OAAO,KAAK,CAAA;gBACd,CAAC,EAAE,CAAC,CAAC,CAAA;gBAEL,IAAI,YAAY,GAAQ;oBACtB,UAAU,EAAE,eAAe;oBAC3B,eAAe,EAAE,oBAAoB;iBACtC,CAAA;gBAED,IAAI,eAAe,IAAI,CAAC,EAAE;oBACxB,YAAY,CAAC,MAAM,GAAG,iCAAoB,CAAC,UAAU,CAAA;iBACtD;gBAED,MAAM,EAAE,CAAC,aAAa,CAAC,yBAAY,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;YAC1E,CAAC,CAAC,CACH,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.3.79
|
|
3
|
+
"version": "4.3.79",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -63,60 +63,60 @@
|
|
|
63
63
|
"@operato/scene-tab": "^0.1.8",
|
|
64
64
|
"@operato/scene-table": "^0.1.8",
|
|
65
65
|
"@operato/scene-wheel-sorter": "^0.1.8",
|
|
66
|
-
"@things-factory/apptool-ui": "^4.3.
|
|
67
|
-
"@things-factory/attachment-ui": "^4.3.
|
|
68
|
-
"@things-factory/auth-ui": "^4.3.
|
|
69
|
-
"@things-factory/barcode-ui": "^4.3.
|
|
70
|
-
"@things-factory/biz-ui": "^4.3.
|
|
71
|
-
"@things-factory/board-service": "^4.3.
|
|
72
|
-
"@things-factory/board-ui": "^4.3.
|
|
73
|
-
"@things-factory/code-ui": "^4.3.
|
|
74
|
-
"@things-factory/context-ui": "^4.3.
|
|
75
|
-
"@things-factory/export-ui": "^4.3.
|
|
76
|
-
"@things-factory/export-ui-csv": "^4.3.
|
|
77
|
-
"@things-factory/export-ui-excel": "^4.3.
|
|
78
|
-
"@things-factory/fav-base": "^4.3.
|
|
79
|
-
"@things-factory/form-ui": "^4.3.
|
|
80
|
-
"@things-factory/geography": "^4.3.
|
|
81
|
-
"@things-factory/grist-ui": "^4.3.
|
|
82
|
-
"@things-factory/help": "^4.3.
|
|
83
|
-
"@things-factory/i18n-base": "^4.3.
|
|
84
|
-
"@things-factory/id-rule-base": "^4.3.
|
|
85
|
-
"@things-factory/import-ui": "^4.3.
|
|
86
|
-
"@things-factory/import-ui-excel": "^4.3.
|
|
87
|
-
"@things-factory/menu-ui": "^4.3.
|
|
88
|
-
"@things-factory/more-ui": "^4.3.
|
|
89
|
-
"@things-factory/notification": "^4.3.
|
|
90
|
-
"@things-factory/pdf": "^4.3.
|
|
91
|
-
"@things-factory/print-proxy-service": "^4.3.
|
|
92
|
-
"@things-factory/print-ui": "^4.3.
|
|
93
|
-
"@things-factory/product-base": "^4.3.
|
|
94
|
-
"@things-factory/resource-ui": "^4.3.
|
|
95
|
-
"@things-factory/sales-ui": "^4.3.79
|
|
96
|
-
"@things-factory/scene-data-transform": "^4.3.
|
|
97
|
-
"@things-factory/scene-excel": "^4.3.
|
|
98
|
-
"@things-factory/scene-firebase": "^4.3.
|
|
99
|
-
"@things-factory/scene-form": "^4.3.
|
|
100
|
-
"@things-factory/scene-google-map": "^4.3.
|
|
101
|
-
"@things-factory/scene-graphql": "^4.3.
|
|
102
|
-
"@things-factory/scene-label": "^4.3.
|
|
103
|
-
"@things-factory/scene-marker": "^4.3.
|
|
104
|
-
"@things-factory/scene-mqtt": "^4.3.
|
|
105
|
-
"@things-factory/scene-restful": "^4.3.
|
|
106
|
-
"@things-factory/scene-visualizer": "^4.3.
|
|
107
|
-
"@things-factory/setting-ui": "^4.3.
|
|
108
|
-
"@things-factory/system-ui": "^4.3.
|
|
109
|
-
"@things-factory/transport-base": "^4.3.
|
|
110
|
-
"@things-factory/tutorial-ui": "^4.3.
|
|
111
|
-
"@things-factory/warehouse-base": "^4.3.79
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.79
|
|
66
|
+
"@things-factory/apptool-ui": "^4.3.78",
|
|
67
|
+
"@things-factory/attachment-ui": "^4.3.78",
|
|
68
|
+
"@things-factory/auth-ui": "^4.3.78",
|
|
69
|
+
"@things-factory/barcode-ui": "^4.3.78",
|
|
70
|
+
"@things-factory/biz-ui": "^4.3.78",
|
|
71
|
+
"@things-factory/board-service": "^4.3.78",
|
|
72
|
+
"@things-factory/board-ui": "^4.3.78",
|
|
73
|
+
"@things-factory/code-ui": "^4.3.78",
|
|
74
|
+
"@things-factory/context-ui": "^4.3.78",
|
|
75
|
+
"@things-factory/export-ui": "^4.3.78",
|
|
76
|
+
"@things-factory/export-ui-csv": "^4.3.78",
|
|
77
|
+
"@things-factory/export-ui-excel": "^4.3.78",
|
|
78
|
+
"@things-factory/fav-base": "^4.3.78",
|
|
79
|
+
"@things-factory/form-ui": "^4.3.78",
|
|
80
|
+
"@things-factory/geography": "^4.3.78",
|
|
81
|
+
"@things-factory/grist-ui": "^4.3.78",
|
|
82
|
+
"@things-factory/help": "^4.3.78",
|
|
83
|
+
"@things-factory/i18n-base": "^4.3.78",
|
|
84
|
+
"@things-factory/id-rule-base": "^4.3.78",
|
|
85
|
+
"@things-factory/import-ui": "^4.3.78",
|
|
86
|
+
"@things-factory/import-ui-excel": "^4.3.78",
|
|
87
|
+
"@things-factory/menu-ui": "^4.3.78",
|
|
88
|
+
"@things-factory/more-ui": "^4.3.78",
|
|
89
|
+
"@things-factory/notification": "^4.3.78",
|
|
90
|
+
"@things-factory/pdf": "^4.3.74",
|
|
91
|
+
"@things-factory/print-proxy-service": "^4.3.78",
|
|
92
|
+
"@things-factory/print-ui": "^4.3.78",
|
|
93
|
+
"@things-factory/product-base": "^4.3.78",
|
|
94
|
+
"@things-factory/resource-ui": "^4.3.78",
|
|
95
|
+
"@things-factory/sales-ui": "^4.3.79",
|
|
96
|
+
"@things-factory/scene-data-transform": "^4.3.76",
|
|
97
|
+
"@things-factory/scene-excel": "^4.3.76",
|
|
98
|
+
"@things-factory/scene-firebase": "^4.3.76",
|
|
99
|
+
"@things-factory/scene-form": "^4.3.76",
|
|
100
|
+
"@things-factory/scene-google-map": "^4.3.76",
|
|
101
|
+
"@things-factory/scene-graphql": "^4.3.76",
|
|
102
|
+
"@things-factory/scene-label": "^4.3.78",
|
|
103
|
+
"@things-factory/scene-marker": "^4.3.76",
|
|
104
|
+
"@things-factory/scene-mqtt": "^4.3.76",
|
|
105
|
+
"@things-factory/scene-restful": "^4.3.76",
|
|
106
|
+
"@things-factory/scene-visualizer": "^4.3.76",
|
|
107
|
+
"@things-factory/setting-ui": "^4.3.78",
|
|
108
|
+
"@things-factory/system-ui": "^4.3.78",
|
|
109
|
+
"@things-factory/transport-base": "^4.3.78",
|
|
110
|
+
"@things-factory/tutorial-ui": "^4.3.78",
|
|
111
|
+
"@things-factory/warehouse-base": "^4.3.79",
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.79"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
|
-
"@things-factory/builder": "^4.3.
|
|
115
|
+
"@things-factory/builder": "^4.3.74",
|
|
116
116
|
"cypress": "^9.4.1",
|
|
117
117
|
"cypress-file-upload": "^5.0.8",
|
|
118
118
|
"cypress-localstorage-commands": "^1.6.1",
|
|
119
119
|
"eslint-plugin-cypress": "^2.12.1"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "e1d319473973c800e4605cc6c47836b9a328c71b"
|
|
122
122
|
}
|
|
@@ -2,7 +2,7 @@ import { EntityManager, In, Not } from 'typeorm'
|
|
|
2
2
|
|
|
3
3
|
import { User } from '@things-factory/auth-base'
|
|
4
4
|
import { Bizplace } from '@things-factory/biz-base'
|
|
5
|
-
import { Product
|
|
5
|
+
import { Product } from '@things-factory/product-base'
|
|
6
6
|
import {
|
|
7
7
|
ORDER_INVENTORY_STATUS,
|
|
8
8
|
ORDER_PRODUCT_STATUS,
|
|
@@ -48,7 +48,7 @@ export const addReleaseGoodProducts = {
|
|
|
48
48
|
curOrderInv.domain = domain
|
|
49
49
|
curOrderInv.bizplace = bizplace
|
|
50
50
|
curOrderInv.releaseGood = releaseGood
|
|
51
|
-
curOrderInv.
|
|
51
|
+
curOrderInv.product = await tx.getRepository(Product).findOne(oi.product.id)
|
|
52
52
|
|
|
53
53
|
let existingOrderInv: OrderInventory
|
|
54
54
|
|
|
@@ -59,8 +59,9 @@ export const addReleaseGoodProducts = {
|
|
|
59
59
|
existingOrderInv = await tx.getRepository(OrderInventory).findOne({
|
|
60
60
|
where: {
|
|
61
61
|
releaseGood,
|
|
62
|
-
|
|
62
|
+
product: curOrderInv.product,
|
|
63
63
|
batchId: curOrderInv.batchId,
|
|
64
|
+
packingType: curOrderInv.packingType,
|
|
64
65
|
inventory: foundInv
|
|
65
66
|
}
|
|
66
67
|
})
|
|
@@ -203,6 +204,7 @@ export const addReleaseGoodProducts = {
|
|
|
203
204
|
newOrderInv.status = pickingWorksheet ? ORDER_INVENTORY_STATUS.PICKING : ORDER_INVENTORY_STATUS.PENDING
|
|
204
205
|
newOrderInv.name = OrderNoGenerator.orderInventory()
|
|
205
206
|
newOrderInv.releaseGood = releaseGood
|
|
207
|
+
newOrderInv.product = await tx.getRepository(Product).findOne(oi.product.id)
|
|
206
208
|
newOrderInv.creator = user
|
|
207
209
|
newOrderInv.updater = user
|
|
208
210
|
|
|
@@ -213,7 +215,8 @@ export const addReleaseGoodProducts = {
|
|
|
213
215
|
domain,
|
|
214
216
|
releaseGood,
|
|
215
217
|
batchId: oi.batchId,
|
|
216
|
-
|
|
218
|
+
packingType: oi.packingType,
|
|
219
|
+
product: newOrderInv.product
|
|
217
220
|
}
|
|
218
221
|
})
|
|
219
222
|
|
|
@@ -229,8 +232,9 @@ export const addReleaseGoodProducts = {
|
|
|
229
232
|
existingOrderInv = await tx.getRepository(OrderInventory).findOne({
|
|
230
233
|
where: {
|
|
231
234
|
releaseGood,
|
|
232
|
-
|
|
235
|
+
product: newOrderInv.product,
|
|
233
236
|
batchId: newOrderInv.batchId,
|
|
237
|
+
packingType: newOrderInv.packingType,
|
|
234
238
|
inventory: foundInv
|
|
235
239
|
}
|
|
236
240
|
})
|
|
@@ -259,8 +263,9 @@ export const addReleaseGoodProducts = {
|
|
|
259
263
|
existingOrderInv = await tx.getRepository(OrderInventory).findOne({
|
|
260
264
|
where: {
|
|
261
265
|
releaseGood,
|
|
262
|
-
|
|
263
|
-
batchId: newOrderInv.batchId
|
|
266
|
+
product: newOrderInv.product,
|
|
267
|
+
batchId: newOrderInv.batchId,
|
|
268
|
+
packingType: newOrderInv.packingType
|
|
264
269
|
}
|
|
265
270
|
})
|
|
266
271
|
}
|
|
@@ -320,7 +325,6 @@ export const addReleaseGoodProducts = {
|
|
|
320
325
|
savedOrderInv.packingType = newOrderInv.packingType
|
|
321
326
|
savedOrderInv.uom = newOrderInv.uom
|
|
322
327
|
savedOrderInv.product = newOrderInv.product
|
|
323
|
-
savedOrderInv.productDetail = newOrderInv.productDetail
|
|
324
328
|
savedOrderInv.inventory = newOrderInv.inventory
|
|
325
329
|
savedOrderInv.status = newOrderInv.status
|
|
326
330
|
savedOrderInv.releaseGood = newOrderInv.releaseGood
|
package/translations/en.json
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"button.move_to_x": "move to {state.x}",
|
|
63
63
|
"button.move": "move",
|
|
64
64
|
"button.my_worksheet_list": "my worksheet list",
|
|
65
|
-
"button.next_order":
|
|
65
|
+
"button.next_order":"next order",
|
|
66
66
|
"button.okay": "okay",
|
|
67
67
|
"button.order_remark": "order remark",
|
|
68
68
|
"button.order_sorted": "order sorted",
|
|
@@ -1196,7 +1196,7 @@
|
|
|
1196
1196
|
"text.do_you_want_to_mark_it_as_missing": "do you want to mark it as missing?",
|
|
1197
1197
|
"text.do_you_want_to_print": "do you want to print",
|
|
1198
1198
|
"text.do_you_want_to_proceed": "do you want to proceed",
|
|
1199
|
-
"text.do_you_wish_to_proceed_the_selected_products_will_be_removed": "
|
|
1199
|
+
"text.do_you_wish_to_proceed_the_selected_products_will_be_removed": "do you wish to proceed? The selected product will be removed.",
|
|
1200
1200
|
"text.document_has_been_generated": "document has been generated",
|
|
1201
1201
|
"text.draft_order_form_invalid": "draft order form invalid",
|
|
1202
1202
|
"text.draft_purchase_order": "draft purchase order",
|
package/translations/ko.json
CHANGED
|
@@ -1208,7 +1208,7 @@
|
|
|
1208
1208
|
"text.dispatch_delivery_order": "운송주문 시작",
|
|
1209
1209
|
"text.dispatch_successful": "dispatch successful",
|
|
1210
1210
|
"text.do_you_want_to_complete": "완료 하시겠습니까?",
|
|
1211
|
-
"text.do_you_wish_to_proceed_the_selected_products_will_be_removed": "
|
|
1211
|
+
"text.do_you_wish_to_proceed_the_selected_products_will_be_removed": "do you wish to proceed? The selected product will be removed.",
|
|
1212
1212
|
"text.do_you_want_to_print": "인쇄 하시겠습니까?",
|
|
1213
1213
|
"text.do_you_want_to_proceed": "[ko] do you want to proceed",
|
|
1214
1214
|
"text.document_has_been_generated": "[ko] document has been generated",
|
|
@@ -2019,7 +2019,7 @@
|
|
|
2019
2019
|
"vas_order_created": "부가서비스주문 생성됨",
|
|
2020
2020
|
"title.order(s)_is_at_pending_cancelled_or_cancelled": "[ko] Order(s) is at Pending Cancelled or Cancelled",
|
|
2021
2021
|
"text.do_you_want_to_ignore": "[ko] do you want to ignore?",
|
|
2022
|
-
"button.next_order":
|
|
2022
|
+
"button.next_order":"[ko]next order",
|
|
2023
2023
|
"button.ignore": "[ko] ignore",
|
|
2024
2024
|
"field.order_info": "[ko] order info",
|
|
2025
2025
|
"field.total_tracking_no": "[ko] total tracking no",
|
package/translations/ms.json
CHANGED
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"button.move_to_x": "move to {state.x}",
|
|
87
87
|
"button.move": "move",
|
|
88
88
|
"button.my_worksheet_list": "[ms] my worksheet list",
|
|
89
|
-
"button.next_order":
|
|
89
|
+
"button.next_order":"[ms]next order",
|
|
90
90
|
"button.okay": "okay",
|
|
91
91
|
"button.order_remark": "[ms] order remark",
|
|
92
92
|
"button.order_sorted": "[ms] order sorted",
|
|
@@ -1179,7 +1179,7 @@
|
|
|
1179
1179
|
"text.destination_is_not_selected": "destinasi tidak dipilih",
|
|
1180
1180
|
"text.dispatch_delivery_order": "hantar pesanan penghantaran",
|
|
1181
1181
|
"text.do_you_want_to_complete": "anda pasti untuk lengkapkan",
|
|
1182
|
-
"text.do_you_wish_to_proceed_the_selected_products_will_be_removed": "
|
|
1182
|
+
"text.do_you_wish_to_proceed_the_selected_products_will_be_removed": "do you wish to proceed? The selected product will be removed.",
|
|
1183
1183
|
"text.do_you_want_to_print": "adakah anda mahu catak",
|
|
1184
1184
|
"text.do_you_want_to_proceed": "[ms] do you want to proceed",
|
|
1185
1185
|
"text.document_has_been_generated": "[ms] document has been generated",
|
package/translations/zh.json
CHANGED
|
@@ -1146,7 +1146,7 @@
|
|
|
1146
1146
|
"text.destination_is_not_selected": "destination is not selected",
|
|
1147
1147
|
"text.dispatch_delivery_order": "dispatch delivery order",
|
|
1148
1148
|
"text.do_you_want_to_complete": "do you want to complete?",
|
|
1149
|
-
"text.do_you_wish_to_proceed_the_selected_products_will_be_removed": "
|
|
1149
|
+
"text.do_you_wish_to_proceed_the_selected_products_will_be_removed": "do you wish to proceed? The selected product will be removed.",
|
|
1150
1150
|
"text.export_form_is_invalid": "export form is invalid",
|
|
1151
1151
|
"text.do_you_want_to_print": "do you want to print",
|
|
1152
1152
|
"text.do_you_want_to_proceed": "[zh] do you want to proceed",
|