@things-factory/operato-wms 4.3.78 → 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.
|
@@ -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 => {
|
|
@@ -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
|
|
@@ -2060,7 +2060,7 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2060
2060
|
if (!this.vasGrist.dirtyData.records.every(record => record.ready)) throw new Error('there_is_not_ready_vas')
|
|
2061
2061
|
}
|
|
2062
2062
|
|
|
2063
|
-
_openBulkProductSelection(type) {
|
|
2063
|
+
_openBulkProductSelection(type, rowIndex) {
|
|
2064
2064
|
if (this._bizplaceId) {
|
|
2065
2065
|
openPopup(
|
|
2066
2066
|
html`
|
|
@@ -2075,9 +2075,22 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
2075
2075
|
for (let i = 0; i < e.detail.multipleProducts.length; i++) {
|
|
2076
2076
|
newRecords.push(e.detail.multipleProducts[i])
|
|
2077
2077
|
}
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
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
|
+
}
|
|
2081
2094
|
}
|
|
2082
2095
|
}}"
|
|
2083
2096
|
></select-inventory-popup>
|
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.79",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@things-factory/print-ui": "^4.3.78",
|
|
93
93
|
"@things-factory/product-base": "^4.3.78",
|
|
94
94
|
"@things-factory/resource-ui": "^4.3.78",
|
|
95
|
-
"@things-factory/sales-ui": "^4.3.
|
|
95
|
+
"@things-factory/sales-ui": "^4.3.79",
|
|
96
96
|
"@things-factory/scene-data-transform": "^4.3.76",
|
|
97
97
|
"@things-factory/scene-excel": "^4.3.76",
|
|
98
98
|
"@things-factory/scene-firebase": "^4.3.76",
|
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
"@things-factory/system-ui": "^4.3.78",
|
|
109
109
|
"@things-factory/transport-base": "^4.3.78",
|
|
110
110
|
"@things-factory/tutorial-ui": "^4.3.78",
|
|
111
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
111
|
+
"@things-factory/warehouse-base": "^4.3.79",
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.79"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@things-factory/builder": "^4.3.74",
|
|
@@ -118,5 +118,5 @@
|
|
|
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
|
}
|