@things-factory/operato-wms 4.3.647 → 4.3.649
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/inventory-check/cycle-count-recheck-popup.js +3 -15
- package/client/pages/inventory-check/cycle-count-worksheet-list.js +2 -1
- package/client/pages/inventory-check/inspecting-product.js +7 -7
- package/client/pages/inventory-check/relocate-inventory-popup.js +2 -2
- package/config.development.js +2 -2
- package/package.json +3 -3
|
@@ -379,32 +379,20 @@ class CycleCountRecheckPopup extends localize(i18next)(LitElement) {
|
|
|
379
379
|
|
|
380
380
|
let mutation
|
|
381
381
|
if (this.enableCartonLabel) {
|
|
382
|
-
variables.
|
|
383
|
-
variables.batchIds = this.grist.selected.map(record => record.batchId)
|
|
384
|
-
variables.productDetailIds = this.grist.selected.map(record => record.productDetail.id)
|
|
385
|
-
variables.locationNames = this.grist.selected.map(record => record.location.name)
|
|
386
|
-
variables.countNos = this.grist.selected.map(record => record.countNo)
|
|
382
|
+
variables.inventoryCheckItemIds = this.grist.selected.map(record => record.id)
|
|
387
383
|
|
|
388
384
|
mutation = gql`
|
|
389
385
|
mutation generateCycleCountWorksheetCarton(
|
|
390
386
|
$executionDate: String!
|
|
391
387
|
$customerId: String!
|
|
392
388
|
$cycleCountNo: String
|
|
393
|
-
$
|
|
394
|
-
$batchIds: [String]
|
|
395
|
-
$productDetailIds: [String]
|
|
396
|
-
$locationNames: [String]
|
|
397
|
-
$countNos: [Int]
|
|
389
|
+
$inventoryCheckItemIds: [String]
|
|
398
390
|
) {
|
|
399
391
|
generateCycleCountWorksheetCarton(
|
|
400
392
|
executionDate: $executionDate
|
|
401
393
|
customerId: $customerId
|
|
402
394
|
cycleCountNo: $cycleCountNo
|
|
403
|
-
|
|
404
|
-
batchIds: $batchIds
|
|
405
|
-
productDetailIds: $productDetailIds
|
|
406
|
-
locationNames: $locationNames
|
|
407
|
-
countNos: $countNos
|
|
395
|
+
inventoryCheckItemIds: $inventoryCheckItemIds
|
|
408
396
|
) {
|
|
409
397
|
name
|
|
410
398
|
}
|
|
@@ -373,11 +373,12 @@ class CycleCountWorksheetList extends localize(i18next)(PageView) {
|
|
|
373
373
|
total: response.data.worksheets.total || 0,
|
|
374
374
|
records:
|
|
375
375
|
response.data.worksheets.items.map(item => {
|
|
376
|
+
const status = (item.status === ORDER_STATUS.DONE.value) ? ORDER_STATUS.DONE.value : item.inventoryCheck.status
|
|
376
377
|
return {
|
|
377
378
|
...item,
|
|
378
379
|
executionDate: item.inventoryCheck && item.inventoryCheck.executionDate,
|
|
379
380
|
status: item.status,
|
|
380
|
-
inventoryCheckStatus:
|
|
381
|
+
inventoryCheckStatus: status
|
|
381
382
|
}
|
|
382
383
|
}) || {}
|
|
383
384
|
}
|
|
@@ -438,12 +438,12 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
438
438
|
</label>
|
|
439
439
|
<br />
|
|
440
440
|
<span class="input-font" ?hidden=${this._editMode.inspectedBatchNo}>${
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
441
|
+
this._currentCard.inspectedBatchNo
|
|
442
|
+
? this._currentCard.inspectedBatchNo
|
|
443
|
+
: this._hideCCColumnSetting && !this._enableCartonLabel
|
|
444
|
+
? ''
|
|
445
|
+
: this._currentCard.originBatchNo
|
|
446
|
+
}
|
|
447
447
|
<mwc-icon-button
|
|
448
448
|
icon="edit"
|
|
449
449
|
align="end"
|
|
@@ -997,7 +997,7 @@ class InspectingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
997
997
|
formatMissingInventories(wsdInfos) {
|
|
998
998
|
return wsdInfos
|
|
999
999
|
.filter(wsdInfo => wsdInfo.relatedInvCheckItem.status === INVENTORY_CHECK_ITEM_STATUS.MISSING.value)
|
|
1000
|
-
.map(this.mapWorksheetDetails)
|
|
1000
|
+
.map(record => this.mapWorksheetDetails(record))
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
async submitInventoryCheck() {
|
|
@@ -126,7 +126,7 @@ class RelocateInventoryPopup extends localize(i18next)(LitElement) {
|
|
|
126
126
|
mutation relocateInventory(
|
|
127
127
|
$worksheetDetailName: String!
|
|
128
128
|
$inspectedBatchNo: String!
|
|
129
|
-
$inspectedQty:
|
|
129
|
+
$inspectedQty: Float!
|
|
130
130
|
$inspectedUomValue: Float!
|
|
131
131
|
$inspectedLocationName: String!
|
|
132
132
|
) {
|
|
@@ -156,7 +156,7 @@ class RelocateInventoryPopup extends localize(i18next)(LitElement) {
|
|
|
156
156
|
$batchId: String!
|
|
157
157
|
$locationId: String!
|
|
158
158
|
$inspectedBatchNo: String!
|
|
159
|
-
$inspectedQty:
|
|
159
|
+
$inspectedQty: Float!
|
|
160
160
|
$inspectedUomValue: Float!
|
|
161
161
|
$inspectedLocationName: String!
|
|
162
162
|
) {
|
package/config.development.js
CHANGED
|
@@ -45,10 +45,10 @@ module.exports = {
|
|
|
45
45
|
ormconfig: {
|
|
46
46
|
name: 'default',
|
|
47
47
|
type: 'postgres',
|
|
48
|
-
database: '
|
|
48
|
+
database: 'arif',
|
|
49
49
|
username: 'postgres',
|
|
50
50
|
password: 'hatio',
|
|
51
|
-
host: '192.168.0.
|
|
51
|
+
host: '192.168.0.144',
|
|
52
52
|
port: 15432,
|
|
53
53
|
synchronize: false,
|
|
54
54
|
logging: true
|
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.649",
|
|
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.631",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.591",
|
|
110
110
|
"@things-factory/warehouse-base": "^4.3.647",
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.649"
|
|
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": "21092ed78f580edbad1e529418275891fc79beb6"
|
|
121
121
|
}
|