@things-factory/operato-wms 4.3.597 → 4.3.599
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.
|
@@ -725,7 +725,12 @@ class B2CReleaseOrderDetail extends connect(store)(localize(i18next)(PageView))
|
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
let addProductStatus = [ORDER_STATUS.PICKING.value, ORDER_STATUS.LOADING.value]
|
|
728
|
-
if (
|
|
728
|
+
if (
|
|
729
|
+
addProductStatus.indexOf(this._status) >= 0 &&
|
|
730
|
+
this._allowROAddProductSetting &&
|
|
731
|
+
!this._isInBatchPicking &&
|
|
732
|
+
this.roType !== 'b2c'
|
|
733
|
+
) {
|
|
729
734
|
actions.push({
|
|
730
735
|
title: i18next.t('button.edit'),
|
|
731
736
|
action: this._openExtraProductPopup.bind(this),
|
|
@@ -741,6 +741,7 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
741
741
|
orderProducts {
|
|
742
742
|
id
|
|
743
743
|
product {
|
|
744
|
+
id
|
|
744
745
|
sku
|
|
745
746
|
name
|
|
746
747
|
}
|
|
@@ -986,8 +987,13 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
986
987
|
? wsd.targetInventory.releaseQty
|
|
987
988
|
: wsd.targetInventory.pickedQty,
|
|
988
989
|
releaseUomValue: wsd.targetInventory.releaseUomValue,
|
|
989
|
-
releaseUomValueWithUom:
|
|
990
|
-
|
|
990
|
+
releaseUomValueWithUom:
|
|
991
|
+
orderVass.length === 0 || (orderVass.length > 0 && worksheet.status !== 'DONE')
|
|
992
|
+
? `${wsd.targetInventory.releaseUomValue.toFixed(2)} ${wsd.targetInventory.inventory.uom}`
|
|
993
|
+
: (releaseGood.orderProducts.find(op => op.product.id === wsd.targetInventory.product.id)
|
|
994
|
+
? `${releaseGood.orderProducts.find(op => op.product.id === wsd.targetInventory.product.id).releaseUomValue.toFixed(2)}
|
|
995
|
+
${wsd.targetInventory.inventory.uom}`
|
|
996
|
+
: "Unable To Find Matching Product Id"),
|
|
991
997
|
availableQty:
|
|
992
998
|
orderVass.length == 0 || (orderVass.length > 0 && worksheet.status !== 'DONE')
|
|
993
999
|
? wsd.targetInventory.inventory.qty -
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.599",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@things-factory/transport-base": "^4.3.595",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.591",
|
|
110
110
|
"@things-factory/warehouse-base": "^4.3.595",
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.599"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@things-factory/builder": "^4.3.591",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"cypress-localstorage-commands": "^1.6.1",
|
|
118
118
|
"eslint-plugin-cypress": "^2.12.1"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "f31dbc4a47e9c1b0d74f66d94a25460077ee67ea"
|
|
121
121
|
}
|